Invalid class string error

Invalid class string error

am 04.01.2007 22:06:40 von dw

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

Re: Invalid class string error

am 04.01.2007 22:27:07 von Mike Brind

"dw" wrote in message
news:OIh37QEMHHA.4384@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

Re: Invalid class string error

am 04.01.2007 22:33:47 von reb01501

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.

Re: Invalid class string error

am 04.01.2007 23:03:09 von dw

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]" wrote in message
news:%23awoFgEMHHA.448@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.
>
>

Re: Invalid class string error

am 05.01.2007 02:33:51 von reb01501

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]" wrote in message
> news:%23awoFgEMHHA.448@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"

Re: Invalid class string error

am 07.03.2007 06:17:05 von unknown

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!