The following procedure describes how to test a network connection when using named pipes as the IPC mechanism.
net view \\servername
where
For example, to check the connection between a named pipes client and a server named \\GIZMO, type the following on the client:
net view \\GIZMO
If the connection is open, the output looks something like this:
Shared resources at \\GIZMO SQL Server Sharename Type Used as Comment ---------------------------------------------------- PUBLIC Disk Public Files The command completed successfully.
netuse \\servername\IPC$
where
For example:
net use \\GIZMO\IPC$ The command completed successfully
If the connection between the client workstation and the server computer is open but you still cannot connect to SQL Server, try testing the network and local named pipes using the makepipe and readpipe utilities, as described in the following sections.