Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Attach Database failing

$
0
0

Hi all,

Hope I am posting in the right forum. My operating system is Windows 7 Professional 64-bit. I have Microsoft SQL Server 2008 R2 version 10.50.1617. I have a database mdf file which was made in SQL Server 2005. I am trying to attach that database file but it is failing and I am getting this error message:

An exception occured while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

Unable to open the physical file "D:\temp\Login.mdf". Operating system error 5: "5(Access is defined.)". (Microsoft SQL Server, Error: 5120)

I am running SQL Server Management Studio as an administrator. Why it is not working?


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>