Overview
You are unable to bring the vault online or otherwise establish a connection to an external source and get an error indicating multiple connections not being allowed. See the error below:
CoSnapIn.cpp, 737, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
CoSnapIn.cpp, 981, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
Item_DocumentVault.cpp, 2608, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
Item_DocumentVault.cpp, 2798, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
RPCMethodCallWithRetry.h, 177, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
RPCMethodCallWithRetry.h, 177, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
RPCVaultsAdmin.cpp, 1799, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
RPCVaultsAdmin.cpp, 347, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
VaultManager.cpp, 921, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
Vault.cpp, 3825, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
VaultDataFiles.cpp, 1955, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
NetworkAccessManager.cpp, 73, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
NetworkAccessManager.cpp, 165, Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. (0x800704C3)
This is a Microsoft error that can occur if there is already an active or cached connection using different credentials. You can see this article for more information:
If two or more vaults are connecting to the same external location with different credentials, or if an admin user has mapped an external connection using their own credentials, this can create a conflict and result in the above error.
Solution
The solution is to disconnect the other active connections or change the credentials being used.
Check the vaults' filedata location, any connections to external sources, and any external repository connections, and make sure there are no separate vault connections to the same resource using different credentials.
Vault filedata location: in M-Files Admin: Right click the vault > Properties > Advanced > Define… (depending on the database engine being used) > Advanced. If the Separate location for file data option is checked, verify that all connections to this repository are using the same credentials.
Connections to external sources: in M-Files Admin: expand the vault > Connections to External Sources > File Sources > Properties > Set Account… and verify that all connections to this source are using the same credentials. Also check Connections to External Sources > Mail Sources > Properties > General > Configuration > Login information.
External repository connections: in M-Files Admin: expand the vault > Configurations > External Repositories. Different repository sources will have slightly different setting trees, but each should be checked that the account used to access the repository is consistent across all connections.
If you are unable to locate the source of the different credentials, a vault restart can usually clear extra connections. Note, however, that this can cause whatever connections are removed to no longer function, which may result in loss of functionality until they are re-authenticated.
