all groups > sql server replication > november 2004 >
You're in the

sql server replication

group:

Replication - duplicate key


Replication - duplicate key Carla
11/11/2004 6:54:07 AM
sql server replication:
I am activating a replication of the transacional type with only one table.
Everything enable normal, at the moment to pass the data appears the
following message:
String data, right truncation
(Source: 172.18.7.22 (ODBC); Error number: 22001
---------------------------------------------------------------------------------------------------------------
Unexpected EOF encountered in BCP data-file
(Source: 172.18.7.22 (ODBC); Error number: S1000
---------------------------------------------------------------------------------------------------------------
Violation of PRIMARY KEY constraint 'PK__PDVMAP__55AB7606'. Cannot insert
duplicate key in object 'PDVMAP'.
(Source: 172.18.7.22 (Data source); Error number: 2627)

However in the destination it does not have these data, not have duplicate
Re: Replication - duplicate key Hilary Cotter
11/11/2004 11:18:06 AM
Do you get this error if you use character mode format?

Are you replicating to a table and dropping it before you recreate it?

--
Hilary Cotter
Looking for a SQL Server replication book?
Now available for purchase at:
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

Re: Replication - duplicate key Carla
11/12/2004 3:55:01 AM
i´m using this configurates:
in the table article propertier - snapshot - if a table named xx exist at
the subscriber: keep the existing table unchanged.
Copy objects to destination:
It´s marked the options:
Include declared referential integrity
Clustered indexes
Nonclustered indexes
User triggers
extended properties

[]´s

[quoted text, click to view]
AddThis Social Bookmark Button