The information in this article applies to:
SYMPTOMSWhen merge replication is established on tables that have constraints, namely, foreign key constraints or user triggers and these triggers/ constraints are not created with "NOT FOR REPLICATION" option, merge agent will log a conflict. For example, if the conflict is on a delete statement, the message may look like:
The conflict viewer will give you an option to "ignore the conflict". Even if you try to choose "ignore conflict" and resolve the conflict, the conflict is not resolved. In other words, the conflict entry is not removed from MSmerge_delete_conflict (in case of delete conflict) or conflict_tablename (in case of insert or update conflicts) on the publisher. WORKAROUNDWhen constraints or user triggers need to be enforced on tables involved in merge replication for business reasons, it is recommended that constraints/user triggers be marked as "NOT FOR REPLICATION" to avoid the above problem. If these constraints/triggers are not marked as "NOT FOR REPLICATION", the conflicts like the ones described above have to be resolved manually by removing the entry from the conflict tables MSmerge_delete_conflict (in case of delete conflict) or conflict_tablename (in case of insert or update conflicts) on the publisher database for the given rowguid. MORE INFORMATION
Conflict viewer does not resolve these conflicts, fearing breakage of database integrity rules.
Additional query words:
Keywords : |
Last Reviewed: January 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |