DSN-less ODBC connection error

G

Guest

I tried using Doug Steele's DSN-less connection code in VBA found on
http://www.accessmvp.com/DJSteele/DSNLessLinks.html. However, I am getting
the following error message:

Connection failed:
SQLState: '01000'
SQL Server Error: 53
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Connection failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
access denied.

Does anyone know how I can troubleshoot this problem?

Thanks,
Melanie
 
T

Terry Kreft

What are you using this for?

It looks as if you are using it to create an ADO connection to connect to
SQL Server, if so then you are using the wrong provider.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top