SQL Server 2012 error while attaching database

Good morning,

I get an error trying to attach AdventureWorks database to SQL Server 2012. I first logged in as admin with server control permissions and then I logged in as sa.
Logging as SA tells me that the operating system (Windows 8) is denying me access, although i am trying to log using SQL authentication.

ThanksSQl-Server.jpg
adamtraskAsked:
Who is Participating?
 
Vikas GargConnect With a Mentor Business Intelligence DeveloperCommented:
Hello,

GO to the folder  where you have stored mdf file. select file-> Right click ->click on . give full permissions to file for logged in user Security.
0
 
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Is the file actually in that folder?
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Would be interesting to see the screen in the background of that one.
0
 
adamtraskAuthor Commented:
Very good
0
All Courses

From novice to tech pro — start learning today.