Solved

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

Posted on 2011-03-18
9
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

734 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