Unable to open the physical file "D:\MSSQL\Data\dbAcquisitionStaging_Data1.mdf". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120)
This problem occurs when you migrate the operating system. example if you are using Win Xp and migrate to Windows7 and when you try to attach the mdf files. This error occurs.
Resolution:
1. Make sure you are logging with the same user name and password for SQL server.
2. You should have complete access to the mdf files. Full permission.
3. Restore with windows authentication.
I had the same problem and i have restored it successfully. i have even tried with 32bit and 64bits win7 OS.
Hope this will reslove your Issue.
Comments
Post a Comment
Your comment or feedback help me to write more blogs. Please add your comments.