BUG: 1203 If Attentions During Maintenance to Nonclustered Index

Last reviewed: January 27, 1998
Article ID: Q179924
The information in this article applies to:
  • Microsoft SQL Server, version 6.5
BUG #: NT: 17748 (6.5)

SYMPTOMS

If SQL Server receives an attention signal during the maintenance to a table's nonclustered index after an insert operation, message 1203 may be generated. Attention signals are caused by a query timeout expiring, or by using the dbcancel() or SQLCancel() functions within DB-Library or ODBC programs, respectively. The following is message 1203:

   Msg  1203 Level 20 State 1
   Caller of lock manager is incorrectly trying to unlock an unlocked
   object. spid=10 locktype=6 dbid=4 lockid=353

WORKAROUND

To work around this problem, increase the query timeout or avoid using cancel functions. Also, if there is only one index and it is a nonclustered index, you can change the index to a clustered index to avoid the problem.

STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. A supported fix is now available, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.


Additional query words: attn cancel error err
Keywords : kbbug6.50 SSrvAdmin SSrvProg ssrvtrans_sql
Version : WINNT:6.5
Platform : winnt
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.