FIX: Updates with Foreign Key Constraint Cause Exception Error (155825)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q155825
BUG #: 15716 (Windows NT: 6.50)

SYMPTOMS

If a DB-Library browse mode client updates a row, and the table has a Foreign key constraint on any column, a handled exception error of the client thread on the computer running SQL Server occurs.

WORKAROUND

To work around this problem, either create a trigger to manage referential integrity (instead of using the Check constraint), or convert the application to use normal locking or cursors.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbfix kbnetwork KB155825