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
Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

839 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