FIX: Msg 1203 If Attentions During Maintenance to Nonclustered Index

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. This problem has been corrected in U.S. Service Pack 5a for Microsoft SQL Server version 6.5. For information about downloading and installing the latest SQL Server Service Pack, see http://support.microsoft.com/support/sql/.

For more information, contact your primary support provider.

Additional query words: attn cancel error err

Keywords : SSrvAdmin SSrvProg kbbug6.50 kbfix6.50.SP5
Version : winnt:6.5
Platform : winnt
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.