Odbc Connection Failed Error 17
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings connection failed sqlstate 01000 sql server error 10060 and policies of this site About Us Learn more about Stack Overflow connection failed sqlstate 01000 sql server error 53 the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users connection failed sqlstate 01000 sql server error 2 Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it
Sqlstate 08001 Sql Server Error 2
works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How do I get this SQL Server ODBC Connection working? up vote 25 down vote favorite 7 Note: I've obviously changed the server names and IPs to fictitious ones. Here's what's going on. I've got a server, which I'm calling MYSERVER, connection failed sqlstate 08001 sql server error -1 running Microsoft SQL Server Express 2005. Right on this server itself, I've got an ODBC connection set up pointing at itself, and that already works perfectly. I log in using SQL Server Authentication (not Windows authentication), and it's set up like this: Like I said, that one works. But next, I've got another computer which is on a totally different domain/not on the intranet, that needs to access this same SQL Server hosted on MYSERVER. Because it's on a different domain, it doesn't recognize the name "MYSERVER"; I have to point it at the IP address of MYSERVER, which we'll say is 123.456.789.012. But the ODBC connection doesn't seem to work there. I tried setting it up like this: This doesn't work. When I put in the username and password and press Next, it stalls for a good 10 to 20 seconds, and then finally comes back with the following error: Connection failed: SQLState: '01000' SQL Server Error: 1326 [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState: '08001' SQL Server Error: 17 [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 22 Oct 2016 05:58:52 GMT by s_wx1206 (squid/3.5.20)
the previous tutorial. After clicking Next on the SQL login information screen, ODBC manager will try to connect to http://dba.fyicenter.com/faq/sql_server_2/Getting_Connection_failed_Error_on_DSN_Creation.html 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] ConnectionOpen(Connect()). Connection failed: SQLState: '08001' SQL Server Error: 17 [Microsoft][ODBC SQL Server Driver][DBNETLIB] SQL Server does not exist or access denied. See sql server the picture below: 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 sql server error 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...) What Is Open Database Communication (ODBC)? How To Add a New DSN with the ODBC Driver for SQL Server? How To Define the Name and Server for a new DSN? How To Provide Login Information for a New ODBC DSN? Why Are You Getting Errors When Creating a New ODBC DSN? What Are the Requirements on SQL Server Network Connections? How To Start SQL Server Browser Service? How To Enable TCP/IP Protocol on a SQL Server? How To Verify the Port Number of the SQL Server? How To Configure ODBC DSN with Different Port Numbers? How To Configure and Test ODBC DSN Settings? How To Connect MS Access to SQL Servers through ODBC? How Can Windows Applications Connect to SQL Servers via ODBC?
Related Articles: More... Other Tutorials/FAQs: More... Related Resources: More... Selected Jobs: More...