Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

named pipes vs TCP/IP (tcp dosent work and names pipes do, why?)

Posted on 2007-11-22
5
Medium Priority
?
1,042 Views
Last Modified: 2008-09-13
Hi,
I have a client who connects a client app to a SQL 2000 server. Recently 3 of his client computers were unable to connect to the SQL server. the error was 'the server dosent exist or you dont have permissions'.  When checking the clients ODBC settings they were set to connect using TCP/IP (just like the other 30 odd clients that are still successfully connecting). I changed the connection protocol to named pipes and the faulting workstations connected instantly.

Could you shed any light on why these 3 computers will only connect using names pipes and all the others connect fine using TCP/IP?  The workstations are a mix of Windows XP Pro and Vista Business Edition and all are connecting through a Windows 2003 domain to a Microsoft 2000 SQL server sat on a Windows 2000 Server box.

thanks in advance.
Mark.
0
Comment
Question by:markkindred
5 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 1000 total points
ID: 20333463
on the clients, go to a command prompt and try:

TELNET <Servername> 1433

(this tests TCP/IP)

Then try

TELNET <Servername> 445

(This tests named pipes)
0
 
LVL 25

Assisted Solution

by:imitchie
imitchie earned 1000 total points
ID: 20333784
check that tcp/ip is still enabled in   start->run->cliconfg
has anything changed on the firewalls? dns? windows update? software installs?
0
 
LVL 3

Expert Comment

by:abhijit_k
ID: 20334107
Please Add Entry to HostFile on the Client Machine
Go to -- Run->Drivers->etc->open host file and add the entry in the last with Server Ip and Name.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question