加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server – [ADO.NET错误]:数据库’master’中的CREATE DATA

发布时间:2020-12-12 08:55:22 所属栏目:MsSql教程 来源:网络整理
导读:CREATE DATABASE permission denied in database ‘master’. An attempt to attach an auto-named database for file C:Documents and Settings..App_DataHelloWorld.mdf failed. A database with the same name exists,or specified file cannot be op

CREATE DATABASE permission denied in database ‘master’.
An attempt to attach an auto-named database for file
C:Documents and Settings..App_DataHelloWorld.mdf failed.
A database with the same name exists,or specified file cannot be
opened,or it is located on UNC share.

我找到了这些链接:

> http://blog.benhall.me.uk/2008/03/sql-server-and-vista-create-database.html
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=702726&SiteID=1

解决方法

通常,用于运行SQL Server服务的用户将无法访问您的个人用户文件夹,这就是您收到错误的原因.您需要更改用于服务的凭据,或者将数据库移动到另一个文件夹,这样就完成了您的工作.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读