Microsoft KB Archive/179924

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:41, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


FIX: Msg 1203 If Attentions During Maintenance to Nonclustered Index

Article ID: 179924

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 6.5 Standard Edition



This article was previously published under Q179924

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 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 INF: How to Obtain SQL Server 6.5 Service Pack 5a


For more information, contact your primary support provider.



Additional query words: attn cancel error err

Keywords: kbbug kbfix KB179924