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

AdventureWorks2012

$
0
0

So I downloaded SQL 2014 on my personal laptop at home in an attempt to work on the AdventureWorks2012 Server.

I used the code given in the text book

CREATE DATABASE AdventureWorks ON

(FILENAME = ‘C:\Users\boriq\Desktop\Data\AdventureWorks2012_Data.mdf’)

FOR ATTACH_REBUILD_LOG

;

I keep getting the error message

Msg 5133, Level 16, State 1, Line 1

Directory lookup for the file “C:\Users\boriq\Desktop\Data\AdventureWorks2012_Data.mdf” failed with the operating system error 5(Access is denied.).

I assume it has to do with some permission setting that I must have overlooked. Sorry if this a vague question, but do you have any idea what can be done?


Viewing all articles
Browse latest Browse all 4729

Trending Articles



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