SQL Server Management Studio Express附加数据库出错
2011-06-08 11:47
609 查看
如果使用"SQL Server Management Studio Express",在本机登录时选择 SQL 认证,那么会报错:
错误信息:
TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)
------------------------------
CREATE FILE encountered operating system error 5(拒绝访问。) while attempting to open or create the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf'. (Microsoft SQL Server, Error: 5123)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
截图:
![](http://hi.csdn.net/attachment/201101/13/0_12949020426NP4.gif)
改为 WINDOWS 认证后,顺利完成:
截图:
![](http://hi.csdn.net/attachment/201101/13/0_1294902047M6S1.gif)
附:
AdventureWorksDB.msi:
http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=MSFTDBProdSamples&DownloadId=11753&FileTime=128230452260470000&Build=17450
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/prince_vegeta/archive/2011/01/13/6134904.aspx
错误信息:
TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)
------------------------------
CREATE FILE encountered operating system error 5(拒绝访问。) while attempting to open or create the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf'. (Microsoft SQL Server, Error: 5123)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
截图:
![](http://hi.csdn.net/attachment/201101/13/0_12949020426NP4.gif)
改为 WINDOWS 认证后,顺利完成:
截图:
![](http://hi.csdn.net/attachment/201101/13/0_1294902047M6S1.gif)
附:
AdventureWorksDB.msi:
http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=MSFTDBProdSamples&DownloadId=11753&FileTime=128230452260470000&Build=17450
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/prince_vegeta/archive/2011/01/13/6134904.aspx
相关文章推荐
- 解决Microsoft SQL Server Management Studio Express不能在win7附加数据库的方法
- 用Microsoft Visual Studio 2008附加mdf数据库而不要用SQL Server Management Studio Express
- 标题: Microsoft SQL Server Management Studio ------------------------------ 附加数据库时出错。有关详细信息,请单击“消息”列中
- Microsoft SQL Server Management Studio ------------------------------ 附加数据库 对于 服务器
- Microsoft SQL Server Management Studio ------- 附加数据库 对于 服务器“xxx"失败(错误码5120)
- Microsoft SQL Server Management Studio ------------------------------ 附加数据库 对于 服务器
- 数据库开发基本操作-Microsoft SQL Server Management Studio Express下载和安装
- SQL Server Management Studio Express 无法连接 SQL Compact Edition(或新建数据库文件)的问题
- 如何分离附加数据库 (SQL Server Management Studio)
- SQL Server Management Studio(SSMS)复制数据库的方法
- sql2005 Microsoft SQL Server Management Studio Express的安装问题
- SQL server Management Studio Express auto generate change script
- Microsoft SQL Server Management Studio Express Englist Address
- Microsoft SQL Server Management Studio Express 使用SQL验证登录sa
- 安装SQL Server 2005之后找不到SQL Server Management Studio Express
- 转载:sql2005 Microsoft SQL Server Management Studio Express的安装问题
- SQL Server Express Management Studio Express 2008[转]
- SQL2005的SQL Server Management Studio对大数据库操作超时解决方法
- 使用SQL Server Management Studio 创建作业备份数据库
- 使用sql server management studio 2008 连接数据库,无法查看数据库,提示 无法为该请求检索数据 错误916