Groups | Blog | Home
all groups > sql server connect > june 2007 >

sql server connect : SQL Server doesn not exist or access denied


Absolutely
6/4/2007 1:14:16 PM
Getting "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server doesn not exist
or access denied" when trying to connect to SQL 2005 SP2 from a workstation.
From the SQL server itself there are no problems.

The SQL server has a SQL 2005 named instance and SQL Express on it. The SQL
Express is used for a home grown app and the SQL 2005 is for a database
application. The 2005 is configured to allow remote connections and there
is nothing on the server or workstations that would stop the connection.
Tried both Named Pipes and TCP/IP without success. Also unable to setup an
ODBC connection to the 2005.

I've installed 2005 several times and in some cases with SQL Express also on
the same box and this is the first time I've had this problem. Everything
appears as though it should work, but it just won't.

Rick Byham, (MSFT)
6/4/2007 2:28:04 PM
Is it the default instance or the named instance that you can't connect to?
Is the SQL Express version 2005 also?
What port is SQL Server listening on? Can you connect to the IP address,port
number like SERVER=tcp:myserver,1433
Is the SQL Server Browser Service started on the server?
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]
William (Bill) Vaughn
6/6/2007 10:48:50 AM
Listen to Rick... and read the entries in my blog that include a getting
connected checklist.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

AddThis Social Bookmark Button