您无权打开此文件 [英] you do not have permission to open this file
本文介绍了您无权打开此文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过服务器资源管理器中的数据连接附加a.mdf文件。
它会发出警告您无权打开此文件< br $> b $ b
我的连接
I want to attach a.mdf file through data connection in server explorer.
It gives a warning "you do not have permission to open this file"
my connection
<connectionStrings>
<add name="MyCon" connectionString="Data Source=my-pc\SQLSERVER;AttachDbFilename=D:\DL PROJECT\DL PROJECT\App_Data\a.mdf;Integrated Security=True;User Instance=True" />
</connectionStrings>
但是当我通过Microsoft Sql server管理工作室它附加
But when I attach through Microsoft Sql server managment studio it get attached
推荐答案
总是打开VISUAL STUDIO作为管理员......这样就不会发生这种错误。
Always open VISUAL STUDIO As a ADMINISTRATOR ....So that these kind of error will not happen.
这篇关于您无权打开此文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文