I have merge replication set up with a publisher and two subscribers. All of my primary key fields are set for autoincrement (not for replication). The articles in the publication are set to force the subscriber to use a range for generating unique prim
ary keys. Things seem to go well for a while then my application starts throwing primary key constraint errors on both clients. Any suggestions?
Yep. Disable the auto-identity range and do it yourself manually.
Mike
Principal Mentor
Solid Quality Learning
"More than just Training"
SQL Server MVP
http://www.solidqualitylearning.com
http://www.mssqlserver.com
Tuesday, March 20, 2012
Primary key constraint issues with merge replication
Labels:
autoincrement,
constraint,
database,
fields,
key,
merge,
microsoft,
mysql,
oracle,
primary,
publisher,
replication,
server,
sql,
subscribers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment