Overview
When configuring an external database connection using the M-Files OLE DB connector vault application, you may run into the following error while authenticating the connection on the connector application's dashboard:
Connection to the external database could not be established. (0x8013150)
Login failed for user '<USERNAME>'. (0x80040E4D)
Solution
Verify the following:
- The server address for the database server is correct and can be resolved to an IP by the computer running M-Files Server or M-Files Ground Link.
- Network connectivity is in place from the M-Files Server or M-Files Ground Link computer to the database server.
- The credentials work when logging in to the database locally.
If all of the above checks out, then change "Credential Keywords" setting from its default value "Short" to "Long":
