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.