Microsoft SQL Server 2012 attached database

Source: Internet
Author: User
Tags management studio microsoft sql server management studio sql server management sql server management studio

I have nothing to do today to see the old database, with Microsoft SQL Server 2012 attached to the database, the results of a tragic, a lot of errors, fortunately after a few attempts finally solved the problem, the error message is as follows, the solution is simple, run SQL as Administrator Server Management Studio, then attach the database and write it out for your reference.

Title:microsoft SQL Server Management Studio

------------------------------


Attach database failed for Server ' SERVER01 '. (MICROSOFT.SQLSERVER.SMO)


For help, Click:http://go.microsoft.com/fwlink? prodname=microsoft+sql+server&prodver=11.0.3000.0+ ((sql11_pcu_main). 121019-1325+) &EvtSrc= Microsoft.sqlserver.management.smo.exceptiontemplates.failedoperationexceptiontext&evtid=attach+database+ server&linkid=20476


------------------------------

ADDITIONAL Information:


An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)


------------------------------


Unable to open the physical file "G:\Database\EAS\Develop\EAS_Data.MDF". Operating system error 5: "5 (Access denied. )". (Microsoft SQL Server, error:5120)


For help, Click:http://go.microsoft.com/fwlink? Prodname=microsoft%20sql%20server&prodver=11.00.3153&evtsrc=mssqlserver&evtid=5120&linkid= 20476


------------------------------

BUTTONS:


Ok

------------------------------


This article is from the "XXX" blog, please be sure to keep this source http://5684052.blog.51cto.com/5674052/1614995

Microsoft SQL Server 2012 attached database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.