Solved

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

Posted on 2007-11-22
5
1,034 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 250 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 250 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

627 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