Invalid class string error

Hi. We're getting this error from an ASP app on an XP Pro system,

Server object, ASP 0177 (0x800401F3)
Invalid class string
/working_dbase/mathlab.asp, line 158

It's blowing up on the line where we instantiate an ADODB object (please see
below). The code runs fine on various other machines but bombs out on this
box. We've played with permissions to no avail. The IUSER account has List +
Read + Execute permissions. We even granted full control to Everyone. Is
there a way to reinstall the ASP engine on that machine? Your help is much
appreciated. Thanks.

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString= "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=C:\data\mathlab.mdb;"
objConn.Open
dw [ Do, 04 Januar 2007 22:06 ] [ ID #1584765 ]

Re: Invalid class string error

"dw" <cougarmana_NOSPAM_ [at] uncw.edu> wrote in message
news:OIh37QEMHHA.4384 [at] TK2MSFTNGP03.phx.gbl...
> Hi. We're getting this error from an ASP app on an XP Pro system,
>
> Server object, ASP 0177 (0x800401F3)
> Invalid class string
> /working_dbase/mathlab.asp, line 158
>
> It's blowing up on the line where we instantiate an ADODB object (please
> see below). The code runs fine on various other machines but bombs out on
> this box. We've played with permissions to no avail. The IUSER account has
> List + Read + Execute permissions. We even granted full control to
> Everyone. Is there a way to reinstall the ASP engine on that machine? Your
> help is much appreciated. Thanks.
>
> Set objConn = Server.CreateObject("ADODB.Connection")
> objConn.ConnectionString= "Provider=Microsoft.Jet.OLEDB.4.0; Data
> Source=C:\data\mathlab.mdb;"
> objConn.Open
>
>

Set objConn = Server.CreateObject("ADODB.Connection")
ConnectionString= "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=C:\data\mathlab.mdb;"
objConn.Open ConnectionString

--
Mike Brind
Mike Brind [ Do, 04 Januar 2007 22:27 ] [ ID #1584766 ]

Re: Invalid class string error

dw wrote:
> Hi. We're getting this error from an ASP app on an XP Pro system,
>
> Server object, ASP 0177 (0x800401F3)
> Invalid class string
> /working_dbase/mathlab.asp, line 158
>
> It's blowing up on the line where we instantiate an ADODB object
> (please see below). The code runs fine on various other machines but
> bombs out on this box.
It sounds as if you need to install/upgrade MDAC on this machine.

--
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.
reb01501 [ Do, 04 Januar 2007 22:33 ] [ ID #1584767 ]

Re: Invalid class string error

Thanks, Bob and Mike. We think the MDAC is the issue; however, when we
download the MDAC and try to run it, it gives error about the machine having
the latest version already. Is there a way to force the MDAC installation?
Maybe a refresh of the DLLs will fix this.

"Bob Barrows [MVP]" <reb01501 [at] NOyahoo.SPAMcom> wrote in message
news:%23awoFgEMHHA.448 [at] TK2MSFTNGP04.phx.gbl...
> dw wrote:
>> Hi. We're getting this error from an ASP app on an XP Pro system,
>>
>> Server object, ASP 0177 (0x800401F3)
>> Invalid class string
>> /working_dbase/mathlab.asp, line 158
>>
>> It's blowing up on the line where we instantiate an ADODB object
>> (please see below). The code runs fine on various other machines but
>> bombs out on this box.
> It sounds as if you need to install/upgrade MDAC on this machine.
>
> --
> 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.
>
>
dw [ Do, 04 Januar 2007 23:03 ] [ ID #1584768 ]

Re: Invalid class string error

Go back to msdn and download the Component Checker. Follow the instructions
to have it check for problems with your MDAC installation.
dw wrote:
> Thanks, Bob and Mike. We think the MDAC is the issue; however, when we
> download the MDAC and try to run it, it gives error about the machine
> having the latest version already. Is there a way to force the MDAC
> installation? Maybe a refresh of the DLLs will fix this.
>
> "Bob Barrows [MVP]" <reb01501 [at] NOyahoo.SPAMcom> wrote in message
> news:%23awoFgEMHHA.448 [at] TK2MSFTNGP04.phx.gbl...
>> dw wrote:
>>> Hi. We're getting this error from an ASP app on an XP Pro system,
>>>
>>> Server object, ASP 0177 (0x800401F3)
>>> Invalid class string
>>> /working_dbase/mathlab.asp, line 158
>>>
>>> It's blowing up on the line where we instantiate an ADODB object
>>> (please see below). The code runs fine on various other machines but
>>> bombs out on this box.
>> It sounds as if you need to install/upgrade MDAC on this machine.
>>
>> --
>> 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.

--
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"
reb01501 [ Fr, 05 Januar 2007 02:33 ] [ ID #1586005 ]

Re: Invalid class string error

I am also getting this error in XP pro

Server object, ASP 0177 (0x800401F3)
Invalid class string
/cem/reports/AlwaysRequiredSteps.asp, line

But it works well in windows 2000.
This error points to this line in my code:

Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.10")

Does anyone know how to resolve this?

Thanks in advance!
r0ckster [ Mi, 07 März 2007 06:17 ] [ ID #1650468 ]
Webserver » microsoft.public.inetserver.asp.db » Invalid class string error

Vorheriges Thema: Invalid class string
Nächstes Thema: Help- Add, Update and Delete using ASP for MS Access