views:

45

answers:

2

Why can't I browse deeper into the folder, I still have some folders there: alt text

A: 

The subfolders in users are often password-protected and can only be accessed by the owner of the user folder. If the folder you are trying to access is your own, then you may have a permissions problem and need to modify the folder settings in your OS.

Try navigating to the folder outside of SQL Manager, in Windows Explorer. If you still can't access the folder you may need to try logging on an administrator-level user and modify the folder permissions.

JYelton
It's unlikely that the user's current credentials have anything at all to do with the permissions at play here. The permissions of the appropriate instance service account would be what determines whether or not the file could be accessed by the server.
Adam Robinson
I definitely can access the folder outside of SQL Manager... How do I modify the permissions problem?
EquinoX
If you can access the folder outside of SQL Manager, then you have me stumped, because the application should have the same read/write permissions as your login. I was expecting the folder to prohibit access no matter how you tried to navigate to it, except logging in as a different account.
JYelton
+1  A: 

Your SQL Server service account likely does not have access to the folder you're attempting to browse. The ideal solution (from a security perspective) would be to move the file to another, non user-specific location. However, what you're trying to do can be done.

  1. Determine the SQL Server instance service account. To do this, view your computer's services and locate "SQL Server" or "SQL Server (instancename)". Double-click and select the "Log On" tab to determine the account being used.
  2. Starting with the user's folder, alter the security to grant read and browse permission to the user located in step 1. You'll need to do this for each folder in the path, starting with the the user (in other words, if it's in C:\Documents and Settings\user\Desktop, you'll have to do this on user and Desktop).
  3. Locate the specific file you wish to attach and grant read and write privileges to the same account.

To alter the permissions on a folder or file, right-click and select "Properties", then the "Security" tab. You can add additional permissions by clicking "Add..." and locating the user that you want to explicitly grant (allow) or deny permissions to.

Adam Robinson