Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Replication in M-Files fails with FOREIGN KEY constraint "FK_EER_USERACCOUNT error (Defect: 160247)

Last updated on 4 August 2021

Admin
Replication

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/).
 

Still need help?

On this page