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

Vault attach error - cannot remap user to login...login is already mapped to a user

Last updated on 7 December 2023 · 1 min read

Admin

Overview

When attaching a vault using a SQL database, you may encounter the following error:

image.png

This error is encountered when attaching a vault and the user for the 'Basic user credentials' (see screenshot below) SQL login account has a user mapping already in the database.

image.png

Solution

The account mapping is created by M-Files when attaching the vault. In order to fix the issue, the SQL user mapping must be removed. From SQL Server Management Studio, navigate to the server connection -> Security -> Logins, right click on the Login with the issue and select 'Properties'.

image.png

Remove the mapping and attach the vault.

Still need help?

On this page