FIX: Inserts on SMP Computer Can Cause Error Message 1203

Last reviewed: May 2, 1997
Article ID: Q141539

The information in this article applies to:
  • Microsoft SQL Server, version 6.0
BUG# NT: 11223 (6.00)

SYMPTOMS

If a table has a non-unique clustered index and is running on a multiprocessor computer with SMP support on, INSERTs can cause the following 1203 error message to occur:

   Msg  1203 Level 20 State 1
   Caller of lock manager is incorrectly trying to unlock an unlocked
   object. spid=%d locktype=%d dbid=%d lockid=%ld.

WORKAROUND

There are several options available to avoid this problem, including:

  1. Turn off dedicated multiprocessor support to allow the INSERT to complete.

  2. Replace the clustered index on the problem table with a nonclustered index.

  3. Make the non-unique clustered index into a unique clustered index.

STATUS

Microsoft has confirmed this to be a problem in SQL Server versions 4.21a and 6.0. This problem was corrected in Service Pack 2 for SQL Server version 6.0. For more information, contact your primary support provider.


Additional query words: sql6 smp winnt
Keywords : kbbug4.21a kbbug6.00 kbenv kbfix6.00.sp2 SSrvGen SSrvProg
Version : 4.21a 6.0
Platform : WINDOWS
Issue type : kberrmsg


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: May 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.