Home >> FAQs/Tutorials >> SQL Server FAQ

SQL Server FAQ - Getting "Connection failed" Error on ODBC DSN Creation

By: FYIcenter.com

(Continued from previous topic...)

Why Are You Getting Errors When Creating a New ODBC DSN?

Continue from the previous tutorial. After clicking Next on the SQL login information screen, ODBC manager will try to connect to the SQL Server with the login information you provided.

After a period of waiting time, you may get error message box saying that:

Connection failed:
SQLState: '01000'
SQL Server Error: 53
[Microsoft][ODBC SQL Server Driver][DBNETLIB]

Connection failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]
   SQL Server does not exist or access denied.

See the picture below:
    ODBC DSN Connection Failed

Three possible reasons for the failing:

  • Wrong server name - You provided an incorrect server name.
  • SQL Server not configured to take a network connection - You need to check the SQL Server configuration.
  • Wrong login name or password - You provided incorrect login name or password.

The first and third reasons are easy to validate and correct. The second reason requires further investigation. Continue with the next tutorial to configure your SQL Server to take a network connection.

(Continued on next topic...)

  1. What Is Open Database Communication (ODBC)?
  2. How To Add a New DSN with the ODBC Driver for SQL Server?
  3. How To Define the Name and Server for a new DSN?
  4. How To Provide Login Information for a New ODBC DSN?
  5. Why Are You Getting Errors When Creating a New ODBC DSN?
  6. What Are the Requirements on SQL Server Network Connections?
  7. How To Start SQL Server Browser Service?
  8. How To Enable TCP/IP Protocol on a SQL Server?
  9. How To Verify the Port Number of the SQL Server?
  10. How To Configure ODBC DSN with Different Port Numbers?
  11. How To Configure and Test ODBC DSN Settings?
  12. How To Connect MS Access to SQL Servers through ODBC?
  13. How Can Windows Applications Connect to SQL Servers via ODBC?

Related Articles:


Other Tutorials/FAQs:


Related Resources:


Selected Jobs: