Tyler Deploy error during Configure Database step
During Munis ERP installation in Tyler Deploy the update failed with the below error:
OperationStopped: Could not create database user [username] in database [database]:
System.Management.Automation.MethodInvocationException: Exception calling "Drop" with "0" argument(s): "Drop failed for User 'username'. " ---> Microsoft.SqlServer.Management.Smo.FailedOperationException: Drop failed for User 'database'. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Failed to update database "database" because the database is read-only.
- Munis ERP
- Tyler Deploy
- SQL Server
- Database Properties
- Permissions
SQL Server is unable to execute a Drop as the target database is in read-only mode stopping Tyler Deploy from finishing the step and update installation
Option 1:
- Login to the Munis databases SQL Server instance
- Expand the Databases folder
- Right click on the effected Munis database
- Select properties from the context menu
- In the Database Properties window select the Options page
- In the Other Options menu scroll to the category labeled State
- In the Database Read Only drop down menu select False
- In the Database Properties window select the Options page
- Click OK
- Run the desired Munis ERP update in Tyler Deploy
Option 2:
- Login to the Munis databases SQL Server instance
Use SQL query