Microsoft KB Archive/216370

From BetaArchive Wiki
Knowledge Base


FIX: Constraint Violation Using INSERT INTO EXEC Causes SPID -1 and 3307

Article ID: 216370

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 6.5 Standard Edition



This article was previously published under Q216370

BUG #: 18545 (SQLBUG_65)

SYMPTOMS

Performing and INSERT INTO EXECUTE operation that violates a constraint (such as a primary key) results in the termination of the client, an error 3307 and SPID -1 remaining. The SPID -1 will show up in the error log as well as sp_lock output. The following is error 3307:

Error : 3307, Severity: 21, State: 1
Process 10 was expected to hold logical lock on page 584.
WARNING: Process being freed while holding Dataserver semaphore
spid-1 Process -1 was expected to hold logical lock on page 584.

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: err msg message errorlog

Keywords: kbbug kbfix kbqfe KB216370