Solved

MS SQL client connection: login failed with error 1.  ado error 17

Posted on 2011-03-18
9
541 Views
Last Modified: 2012-05-11
I have a one station that can't connect to a sql server with an application. it has windows 7 home prm. (others PCs connect fine)
the error is:
login failed with error 1 could not access database server ......
 ado error 17  server doesn't exist  or acess denied

when I go to odbc I can add system dsn or user dsn to that server with success.  but could not get this application to work. any ideas.
0
Comment
Question by:fm250
  • 5
  • 4
9 Comments
 
LVL 39

Assisted Solution

by:BrandonGalderisi
BrandonGalderisi earned 500 total points
ID: 35169438
Is the application connecting via TCP/IP or named pipes?  Does it make the connection via IP, netbios name or FQDN (fully qualified domain name)?  Is the SQL Server local or on a different server?
0
 
LVL 10

Author Comment

by:fm250
ID: 35169452
tcp/ip,
I have tried name and ip address and it didnot work.
sql server in differen't server.

thanks
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35169470
How long does it take to report "SQL Server does not exist or access is denied".  If it's fairly immediate, it's the access is denied.  If it takes 5-30 seconds, it's the does not exists or possibly more accurate "i don't know where it is".
0
 
LVL 10

Author Comment

by:fm250
ID: 35169477
It is not access denied for sure. and it takes more than 10 sec.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35169483
Ok.  then SQL Server just doesn't know how to find it or possibly the firewall is blocking it.  

Is this a home brew application or a commercial application?  Does it work on different machines?  Have you tried "TEMPORARILY" disabling the windows firewall on the windows PC, or, adding an exception for this application?
0
 
LVL 10

Author Comment

by:fm250
ID: 35169491
NO,
other pc are connecting ok, AV was disabled still the same result.

0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35169606
AV or windows firewall?  Is UAC enabled and did you try right click > run as administrator.  Are the other PCs W7?
0
 
LVL 10

Accepted Solution

by:
fm250 earned 0 total points
ID: 35381155
It was something to do with application.
0
 
LVL 10

Author Closing Comment

by:fm250
ID: 36116714
It was something to do with application itself. I reinstalled it and it worked. something was missing.!!!
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Read about achieving the basic levels of HRIS security in the workplace.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now