Share via

How to fix ODBC test result failed

SuperCoder 376 Reputation points
2025-08-05T22:23:26.59+00:00

When we test our ODBC configuration it fails. This use to work fine, but suddenly it stopped. Here is the error message.

"Microsoft ODBC Driver for SQL Server Version 17.10.0006

Running connectivity tests... Attempting connection [Microsoft][ODBC Driver 17 for SQL Server]Unable to complete login process due to delay in opening server connection TESTS FAILED!"

The ODBC information is correct, but the connection to the SQL Server fails. Any ideas?

SQL Server Database Engine

Answer recommended by moderator

Erland Sommarskog 134.7K Reputation points MVP Volunteer Moderator
2025-08-06T19:59:23.9566667+00:00

I think you first need to investigate how you can get better diagnostics. The delay can be due to many reasons:

  • The SQL Server instance is not reached at all (not running, firewall blocking etc).
  • The instance is reached, but login cannot be completed due to insufficient resources, for instance no worker threads available.
  • The instance is reached login cannot be completed due to external reasons, for instance issues with contacting the AD in case of Windows authentication.

You should also try alternate means of connect from the same machine, for instance with SQLCMD (which also uses ODBC).

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.