Solved

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

Posted on 2011-03-18
9
543 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 10

Author Comment

by:fm250
ID: 35169477
It is not access denied for sure. and it takes more than 10 sec.
0
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mongo DB 18 49
Deal with apostrophe in stored procedures 8 44
SQL Count issue 24 18
abs operation in sql server 15 16
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

825 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