SQL SERVER 2008 workaround for the database cannot be attached _mssql2008

Source: Internet
Author: User
Tags microsoft sql server mssqlserver management studio microsoft sql server management studio sql server management sql server management studio
Copy Code code as follows:

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

Unable to retrieve data for this request. (MICROSOFT.SQLSERVER.MANAGEMENT.SDK.SFC)

For help information, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
Additional Information:

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

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

When you try to open or create a physical file ' D:\db\OA.mdf ', the Create file encounters operating system error 5 (Access denied.) )。 (Microsoft SQL Server, error: 5123)

For help information, click: Http://go.microsoft.com/fwlink? prodname=microsoft+sql+server&prodver=10.00.1600&evtsrc=mssqlserver&evtid=5123&linkid=20476

After reloading the SQL, you want to attach the previous database, but not attached, error hint.

Solution:

In all Programs-sql Server 2008-Configuration Tools-SQL Server Configuration Manager, click SQL Server Services, double-click SQL Server (MSSQLSERVER) Service, pop-up dialog box, select the Login tab, Built-in account Select "Local System", click Reboot OK.
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.