Overview
A migration from one app server to another is performed, but the same SQL DB is used. Even though the OLD APP server vault is offline, some kind of connection is stored somewhere and throws the error below and the system will not come online.
M-Files Online Reporting and Data Export Vault: VaultName and {Vault GUID Here} here Unspecified error. (The server principal "mfserver {Vault GUID Here}" is not able to access the database "M-Files Database Name" under the current security context. (ERROR: 916, SQLSTATE: 08004))
Scheduler.cpp, 158, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
TaskItf.cpp, 83, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
TaskItf.h, 146, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
DatasetExport.cpp, 1056, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
DatasetExport.cpp, 1124, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
IRPCExportedDataSets.generated.cpp, 69, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
gRPCClient.cpp, 496, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
gRPCClient.cpp, 465, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
gRPCClient.cpp, 98, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
gRPC.generated.cpp, 4678, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
RPCExportedDataSets.cpp, 166, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
MCallInLoop.h, 521, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
RPCExportedDataSetsHelper.cpp, 129, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
RPCExportedDataSetsHelper.cpp, 348, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
CachedDBSession.cpp, 1201, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
MCommand.h, 584, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
MCommand.h, 843, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
MCommand.h, 801, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
MCommand.h, 583, Unspecified error. (The server principal ""Vault Name and {GUID} Here"" is not able to access the database ""Vault Name Here"" under the current security context. (ERROR: 916, SQLSTATE: 08004)) (0x80004005)
(M-Files version here)
Solution
The fix is very simple. Detach the vault from the OLD APP server. If the OLD APP server is not necessary, all M-Files Services can be stopped also.
