Groups | Blog | Home
all groups > sql server replication > november 2003 >

sql server replication : Replication error after SP3


Daniel
11/6/2003 3:46:15 PM
any idea why i'm getting this error on replication

All old subscription created on SP2 are working properly.
We install SP3 to solve problem with overload of CPU (100% - sqlserver continuosly).

After installing SP3 I've encoutered next problem trying to create new transactional subscription.
Violation of PRIMARY KEY constraint 'PK__@snapshot_seqnos__2813BD1E'.
Cannot insert duplicate key in object '#271F98E5'.

After looking thru the microsoft site I found a reference that seemed
close so I tried next:
add the param @loopback_detection = 'true'
to
sp_addsubscription

but it didin't work.

We need to solve this problem till sunday - new location are starting !
Hilary Cotter
11/6/2003 8:23:29 PM
can you script out your publication, tables and post them here?
[quoted text, click to view]

Daniel Barbalic
11/8/2003 1:12:15 PM
Solution:

Change of store procedure in distibution: sp_MSget_repl_commands

from:
declare @snapshot_seqnos table (subscription_seqno varchar(16) primary key)
in:
declare @snapshot_seqnos table (subscription_seqno varbinary(16) primary
key)

Regards,
Daniel

AddThis Social Bookmark Button