Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Attaching mdf database to SQL 2014 Express

$
0
0

Good day everyone,

I copied a *.mdf file to c:\program files\Microsoft sqlServer\MSSQL12.SQLEXPRESS\MSSQL\DATA

I then attached the database.  When I attempted to open the database in management studio I received the following permissions error:Failed to retrieve data for this request. Additional information: Unable to open the physical file "same directory path specified as above". Operating system error5 (access is denied.)" Microsoft SQL Server, Error:5120)

I then copied the *.mdf file to the same directory path above but one that had ..\\MSSQL11.SQLEXPRESS\MSSQL\DATA and received the same results. : (

Any ideas? 


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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