FIX: Replication Queued Updating Supports Unique Constraints (322384)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q322384
BUG #: 357212 (SHILOH_BUGS)

SYMPTOMS

The Distribution Agent may fail and go offline with the following error message:
Violation of UNIQUE KEY constraint 'xyz'. Cannot insert duplicate key in object 'looptest'. 2627

CAUSE

This occurs when a unique constraint is defined on a published article on the publisher and the subscriber when implementing replication's queued updating feature.

NOTE: SQL Server 2000 Service Pack 2, and earlier, does not provide support for unique constraints defined on the published table at the publisher and subscriber in a queued updating environment. This support is now offered in SQL Server 2000 post-service pack 2 version 8.00.0621.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack

NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix should have the following file attributes or later:
   Date          Time          Version     Size           File name
   --------------------------------------------------------------------

   03-MAY-2002   01:41:27 PM   8.00.0621   66,660 bytes   Qfe357212.sql
				
NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbSQLServ2000sp3fix kbbug kbfix kbSQLServ2000preSP3fix KB322384