[ASP/VBscript] Test for MDAC version?

[ASP/VBscript] Test for MDAC version?

am 07.11.2005 12:50:57 von Marja Ribbers

Hi,

We have a ASP/VBscript webapplication which runs without problems on =
lots of webservers.=20
However, recently we installed the application on a shared hosting =
account for one of our clients and we've had nothing but trouble with =
it.

Currently we're having some vague problems again and I would like to =
verify that the webserver is running MDAC 2.6 or higher.
Can that be tested online with ASP?

Regards,=20
--=20
Marja Ribbers-de Vroed

Re: [ASP/VBscript] Test for MDAC version?

am 07.11.2005 13:18:38 von reb01501

Marja Ribbers wrote:
> Hi,
>
> We have a ASP/VBscript webapplication which runs without problems on
> lots of webservers.
> However, recently we installed the application on a shared hosting
> account for one of our clients and we've had nothing but trouble with
> it.
>
> Currently we're having some vague problems again and I would like to
> verify that the webserver is running MDAC 2.6 or higher.
> Can that be tested online with ASP?
>
You can look at the Connection's Version property, but that is no guarantee:
the server could have a corrupted MDAC installation, a coondition that can
only be diagnosed using the free Component Checker available at
msdn.microsoft.com.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: [ASP/VBscript] Test for MDAC version?

am 07.11.2005 16:48:38 von Marja Ribbers

Thank you for your reply.

We checked it with:

set cn=3DServer.CreateObject("ADODB.Connection")
Response.Write cn.Version

and it turns out this particular server was still running MDAC 2.5, so =
that may well have been the problem.

The host has updated the server to MDAC 2.81 now, so I hope everything =
will run smoothly from now on.

--=20
Marja