An error occurred while attaching the database! The physical file "northwnd. MDF" cannot be opened ". Operating System Error 5: "5 (Access denied .)".

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

Title: Microsoft SQL Server Management Studio
------------------------------

An error occurred while attaching the database to the server JESSE9898-PC/sqlexpress. (Microsoft. sqlserver. SMO)

Click: http://go.microsoft.com/fwlink? For help information? Prodname = Microsoft + SQL + server & prodver = 10.50.1447.4 + (kj_rtm ). 100213-0103 +) & evtsrc = Microsoft. sqlserver. management. SMO. predictiontemplates. failedoperationexceptiontext & evtid = additional database + server & linkid = 20476

------------------------------
Other information:

An exception occurred when executing a Transact-SQL statement or batch processing. (Microsoft. sqlserver. connectioninfo)

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

The physical file "E:/Works/database/northwnd. MDF" cannot be opened ". Operating System Error 5: "5 (Access denied .) ". (Microsoft SQL Server, error: 5120)

Click: http://go.microsoft.com/fwlink? For help information? Prodname = Microsoft + SQL + server & prodver = 10.00.2531 & evtsrc = MSSQLServer & evtid = 5120 & linkid = 20476

------------------------------
Button:

OK

Solution:
You do not need to use Windows integrated identity verification. You can use SQL Server Authentication SA to log on to the system.

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

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.