Overview
When the VaultDNSConfig points to a non-existing vault, you can run into the following kinds of errors with the Web clients and the Mobile client:
M-Files Web
M-Files Web displays this type of page when accessing the login page:
You'll find an error like this in the M-Files server computer's Windows Event Viewer's Application log:
Due to a user or client operation, an error response with the following reference ID was sent to the client:
6961a12b-d94a-48a9-b14f-76d772a92327
If the error requires further investigation, see below for detailed error information.
Exception Information
Message: The specified document vault does not exist.
Vault ID: {F2025132-FB11-44D3-8947-2787327DB7AF}
URL: /grpc/v1/get-authentication-configuration
Method: POST
Status Code: 500
Stack Trace
gRPC.generated.cpp, 10563, The specified document vault does not exist. (0x80040020)
RPCLogin.cpp, 1567, The specified document vault does not exist. (0x80040020)
RPCLoginHelper.cpp, 3250, The specified document vault does not exist. (0x80040020)
RPCLoginNvsHelper.cpp, 373, The specified document vault does not exist. (0x80040020)
RPCLoginNvsHelper.cpp, 1819, The specified document vault does not exist. (0x80040020)
RPCLoginNvsHelper.cpp, 2113, The specified document vault does not exist. (0x80040020)
VaultManager.cpp, 2370, The specified document vault does not exist. (0x80040020)
VaultManager.cpp, 2350, The specified document vault does not exist. (0x80040020)
VaultManager.cpp, 2350, Vault ID: {F2025132-FB11-44D3-8947-2787327DB7AF} (0x80040120)
(M-Files 25.1.14445.5 2025-04-28T07:29:44.135Z)
Classic Web
When accessing the Classic Web client, the login screen never loads, nor are you redirected to your Identity Provider, if you are using federated authentication. The browser loads a blank page and the page URL ends in "login.aspx?error=true".
You'll find an error like this in the M-Files server computer's Windows Event Viewer's Application log:
Uncaught exception in M-Files Web:
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Runtime.InteropServices.COMException (0x80040001): The binding handle is invalid.
CoMFilesServerApplication.cpp, 2173, The binding handle is invalid. (0x800706A6)
(M-Files 25.3.14681.8 2025-04-25T09:18:29.254Z)
M-Files Mobile
In the Mobile client, the error "The binding handle is invalid" is displayed directly on the mobile device's screen.
Solution
These errors occur when the VaultDNSConfig in the M-Files Server's registry points to a non-existing document vault. The document vault may have been deleted, or there is an error in the vault GUID used in the VaultDNSConfig setting's value.
To fix the error, review the VaultDNSConfig setting in HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<VERSION>\Server\Common. Remove or fix any erroneous vault references.
After fixing the vault references, restart IIS to make sure the new configuration becomes effective.
For more information about VaultDNSConfig, please refer to the M-Files user guide.
