SQL Server Management Studio Express 2012 - 无法访问文档文件夹

3

我正在尝试使用SQL Server Management Studio访问保存在我的文档文件夹中的Visual Studio数据库。当我将路径粘贴到“附加数据库”对话框中时,出现以下错误:

    TITLE: Locate Database Files - LAPTOP\SQLEXPRESS
------------------------------

C:\Users\Flaxbeard\Documents\Visual Studio 2012\Projects\Contacts\Contacts
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists.  

If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box.

如果我手动导航到C:\Users\Flaxbeard,右侧没有显示任何内容。我的问题是什么?

看起来像是权限错误,我不确定,但是你尝试从其他驱动器访问了吗?除了C:驱动器之外。将文件放在其他驱动器中尝试访问它。 - RajeshKdev
如果您右键单击 SSMS 并选择“以管理员身份运行”,会发生这种情况吗? - MarkD
RJK,如果我把它放在C盘,我可以选择它,但数据库会显示为只读,并保留在原始位置。 - Flaxbeard
请检查您的用户是否具有管理员权限。 - Katy
1个回答

0

尝试将目录放在引号中


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接