Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

Cannot connect to SQL Server 2000 through client

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Excel 009 - 19 Jul 2008 05:46 GMT
I have a SQL Server set up as Windows Authentication. I am trying to
use another PC (client) to connect to the server, but kept getting the
following message:

A connection could not be established to XXX (the server name)

Reason: Login failed for user 'XXX\Guest'

Please verify SQL Server is running and check your SQL Server
registration properties....

The SQL Server is running for sure because I can access it using
Enterprise Manager on the server.

Please help.
Linchi Shea - 19 Jul 2008 15:34 GMT
First, check in the errorlog what network protocols the server is listening on.

For instance, towards the beginning of the errorlog, it may say something
like the following {the following was taken from SQL2005. But SQL2000 should
be similar):

Server is listening on [ 172.16.76.162 <ipv4> 50000].
Server named pipe provider is ready to accept connection on [
\\.\pipe\$$\NYCSQL01\sql\query ].

Then, ping the IP from the client if teh srever listens on the IP.
Try to connect to the IP and the port with osql from the client:

cmd>osql -S172.16.76.162,50000 -Uabc -Pabc

If that all works, try connecting with the network name instead of IP:

cmd>osql -SNYCSQL01,50000 -Uabc -Pabc

This should help narrow the issue down.

Linchi

> I have a SQL Server set up as Windows Authentication. I am trying to
> use another PC (client) to connect to the server, but kept getting the
[quoted text clipped - 11 lines]
>
> Please help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.