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

Login failed for user 'mfserver' error when M-Files is set to Server AlwaysOn Availability Group

Last updated on 9 December 2024

Admin

Overview

This article can be used in case you have set up M-Files vault databases to SQL Server AlwaysOn Availability Group as explained here, and you get these error:

M-Files: Login failed for user 'mfserver'
DBSession.cpp, 556, Login failed for user 'mfserver {vaultGUID}'. (ERROR: 18456, SQLSTATE: 28000) (0x80040E4D)

SQL server: Login failed for user 'mfserver {vaultGUID}'. Reason: Password did not match that for the login provided. [CLIENT: XXXX] 

Solution

Per our documentation /article/mfiles-ka-190597 Setting up M-Files Server with a vault database in AlwaysOn Availability Group requires creation of 2 two login accounts, this is explained in more details in Chapter 2.1 Create Login Accounts to SQL.

The 'basic user' credentials must not be automatically generated. With the automatic user created by M-Files errors like the ones mentioned earlier can be seen. So make sure to enter valid credentials that are not generated by M-Files in the Vault properties as explained in chapter 2.2 Changes in the M-Files Server Admin.

In case you don't have M-Files vault databases to SQL Server AlwaysOn Availability Group set up, please see if these articles help:

Still need help?

On this page