This error message is coming because the Database is in "Readonly" Mode. Please use the following steps to resolve the problem…
- Go to Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio
- Check that the database is showing "Read Only"
- Right Click on Database name
- Select Properties
- Select "Options"
- Scroll Down to bottom of the newly opened window
- 7. Set “Database Read-Only = False”
- Click on “Ok” button