SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.


[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.

Author
Message
Lizzy Gradidge
Lizzy Gradidge
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 112
I have installed sql2005 on a windows 2003 server. I can connect to the server using sql Server management studio and either windows or sql authentication .

However if I try to connect to the server via Query analyzer, odbc connection or my client software which uses ADO I get :

"[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied."

or
"Connection Failed
Sql State '01000'
sql server Error :233
[Microsoft][ODBC SQL Server Driver][DBNETLIB]Connectionopen(Connect().
Connection failed:
sqlstate'08001'
sqlserver error 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied."


I have checked the firewall is switched off, I can ping the server and I can remote desktop to the server, port 1433 is open and it listens on this port.

I also have two other sql2005/windows2003 servers on the network and in same domain both of which connect via query anaylyzer and odbc connections.

If I can connect using sql Server management studio can anyone explain why I am failing to connect via odbc & ADO?
Lizzy Gradidge
Lizzy Gradidge
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 112
Whoooo hooo!! found an answer meself......

I searched on this msdn forum

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=129105&SiteID=1

and discovered that the Surface Area Configuration Manager? Remote connections are disabled by default. Look at the Database Engine -> Remote Connections option.

In my case I had to set local and remote connections to using both TCP/IP and Named pipes

Job done!!!

hope this helps someone
Big Data Man
Big Data Man
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3468 Visits: 750
Hi,

Yep, this is the default behavior of SQL Server 2005, as you have already discovered.

Great result!

Thanks,
Phillip Cox
MCITP - DBAdmin
Robert Dean Waibel, Jr
Robert Dean Waibel, Jr
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 6
THANK YOU!

Suddenly my Dev server was not allowing app connections.

Your solution was right ON!

/Rob


Kindest Regards,

Robert Dean Waibel, Jr
ilxresorts.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search