Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Leading or Trailing Spaces in ODBC Settings Results in Failed Login

Last updated on 27 June 2024

Admin
M-Files Admin

Overview

When setting up a Data Source and inputting the values for the server, the user name, and the password, there cannot be any leading or trailing spaces. The Administrator setting up the connection may see the following error or something similar.

image.png

Solution

When setting up a new Data Source from the ODBC menu options, the Server name cannot have a leading or trailing space. For example:  the name "my.sqlserver.domain " is seen differently than "my.sqlserver.domain"

image.png
 

Once the connection information is entered correctly try the connection again.

If the issue persists then the IP addresses should also be checked.  A blocked or non-whitelisted IP could cause the SQL database to not be detected.  Similarly, the whitelisted IP address could be incorrect because the external address has changed and needs to be updated.

Still need help?

On this page