FIX: Non-Admin User That Executes Batch While Server Shuts Down May Encounter Retail Assertion

Article translations Article translations
Article ID: 258087 - View products that this article applies to.
This article was previously published under Q258087
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57532 (SQLBUG_70)
Expand all | Collapse all


A non-admin user may encounter the following retail assertion when executing a T-SQL batch during a shutdown of SQL Server.
SQL Server Assertion: File: <xcbmgr.cpp>, line=1299 Failed Assertion = 'pss->IsXcbLocked ()'.
Because this problem only occurs when the server is already shutting down, the assertion is a benign error and does not affect transactional integrity.


Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.


This problem occurs only for non-admin users and only if a transaction is currently active. When the server accepts a T-SQL batch (language_exec) or the execrpc remote stored procedure call (RPC), a check is made to see if the server is in a shutdown process. If so, and the user is a non-admin user, then a 6002 message "SHUTDOWN is in progress. Log off" is sent back to the client. In the case of a batch, certain types of exception handling logic is also executed which, if the transaction is active, may lead to this assertion.

The problem is benign as the server is already shutting down. No transactional integrity is compromised because of this assertion. Depending on the timing of the problem, there may be some cases where a shutdown message does not appear in the errorlog.


Article ID: 258087 - Last Review: October 20, 2013 - Revision: 2.0
  • Microsoft SQL Server 7.0 Standard Edition
kbnosurvey kbarchive kbbug kbfix kbqfe KB258087

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from