I am using Windows 7 and SQL Server Express 2008. I need to attach to a database on local drive. I have the .MDF and .LDF files.
When I try to attach to the file from SQL Server Express, I get this error:
Unable to open the physical file "C:\myfolder\mydata.mdf". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120)
What can I do to attach to this database and open it?
View Complete Post