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.


Assume that you have a database in Microsoft SQL Server 2016 or 2017 that has transparent database encryption enabled, or is in the process of being enabled or disabled. If the database contains corruption such that a GAM extent is improperly marked as unallocated in the GAM or PFS page for the extent, it is possible for the encryption scan to incorrectly assume that the GAM page is unallocated, and then format the page. In this case, a subsequent restart of the server will cause the database to be marked suspect upon recovery, and you may receive the following error message:

DateTime SPID      Error: 5243, Severity: 16, State: 8.

DateTime SPID      An inconsistency was detected during an internal operation. Please contact technical support.


  • This fix will prevent the encryption scan from formatting the corrupt GAM page, but it will not address the database inconsistency.

  • If the customer is frequently pausing and resuming the encryption scan by using Trace Flag (TF) 5004, this issue may be more likely to occur, and you may see multiple dumps.


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


Cumulative Update Information:

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:

More information

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!