Error message:
Title: Microsoft SQL Server Management Studio
------------------------------
The attach database failed for server "LL-PC". (MICROSOFT.SQLSERVER.SMO)
For help information, 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= Attaching a database +server& linkid=20476
------------------------------
Additional Information:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Unable to open physical file "D:\ project related \dqcysdb_moss_log. LDF ". Operating system error 5: "5 (Access denied. )”。 (Microsoft SQL Server, error: 5120)
For help information, click: Http://go.microsoft.com/fwlink? Prodname=microsoft%20sql%20server&prodver=11.00.3128&evtsrc=mssqlserver&evtid=5120&linkid= 20476
------------------------------
Button:
Are you sure
------------------------------
Workaround:
Add control to the account and change to Full control
Attach database failed for server "00-PC"