Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear team,
We have encountered this error suddenly a few hours ago, and only one replication task is experiencing this issue with the same target (Azure SQL Managed Instance). The database is still functioning normally with other tasks, but only this one is affected.
Failed to update database "FLXXX" because the database is read-only
I need advice on what to do to resolve this.
Please help. Thank you
Hello @BC2 ,
Welcome and thanks for reaching out to Qlik Community!
In Azure SQL Managed Instance (MI), the error message "Failed to update database because the database is read-only" indicates that there is an attempt to perform a write or update operation on a database that is currently in read-only mode, attempting to modify data in such databases will result in this error.
Many various reasons may lead to the same error, not very sure what's the status, if the problem disappeared now.
Here are some common reasons why a database might be in read-only mode and how you can address the issue (if the problem persists still, please check step 1 below. if it's random then see 2, and 3):
SELECT DATABASEPROPERTYEX('FLXXX', 'Updateability'); |
SELECT state_desc FROM sys.databases WHERE name = 'FLXXX'; |