Solved

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

Posted on 2011-03-18
9
539 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now