Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-03-18
9
Medium Priority
?
571 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 2000 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

971 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