Dougie Brown
2007-04-26 14:54:00 UTC
Hi
We're using SQLOLEDB to connect to a SQL Server 2000 database. One server
and the development machine uses TCP/IP if Network Library=dbnetlib is set in
the connection string, but two servers still use Named Pipes.
The Network Client Utility has been used to enable both TCP/IP and Named
Pipes in that order on all machines but still two use Named Pipes!
If Network Library is set to dbmssocn then all machines connect via TCP/IP.
The documentation states that Network Library should be set to the relevant
dll name without the extension. But dbmssocn is an old dll which I thought
was replaced with dbnetlib and no longer shipped as part of MDAC. What
happens on a clean machine where dbmssocn does exist?
What value should Network Library be set to force the use of TCP/IP?
Why do some machines work with dbnetlib whilst others fail?
I've read that dbnetlib will change the protocol if the first one fails, is
there anyway to log these errors?
Any idea how to troubleshoot this problem?
Thanks for your help!
Cheers
Doug
We're using SQLOLEDB to connect to a SQL Server 2000 database. One server
and the development machine uses TCP/IP if Network Library=dbnetlib is set in
the connection string, but two servers still use Named Pipes.
The Network Client Utility has been used to enable both TCP/IP and Named
Pipes in that order on all machines but still two use Named Pipes!
If Network Library is set to dbmssocn then all machines connect via TCP/IP.
The documentation states that Network Library should be set to the relevant
dll name without the extension. But dbmssocn is an old dll which I thought
was replaced with dbnetlib and no longer shipped as part of MDAC. What
happens on a clean machine where dbmssocn does exist?
What value should Network Library be set to force the use of TCP/IP?
Why do some machines work with dbnetlib whilst others fail?
I've read that dbnetlib will change the protocol if the first one fails, is
there anyway to log these errors?
Any idea how to troubleshoot this problem?
Thanks for your help!
Cheers
Doug