Violation of UNIQUE KEY constraint ''unique_pubsrvdb''-SQL 2005 Merge Replication

  • Replication scenario:

     

    SQL 2005 publisher, distributor; with seven publications from five different databases.

    Database on a SQL 2005 subscriber which two tables are being populated from two different publications in the publisher.

     

    The issue:

    This has been working correctly for more than a year, since day one it was setup. Last Thursday replication started to fail with the following error:

     

    Violation of UNIQUE KEY constraint 'unique_pubsrvdb'. Cannot insert duplicate key in object 'dbo.sysmergesubscriptions'.

     

     

    I have redone the publications and subscriptions, but I am still getting the same error, it works only when replication involves one of the tables but not both at the same time.

     

    Any idea?

     

    Thanks,

    Jose

     

  • is this merge replication & if not then check if those tables primary keys have been removed or ?.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply