Groups | Blog | Home
all groups > sql server clients > september 2007 >

sql server clients : Sql Native Client - Can't reach by instance name


Kevin Chambers
9/26/2007 11:31:29 PM
Hi there--

I'm connecting to SQL Server Express from MS Access via ADO on a
number of older workstations. Of three workstations, two connect just
fine with a connection string like this:
Provider=sqlncli;Network Library=DBMSSOCN;Initial Catalog=MyDb;Data
Source=server\sqlexpress;Integrated Security=SSPI

However, on one machine (W2K), the above does not work, but this does:
Provider=sqlncli;Network Library=DBMSSOCN;Initial Catalog=MyDb;Data
Source=server,2295;Integrated Security=SSPI

There appears to be a problem with getting the connection redirected
to the named instance. It seems like the native client driver should
be all I need for this to happen, but it ain't. Anyone know what's
missing here?

Thanks in advance for any help.

KC
Tibor Karaszi
9/27/2007 12:00:00 AM
My guess is that something is blocking port 1434 (udp) from that client to the Express instance.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


[quoted text, click to view]
Kevin Chambers
9/28/2007 8:50:47 PM
Thanks for the reply. Any suggestions on a method of testing access
to a specific port via a particular protocol? I've never needed to go
past using plain old ping.

On Sep 26, 11:48 pm, "Tibor Karaszi"
[quoted text, click to view]
Tibor Karaszi
9/29/2007 7:38:12 PM
Sorry, that it a tad too much IP for me. Perhaps someone else can jump in here, or ask in a
networking group?

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


[quoted text, click to view]
AddThis Social Bookmark Button