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.

Who is Participating?
Vikas GargConnect With a Mentor Business Intelligence DeveloperCommented:

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.
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Is the file actually in that folder?
Vitor MontalvãoMSSQL Senior EngineerCommented:
Would be interesting to see the screen in the background of that one.
adamtraskAuthor Commented:
Very good
All Courses

From novice to tech pro — start learning today.