Access denied when trying to attach DB

Posted on 2014-08-26
Medium Priority
Last Modified: 2014-09-02
I'm trying to attach a database. But when I select the MDF file I get access denied.
It's not attached/listed in Management Studio.
I can't even copy or move the MDF file.
Any ideas?
Question by:JElster
  • 2
LVL 75

Accepted Solution

Aneesh Retnakaran earned 1000 total points
ID: 40285748
if you cant access the drive where the file is  from ssms, you need to attatch that drive to the sql server cluster and try again,

Author Comment

ID: 40285754
I can access the file and drive.. when I try to attach I get Access denied
LVL 53

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 1000 total points
ID: 40286013
You are sure that MDF is the one you want? Because if the file it's in use by other database you'll got the access denied error.

Author Comment

ID: 40286023
I think the current user I'm logged in as , does not have permissions

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

862 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