Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Problem in client computer connection to SQL server Expand / Collapse
Author
Message
Posted Saturday, April 25, 2009 8:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 29, 2009 11:18 AM
Points: 1, Visits: 3
hello guys,


please solve my problem. i have installed sql server 2000 on a computer on my firms domain. i have developed an access application that will link to the server and import data tables from there.

on the sql server i am using port 1433

and the access vba string thaat i use is


sServer = "c-fsd-tec-21020\alpha"
sDatabase = "master"
sUser = "alpha"
sPWD = "alpha"

DBcon.ConnectionString = "Provider=sqloledb;" & _
"server=" & sServer & ";uid=" & sUser & ";pwd=" & sPWD & ";database=" & sDatabase
DBcon.CursorLocation = adUseClient





but whenever i try to connect i get the error that


"sql server does not exsist or access denied"


i have tried a lot of things and dont understand what goes wrong

Post #704457
Posted Saturday, April 25, 2009 12:26 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, April 22, 2014 6:56 AM
Points: 1,330, Visits: 1,434
Hello,

A few things to check:-

1) Can you Ping the Server from the Client?

2) Can you Login locally to the SQL Server using the User/Password combination?

3) Are there any relevant login failure messages in the SQL Server Logs? This would indicate an authentication issue, rather than a network connection problem.

Finally can you post the full error message including Error Number, Level and State?

Regards,

John Marsh


www.sql.lu
SQL Server Luxembourg User Group
Post #704505
Posted Tuesday, February 2, 2010 5:09 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, December 13, 2012 2:19 AM
Points: 36, Visits: 190
When Connection issues arise

Check using the following
1. Ping the Server ip
2. on the client PC telnet the server ip with port 1433
3. if Ping does not work check the network connectivity firewall blocking Etc.
4. If telnet does not work check the Router or even the DNS if it is transmitting between the client and the Server

5. The final check u need is as suggested check if u can locally Log in using the password and user name and ensure that remote login is enabled.
6. If the above does not work kindly copy paste the Error message and we shall try and sort you out

Post #857852
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse