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)
A non-admin user may encounter the following retail assertion when executing a T-SQL batch during a shutdown of SQL Server.
Because this problem only occurs when the server is already shutting down, the assertion is a benign error and does not affect transactional integrity.
SQL Server Assertion: File: <xcbmgr.cpp>, line=1299 Failed Assertion = 'pss->IsXcbLocked ()'.
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:
274799For more information, contact your primary support provider.
(http://support.microsoft.com/kb/274799/ )INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
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.
Contact us for more help
Connect with Answer Desk for expert help.