Why is My Database "Read-Only" After Moving to a New Driver Location?

Occasionally, after moving your SQL Database to a new Drive, SQL updates the permissions to be Read Only for the database. You can update this in SSMS (Microsoft SQL Server Management Studios) on the server.

After moving your SQL Server, the Properties may update to be Read Only. This can result in the Exception similar to "Failed to update database "Acctivate" because the database is read-only". You can update the SQL Database permissions in Microsoft SQL Server Management Studios (SSMS). 

ReadOnlyDatabaseException

Update Permissions to allow Read-Write access on the database

ReadOnlySSMSProperties
  1. On the server, open SSMS. If you do not have it installed, read our article on SSMS or visit the Microsoft website
  2. Log in using the sa user and password for SQL. If you are not using the default login, please contact your System Admin for your SQL login credentials. Please contact support if you need the 'sa' password. 
  3. Once logged in, expand the Database folder on the left Object Explorer pannel. 
  4. Right-click on the database you need to allow Read-Write access. Click Properties at the bottom of the list. 
  5. In the Database Properties - DatabaseName window, click on Options in the Select a page pane on the left.
  6. Scroll down to the State properties section. Check the property "Database Read-Only". This should be set to False. If this is set to True, the database is in Ready Only mode. Click the box on the right of Database Read-Only (the box will say True), and use the drop-down arrow to select False. 
  7. Push OK and close out of SQL Server Management Studios. 
  8. Now you should be able to use Acctivate to read and write to your SQL database.