Share via


Connection failed: SQLState:'01000' SQL Server Error:67 [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 o

Question

Tuesday, July 15, 2014 2:15 PM

Help,

setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine i get the following error:

Connection failed:
SQLState:'01000'
SQL Server Error:67
[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

I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do the same in the old server, says:

cannot connect to hbfsqlpro1\hbfsqlpro1
Additonal information a network related or instance specifc error occured while establising a connection to SQL server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL server is configured to allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)

the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

All replies (6)

Tuesday, July 15, 2014 2:39 PM âś…Answered | 2 votes

Hello,

You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.

Make sure TCP/IP is enabled.

http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx

Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.

Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.

Hope this helps.

Regards,

Alberto Morillo
SQLCoffee.com


Tuesday, July 15, 2014 3:27 PM

Detailed troubleshooting steps: How to Troubleshoot Connecting to the SQL Server Database Engine  

Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty


Wednesday, July 16, 2014 8:44 AM

OMG THank you it was because the SQL Server Browser was not turned on!! I knew it would be simple! I seriously cannot thank you enough.


Wednesday, July 16, 2014 12:45 PM

Hello,

I am glad it worked for you.

Thank you for visiting MSDN forums!

Regards,

Alberto Morillo
SQLCoffee.com


Thursday, February 1, 2018 11:58 AM

Thank you Alberto, it work after disable the firewall at sql server. 


Thursday, January 3, 2019 3:57 PM

Start SQL Server Browser service on the SQL Server computer worked for me. Thanks for sharing, Alberto.