Overview
When Automatic conflict resolution is used with "Notify Users" option, the replication can fail if the notification receiver of possible conflict object (last modified by) is M-Files Server. In this case following error would be shown in the Windows Event logs:violation of FOREIGN KEY constraint "FK_EER_USERACCOUNT" on table "EVENT_EXPLICITRECEIVER"
Foreign key reference target does not exist Problematic key value is ("USERACCOUNT" = -102) (ERROR: 335544466, SQLSTATE: 23000) (0x80040E2F)
This error can be seen with M-Files May' 21 Update or later.
Solution
As a workaround the "Notify Users" option can be disabled for the Automatic conflict resolution through the Advanced Vault settings in M-Files Admin tool:Configurations > Content Replication and Archiving > Automatic Conflict Resolution >Notifications > Notify Users > No
The fix for this issue can be tracked with ID 160247 through our release notes (https://www.m-files.com/m-files-online-release-notes/).
