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

Import of the user group "Group name" from a content package failed

Last updated on 1 July 2022

Admin
Replication

Overview

When importing a replication package that contains user groups, you may see an error similar to this:

Import of the user group "Some Group Name" (119, l141) from a content package failed.

And at the bottom for the full error stack (usually seen in the Windows Event Viewer), you will have something like this:

Cannot insert duplicate key row in object 'dbo.USERGROUP' with unique index 'IX_USERGROUP_NAME_L'. The duplicate key value is (Some Group Name). (ERROR: 2601, SQLSTATE: 23000)

Solution

The error indicates that the vault that is importing the package already has a user group with the same name, but with a different ID. This means that some change has occurred in either vault (source or target) with relation to this group name that was not properly synchronized.

Note that the group name comparison is case-insensitive, so "Group Name" is the same as "group name".

The typical solution is to rename the problematic group in the target or source vaults and repeat the process.

Note that custom vault applications or event handlers may also lead to such errors if they handle groups in some fashion. For such issues, their specific logic must be reviewed.

Still need help?

On this page