Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Problem in client computer connection to SQL server


Problem in client computer connection to SQL server

Author
Message
sibtain125
sibtain125
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
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
John H Marsh
John H Marsh
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1341 Visits: 1455
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
briogene
briogene
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 194
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search