Article ID: 179924 - Last Review: March 14, 2006 - Revision: 4.0

FIX: Msg 1203 If Attentions During Maintenance to Nonclustered Index

This article was previously published under Q179924
BUG #: NT: 17748 (6.5)
Expand all | Collapse all

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 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
197177  (http://support.microsoft.com/kb/197177/ ) INF: How to Obtain SQL Server 6.5 Service Pack 5a
For more information, contact your primary support provider.


APPLIES TO
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbbug kbfix KB179924
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations