Thanks for the information. I tried using ‘SQLNCLI’ but when I did I received
an error message:
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.
I also checked to see if TCP/IP is enabled and it is. I noticed that there
is an option to enable both TCP/IP and name pipes. Is that an option I should
enable instead? Did I mention that I am accessing the database from an ASP to
VB6 DLL to SQL Server 2K5? I’m not sure if that matters but I thought I
should mention it. Any other suggestions would be greatly appreciated.
Thanks
Guy
Both libraries should no be needed.
So this connection string is in the VB6 dll? No, it makes no difference.
I'm still in the dark as to the failure mode when using SQLOLEDB. What
is the error message?
Do you have physical access to the machine running the web server? If
so, can you ping the sql server?
> Thanks for the information. I tried using 'SQLNCLI' but when I did I
> received an error message:
[quoted text clipped - 40 lines]
>> header is my spam trap, so I don't check it very often. You will get
>> a quicker response by posting to the newsgroup.

Signature
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Guy - 14 Mar 2008 16:50 GMT
So this connection string is in the VB6 dll? Yes
What is the error message? Provider cannot be found. It may not be properly
installed.
Do you have physical access to the machine running the web server? Yes
If so, can you ping the sql server? Yes
> Both libraries should no be needed.
> So this connection string is in the VB6 dll? No, it makes no difference.
[quoted text clipped - 47 lines]
> >> header is my spam trap, so I don't check it very often. You will get
> >> a quicker response by posting to the newsgroup.
Bob Barrows [MVP] - 14 Mar 2008 17:10 GMT
> So this connection string is in the VB6 dll? Yes
>
> What is the error message? Provider cannot be found. It may not be
> properly installed.
I thought that was the error you received when using SQLNCLI? You are
also getting it when using SQLOLEDB? If so, you need to reinstall or
upgrade MDAC on that server.
> Do you have physical access to the machine running the web server? Yes
>
> If so, can you ping the sql server? Yes
So it's probbly not a network issue.

Signature
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.