Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Consider the following scenario:

  • Assume that you enable Change Data Capture (CDC) on a database in the Always On Availability Group (AG) that has DTC_SUPPORT=PER_DB configured in Microsoft SQL Server.

  • You try to disable CDC on the database in the AG by running the stored procedure sp_cdc_disable_db.

  • In this situation, you may receive an assertion dump if the cleanup job is already completed by using msdb.dbo.sp_delete_job.

  • In another situation, committing a distributed transaction or cross-database transaction after doing ROLLBACK SAVEPOINT may also cause an assertion dump.

  • For more information, see Configure distributed transactions for an Always On availability group.

DateTime spid1462s   * *******************************************************************************​
DateTime spid1462s   *​
DateTime spid1462s   * BEGIN STACK DUMP:​
DateTime spid1462s   *   DateTime spid 1462​
DateTime spid1462s   *​
DateTime spid1462s   * Location:  xactrm.cpp:LineNumber
DateTime spid1462s   * Expression:  !(m_activeDtcRMCount == 0) || (m_preparedDtcXdesCount == m_xdesCount)​


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


This issue is fixed in the following cumulative updates for SQL Server:

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!