SQL - Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Error 5120
2013-05-28 17:54
627 查看
附加SQL server 2005的时候报错:
Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Error 5120
5120没有权限 或 文件只读。
我调了半天还是一样,SQL server 启动账户拥有的权限太小了吧。
解决方法:拷贝MDF文件和LDF文件到:C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
再次附加,成功。
Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Error 5120
5120没有权限 或 文件只读。
我调了半天还是一样,SQL server 启动账户拥有的权限太小了吧。
解决方法:拷贝MDF文件和LDF文件到:C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
再次附加,成功。
相关文章推荐
- Unable to open the physical file "d:\***.mdf". Operating system error 5: "5(Access is denied.)".
- 解决:Unable to open the physical file "…….ldf". Operating system error 5: "5(拒绝访问。)".
- AdventureWorksDW2008R2 attach: Unable to open the physical file. Operating system error 5: "5(Access is denied.)
- Unable to open the physical file xxxx. Operating system error 2
- Tomcat - java.lang.UnsupportedClassVersionError:Unsupported major.minor version 51.0 (unable to load class com.microsoft.sqlserver.jdbc.SQLS
- [置顶] OGG-01091 Unable to open file (error 89, Invalid file system control data detected)
- Bad version number in .class file (unable to load class com.microsoft.sqlserver.jdbc.SQLServerDriver
- VS环境下 Ibatis .Net 连接sqlserver 2005 碰到的问题 Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".
- IOError: Unable to open file (File signature not found)
- Unable to open connection to "Microsoft SQL Server, provider V1.0.5000.0 in framework
- Error = [Microsoft][SQL Server Native Client 11.0]Unable to open BCP host data-file
- OGG-01091 Unable to open file (error 89, Invalid file system control data detected)
- BCB error:Fatal: Unable to open file 'DCLUSR.LIB',E2209 Unable to open include file 'SUIForm.hpp'
- ORA-07391: sftopn: fopen error, unable to open text file
- [已解决]在VMware-server for linux 下装centos错误:an error has occurred. - no valid devices were found on which to create new file system
- Android Error: Unable to open class file R.java
- bitbake错误:sqlite3.OperationalError: unable to open database file
- Ubuntu+django+apache下配置网页错误OperationalError: Unable to Open Database File 的解决方法
- Error: Unable to open class file R.java
- Failed to open file 'C:\User\lenovo\Desktop\XXX.sql', error: 2的解决方案