Overview
Users might run into the below error when adding a new M-Files Desktop connection. The same user can use the existing Desktop connections but adding new connections will end in an error. This error happens when the authentication method is Windows domain (Current user or Specific user).
Error stack:
M-Files 2018
Operation: Login
Vault: <vault name> {vaultGUID}
The parameter is incorrect.
MFilesSession.cpp, 1511, The parameter is incorrect. (0x80070057)
MFilesSession.cpp, 2997, The parameter is incorrect. (0x80070057)
MFilesSession.cpp, 3225, The parameter is incorrect. (0x80070057)
MFilesSession.cpp, 3779, The parameter is incorrect. (0x80070057)
MFilesSession.cpp, 4541, The parameter is incorrect. (0x80070057)
RPCMethodCallWithRetry.h, 227, The parameter is incorrect. (0x80070057)
RPCMethodCallWithRetry.h, 227, The parameter is incorrect. (0x80070057)
RPCLogin.cpp, 2481, The parameter is incorrect. (0x80070057)
RPCLoginHelper.cpp, 952, The parameter is incorrect. (0x80070057)
MF_AuthDataClient.cpp, 100, The parameter is incorrect. (0x80070057)
(M-Files <version> <timestamp>)
Solution
This issue can occur when the M-Files Desktop version is considerably older than the M-Files Server. Update the M-Files Desktop to a newer version, preferably to match the server version.
