Overview
M-Files administrator can run into an error with vault authentication when Microsoft SQL Server is used as vault DB and the basic user credentials authentication of the SQL connection or file data location authentication fails.
This error situation can happen when a vault is taken offline due to e.g., maintenance or installation and then brought back online
Example of an error message:
CoSnapIn.cpp, 710, This user can't sign in because this account is currently disabled. (0x80070533) CoSnapIn.cpp, 951, This user can't sign in because this account is currently disabled. (0x80070533) Item_DocumentVault.cpp, 2746, This user can't sign in because this account is currently disabled. (0x80070533) Item_DocumentVault.cpp, 2946, This user can't sign in because this account is currently disabled. (0x80070533) RPCMethodCallWithRetry.h, 177, This user can't sign in because this account is currently disabled. (0x80070533) RPCMethodCallWithRetry.h, 177, This user can't sign in because this account is currently disabled. (0x80070533) RPCVaultsAdmin.cpp, 1804, This user can't sign in because this account is currently disabled. (0x80070533) RPCVaultsAdmin.cpp, 348, This user can't sign in because this account is currently disabled. (0x80070533) VaultManager.cpp, 974, This user can't sign in because this account is currently disabled. (0x80070533) Vault.cpp, 4034, This user can't sign in because this account is currently disabled. (0x80070533) Vault.cpp, 12668, This user can't sign in because this account is currently disabled. (0x80070533) VaultDBSession.cpp, 903, This user can't sign in because this account is currently disabled. (0x80070533) VaultDBSession.cpp, 843, This user can't sign in because this account is currently disabled. (0x80070533) DBSession.cpp, 552, This user can't sign in because this account is currently disabled. (0x80070533) MF_Impersonation.cpp, 506, This user can't sign in because this account is currently disabled. (0x80070533) MF_Impersonation.cpp, 570, This user can't sign in because this account is currently disabled. (0x80070533) (M-Files <M-Files version> 2023-02-03T16:23:19.449Z)
Solution
- Make sure that the user account is valid and enabled, contact your IT/Network administrator to verify the user account status.
- Use a service account that will not get disabled, with both user basic user account authentication and file data location authentication.
- It's recommended to use an automatically generated login for basic user credentials authentication.
