Friday, July 11, 2008

Can not attach database in windows vista. 3906 "Failed to Update database 'database name' because the database is read-only."

I tried to attach database in windows vista, but got error
3906 "Failed to Update database 'database name' because the database is read-only."
The problem occurs due to new security system in vista. The solution is:
right-click on SQL Server Mangement Studio shortcut and select Run as Administrator