Groups | Blog | Home
all groups > sql server clustering > march 2004 >

sql server clustering : Problem with Replication


Atley
3/13/2004 4:33:34 PM
I keep getting an error when I try to set up a merge replication...

Cannot insert duplicate key row in object 'TRDFIL' with unique index
'ITRDFIL0'.
(Source: CMTSQL2 (Data source); Error number: 2601)

I can't seem to figure out how to prevent this from happening, any ideas on
what is not correct?

Thanks

Hilary Cotter
3/14/2004 8:30:02 AM
How did you apply your snapshot?

Normally you get this error for one of two reasons.

1) You applied the snapshot manually, either by a restoring a backup, or a
data transfer process (DTS, bcp, etc). Your snapshot is out of sync, and you
are performaning an insert, update operation for which the data already
exists on the Subscriber.

2) Someone or some process has already entered data in the Subscriber, and
the replication process is trying to add the same row.

Use EM, expand your server, expand Replication Monitor, expand the
Publishers Folder, expand your publisher, right click on the publication,
select Validate Subscriptions.

After this process has run, double click on your distribution agent, select
session details to view the results of the data validation process.





[quoted text, click to view]

AddThis Social Bookmark Button