Overview
When trying to access an object or affected features in M-Files it will throw an error similar to:
CoSnapInComponent.cpp, 814, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) CoSnapIn.cpp, 917, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) Item_ValueList.cpp, 472, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) Item_ValueList.cpp, 657, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) Item_ValueList.cpp, 703, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) DlgValueListContents.cpp, 179, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) DlgOwnedValueListItems.cpp, 502, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) InstallationInfo.cpp, 623, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) InstallationInfo.cpp, 677, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) RegistryHelper.cpp, 1934, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD) RegistryHelper.cpp, 1532, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\19.3.7499.3\. (0x800434BD)
This error occurs when M-Files is looking for registry entry under an incorrect or missing version. This can be caused by leaving the Admin Tool or another service running during an update of M-Files.
Solution
You can resolve this by re-registering the M-Files API and then restarting the M-Files server or services.
To register API run command prompt as an administrator and run following commands:
Regsvr32.exe "C:\Program Files\M-Files\<version>\Common\MFilesApi.dll" Regsvr32.exe "C:\Program Files\M-Files\<version>\Common\MFilesApi64.dll"
