Re: Connection issues with ADO
- From: Stefan Berglund <keepit@xxxxxxxxxxxx>
- Date: Sat, 28 May 2005 11:58:19 -0700
On Sat, 28 May 2005 10:58:40 -0700, Frank Rizzo <nospam@xxxxxxxxxx>
wrote:
in <eq5kf66YFHA.3096@xxxxxxxxxxxxxxxxxxxx>
>Hello,
>
>I distribute an app to various folks that allows them to connect to
>various SQL Servers. I have no control over what version of ADO they
>have installed, but it's version 2.5 or higher.
>
>With ADO 2.5 the default connection protocol was named pipes. With ADO
>2.6, they've changed the default to TCP/IP.
>
>When users try to connect using ADO 2.5, sometimes the connection fails
>for varoius reasons: the user is not on the domain and the server they
>are connecting to is or they are connecting across non-trusted domains
>and so forth.
>
>So my questions are as follows:
>
>1. Will it have any repercussions if I force the connection to TCP/IP,
>by appending "Network Library=dbmssocn" to the connection string? Will
>I still be able to connect to the local machine regardless of ADO version?
>
>2. Named pipes work fine as long as you are authenticated on the
>domain. Is this a correct assumption?
>
>3. I can always use Named Pipes to connect to my local sql server. Is
>this correct?
>
>4. What about if the user's PC and the SQL Server are in the same
>workgroup. Will named pipes still work?
>
>Thanks
Named pipes will not work with any 9x based system, so your assertions
are correct if all clients/servers are NT based systems. You could
always ~encourage~ your clients to upgrade to MDAC 2.8 the way MS
~encourages~ upgrades. Use your imagination here.
---
Stefan Berglund
.
- Follow-Ups:
- Re: Connection issues with ADO
- From: Jeff Johnson [MVP: VB]
- Re: Connection issues with ADO
- References:
- Connection issues with ADO
- From: Frank Rizzo
- Connection issues with ADO
- Prev by Date: Connection issues with ADO
- Next by Date: Re: Finding out font's file name
- Previous by thread: Connection issues with ADO
- Next by thread: Re: Connection issues with ADO
- Index(es):
Relevant Pages
|