Tag Archives: Unable to open the physical file “C:\Database\database.mdf”. Operating system error 5: “5(Access is denied.)”

Unable to open the physical file "C:\Database\database.mdf". Operating system error 5: "5(Access is denied.)"

When you attach a database you might get the error below. ——————————————————————————————————————– Unable to open the physical file “C:\Database\Commerce.mdf”. Operating system error 5: “5(Access is denied.)”. (Microsoft SQL Server, Error: 5120) ——————————————————————————————————————– What you need to do is to assign … Continue reading

Posted in .Net | Tagged , | 3 Comments