Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 cannot attack database in sqlserver 2005 express

Author  Topic 

thelinh
Starting Member

1 Post

Posted - 2010-09-24 : 10:57:15
Dear everybody

recently, i have to reinstall mycomputer. then, now when i try to attack new database into sqlserver , i encounter this error
"unable to open the physical file .mdf. Operating system error 5: (Access í denied)". Microsoft sql server, error: 5120.
I'm using win7 32bit express and sqlserver 2005 express.

please help me to fix this error.
thanks.


tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-09-24 : 12:18:39
By attack, I'm sure you instead mean attach.

Can you restore from a backup? RESTORE DATABASE...

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -