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

M-Files: "Class not registered" Error During an Upgrade, Attaching a Vault, or Bringing Vault Online

Last updated on 1 May 2024 · 2 min read

Admin
M-Files Admin

Overview

The following error may occur after an upgrade, when trying to attach a vault, or when trying to bring a vault online. This results in vaults not attaching or being unable to come online.
 

VaultName {A1B2C3D4-E5F6-A7B8-C9D0-E1F2A3B4C5D6}
 
Bringing the vault online failed.
Class not registered. (Class not registered)
 
DBConnectionKeepAlive.cpp, 578, Bringing the vault online failed. (0x80040120)
DBConnectionKeepAlive.cpp, 302, Bringing the vault online failed. (0x80040120)
DBConnectionKeepAlive.cpp, 388, Bringing the vault online failed. (0x80040120)
DBConnectionKeepAlive.cpp, 388, Class not registered. (Class not registered) (0x80040154)
Vault.cpp, 4192, Class not registered. (Class not registered) (0x80040154)
Vault.cpp, 3408, Class not registered. (Class not registered) (0x80040154)
Vault.cpp, 3377, Class not registered. (Class not registered) (0x80040154)
Vault.cpp, 3486, Class not registered. (Class not registered) (0x80040154)
VaultDBSession.cpp, 979, Class not registered. (Class not registered) (0x80040154)
VaultDBSession.cpp, 919, Class not registered. (Class not registered) (0x80040154)
DBSession.cpp, 578, Class not registered. (Class not registered) (0x80040154)
(M-Files <version> <timestamp>)

If this error occurs after an update, the following error may also occur in the Windows Event Viewer

Product: Microsoft OLE DB Driver for SQL Server -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor. Action SNAC_SetClientSSNLDefaults_64, entry: SNAC_SetClientSSNLDefaults, library: C:\Windows\Installer\MSIE93A.tmp
 

Solution

What has occurred here is that the installation of the SQL OLE DB drivers has been interrupted or not completed successfully. This means that the M-Files Server application cannot communicate with the SQL server DB to bring the vaults online.

The fix is as follows:

  1. On the M-Files application server machine navigate to the following folder: C:\Program Files\M-Files\VERSION\Server
  2. First run the VC_redist.x64 or VC_redist.x86 depending on the CPU architecture.
  3. Now run the msoledbsql_v18 or 19 that are in the same folder. One may complain about needing a distributable, but the other should complete successfully. Try 19 first and then 18.
  4. Then take M-Files Server Service offline and then online.
  5. Bring vaults online.

If the above does not fix the issue, reach out to M-Files Support immediately through the support portal https://m-files.force.com/s/

Do *not* attempt to uninstall the software as it can get into a lock state and require a rollback of the entire system.

Still need help?

On this page