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.


You run a query on an instance of Microsoft SQL Server 2012. If the query uses tempdb, you might receive the following error messages:

  • Error: 5180, Severity: 22, State: 1.

    Could not open File Control Block (FCB) for invalid file ID 0 in database 'tempdb'.

  • Error: 17066, Severity: 16, State: 1.

    SQL Server Assertion: File:< Alloc.cpp>, line=2697 Failed Assertion = 'IAM_pg_id != PageId_NULL'.

  • Error: 3624, Severity: 20, State: 1.

    A system assertion check has failed. Check the SQL Server error log for details.

  • Error: 605, Severity: 21, State: 3.

    Attempt to fetch logical page (19:31824) in database 2 failed. It belongs to allocation unit 0 not to 720680216393744384.

This issue may occur when you use one of the following features:

  • Optimistic transaction isolation levels

  • Online indexing

  • Multiple active result sets (MARS)

  • Triggers


This issue was first fixed in the following cumulative update of SQL Server:

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

Latest cumulative update for SQL Server 2012 SP2

Latest cumulative update for SQL Server 2012 SP3

Note You can find information about the latest SQL Server builds from Where to find information about the latest SQL Server builds.


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


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!