Wordy words will not say more, straight into the subject bar!
Programme one:
In this case, the SA account is typically used to log on, as long as Windows authentication is changed, and the database is attached.
Scenario Two:
Use the sa login SQL Server2008 to attach the database, append the database to read-only, then point to the database--"Properties" and "Options"--"status", the "database is read-only" is true, change to false, if it can be modified, So congratulations, your character is good! I made the same mistake when I modified it:
In this case, locate your data file and log file, right-click on "Properties"--"security", add a "Network Service" account, and give the account full control of the permissions. Use sa login again, attach the database, hehe ... You will find that life is so beautiful!!!
Source: http://www.cnblogs.com/xueyonglanguan/archive/2012/04/14/2397722.html
SQL Server2008 After attaching a database is displayed as read-only workaround