Solved

SQL Server 2012 error while attaching database

Posted on 2014-11-10
4
122 Views
Last Modified: 2014-11-10
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
0
Comment
Question by:adamtrask
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40432401
Is the file actually in that folder?
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40432456
Would be interesting to see the screen in the background of that one.
0
 
LVL 15

Accepted Solution

by:
Vikas Garg earned 500 total points
ID: 40432624
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
 

Author Closing Comment

by:adamtrask
ID: 40432809
Very good
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question