Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Violation of PRIMARY KEY constraint in Replication Expand / Collapse
Author
Message
Posted Monday, October 21, 2013 3:28 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, October 21, 2013 6:17 AM
Points: 1, Visits: 2
Violation of PRIMARY KEY constraint 'PK_table_access_id'. Cannot insert duplicate key in object 'dbo.table_access_id'. The duplicate key value is (268435492, 1). (Source: MSSQLServer, Error number: 2627)
Get help: http://help/2627

Can any one please help how to get sequence numbers to check in sp_browsereplcmd?
Post #1506593
Posted Monday, October 21, 2013 8:04 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 3:50 AM
Points: 943, Visits: 2,941
Is this error on the subscriber?




The SQL Guy @ blogspot

@SeanPearceSQL

About Me
Post #1506698
Posted Thursday, October 24, 2013 10:46 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, July 15, 2014 8:13 PM
Points: 124, Visits: 750
there must be some other process on the subscriber which might have inserted that row. Try to delete that row from the subscriber after saving the data. The replication should re insert that row.
Post #1508166
Posted Thursday, October 31, 2013 12:57 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, May 30, 2014 8:15 AM
Points: 1,056, Visits: 2,687
phani404 (10/21/2013)
Violation of PRIMARY KEY constraint 'PK_table_access_id'. Cannot insert duplicate key in object 'dbo.table_access_id'. The duplicate key value is (268435492, 1). (Source: MSSQLServer, Error number: 2627)
Get help: http://help/2627

Can any one please help how to get sequence numbers to check in sp_browsereplcmd?


Is that a identity column?


Regards
Durai Nagarajan
Post #1510038
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse