An Azure relational database service.
Allowing SNAPSHOT_ISOLATION for Member Database resolved the issue
ALTER DATABASE <Database name>
SET ALLOW_SNAPSHOT_ISOLATION ON
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, the SQL Sync Group was working fine earlier. But after deployment on Member Database via Azure DevOps pipeline, the Sync Job started throwing below error,
"Snapshot isolation transaction failed accessing database because snapshot isolation is not allowed in this database. Use ALTER DATABASE to allow snapshot isolation."
An Azure relational database service.
Allowing SNAPSHOT_ISOLATION for Member Database resolved the issue
ALTER DATABASE <Database name>
SET ALLOW_SNAPSHOT_ISOLATION ON
SQL Data Sync is trying to enable on SQL Azure database the same isolation level your database has on premises (snapshot isolation), but it is not possible to change the isolation level of a SQL Azure database. That is the reason the SQL Data Sync process will fail.
Set the isolation level of the database, to the same settings it has before the deployment.