Re: Connect to SQL Sererv thru Named Pipes
- From: "Aruna Tennakoon" <aruna.tennakoon@xxxxxxxxx>
- Date: Mon, 20 Jun 2005 08:54:55 +0600
Hi Andrew,
I tried, It working.. Thanks alot for your help...
"Andrew D. Newbould" <newsgroups@xxxxxxxxxxxxxxxxx> wrote in message
news:IfASBLEHhBtCFwqe@xxxxxxxxxxxxxxxxxxxxxxxx
> In message <#O4Jmn8cFHA.2552@xxxxxxxxxxxxxxxxxxxx>, Aruna Tennakoon
> <aruna.tennakoon@xxxxxxxxx> writes
>>Hi guys,
>>
>> Ijust wanted to know how to configure the SQL Server to use Named Pipes
>> and
>>to acced SQL Server via Named Pipes from VB 6.
>>
>>Thanks for your time,
>>-Aruna
>
> SQL Server and MSDE both install by default with Named Pipes activated
> (its their default protocol). In order to use TCP/IP protocols you need to
> specify at install time, or use Enterprise Manager to change, or use
> Network Tools to change.
>
> Any DSN, ODBC or OLEDB connection string used to connect to SQL Server
> will default to using named pipes unless you tell it otherwise using the
> "Network Library" parameter. For example:
>
> Provider=sqloledb;Data Source=190.190.200.100,1433;Network
> Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;
>
> The DBMSSOCN tell the OLEDB driver to use TCP/IP instead of the default
> named pipes (). Other choices for this parameter include:
>
> Name Network library
> dbnmpntw - Win32 Named Pipes
> dbmssocn - Win32 Winsock TCP/IP
> dbmsspxn - Win32 SPX/IPX
> dbmsvinn - Win32 Banyan Vines
> dbmsrpcn - Win32 Multi-Protocol (Windows RPC)
>
> There are pros and cons as normal for which protocol to use however IMO
> anything that is not standalone on a single PC you would be better using
> TCP/IP for speed, performance and flexability. Check out
> http://www.connectionstrings.com for more ideas on connection strings.
>
> Kind Regards,
>
> --
> Andrew D. Newbould E-Mail: newsgroups@xxxxxxxxxxxxxxxxx
>
> ZAD Software Systems Web : www.zadsoft.com
.
- References:
- Connect to SQL Sererv thru Named Pipes
- From: Aruna Tennakoon
- Re: Connect to SQL Sererv thru Named Pipes
- From: Andrew D. Newbould
- Connect to SQL Sererv thru Named Pipes
- Prev by Date: VB 6 and Web Browser
- Next by Date: about listview
- Previous by thread: Re: Connect to SQL Sererv thru Named Pipes
- Next by thread: Microsoft Visual Studio Discussion Forum
- Index(es):
Relevant Pages
|