RE: SQLOLEDB always uses Named Pipes
- From: changliw@xxxxxxxxxxxxxxxxxxxx (Charles Wang[MSFT])
- Date: Fri, 27 Apr 2007 07:25:54 GMT
Hi Doug,
You may check the ProtocolOrder value in the following registry key to see
if the order is "tcp np":
HKLM\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib
If the order is right, but your clients still prefer Named Pipes, there
might be a protocol cache in Network Library.
In this case, you may try the following three methods:
1. Disable the Named Pipes protocol in the client machine by cliconfg.exe;
2. Explicitly specify tcp: prefix to your server instance name.
For example:
--specify TCP/IP as the communication protocol
osql /Stcp:CharlesSQL-01 /E
--specify Named Pipes as the communication protocol
osql /Snp:CharlesSQL-01 /E
3. Add an alias with TCP/IP protocol by using cliconfg.exe and use the
alias to connect to your SQL Server.
Hope this helps. Please feel free to let me know if you have any questions
or concerns.
Have a good day!
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
.
- Follow-Ups:
- RE: SQLOLEDB always uses Named Pipes
- From: Dougie Brown
- RE: SQLOLEDB always uses Named Pipes
- Prev by Date: Re: SQLOLEDB always uses Named Pipes
- Next by Date: Query regarding Multiple parameter set using OLEDB
- Previous by thread: Re: SQLOLEDB always uses Named Pipes
- Next by thread: RE: SQLOLEDB always uses Named Pipes
- Index(es):
Relevant Pages
|