Solved

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

Posted on 2007-11-22
5
1,030 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

Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

Question has a verified solution.

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

As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 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