Hello,
We have a merge publication and we're getting the following error:
A row insert at 'HH\HH.orange' could not be propagated to 'L-DB.orange'. This failure can be caused by a constraint violation. Explicit value must be specified for identity column in table 'seqsheets' either when IDENTITY_INSERT is set to ON or when a replication user is inserting into a NOT FOR REPLICATION identity column.
What happens is a record is inserted into a publication table that has a trigger on insert. Once fired it inserts the data into another database (which also has merge replication setup to another server) that has the seqsheets table. The seqsheets table has a column ID as an identity field.
I set the NOT FOR REPLICATION to yes for this column and disabled the CHECK. Am I missing something else? Below is the sp_help of the ID column check constraint. Thanks in advance.
John
CHECK on column id repl_identity_range_5AD660E6_033C_453E_9ABB_4BB989AF4E17 (n/a) (n/a) Disabled Not_For_Replication ([id]>(243950) AND [id]<=(253950) OR [id]>(253950) AND [id]<=(263950))