Server.CreateObject Failed

I get the following error when I try to access the asp page, listed below, from my web server (NT, IIS4.0).
Previously it had worked fine on my web server for months.  And has worked after the new year.  

Server object error 'ASP 0177 : 800a2337'
Server.CreateObject Failed
/gps/gpsexcep.asp, line 13
The operation completed successfully.

The same version currently still works fine on my development PC (Win95, PWS).
All the dll is doing is using ADO to access and display data from an AS400.

I have check the user spermissions and everything seems fine.

Thank You in advance for any assistance.
Who is Participating?
halapayaConnect With a Mentor Commented:
What are you trying to create ? i mean the object instance?

Server.CreateObject("ADOD.Connection") ??? something like this?
cause may be something have gone wrong with the ADO installations.. check wether anything have gone wrong with ur ADO installations or any other COM dlls..
KOCUBAAuthor Commented:
From what I can tell, everything looks okay.
Here is the code in the gpsexcep.asp file:

If (VarType(Application("~WC~WebClassManager")) = 0) Then
      If (VarType(Application("~WC~WebClassManager")) = 0) Then
            Set Application("~WC~WebClassManager") = Server.CreateObject("WebClassRuntime.WebClassManager")
      End If
End If

Application("~WC~WebClassManager").ProcessNoStateWebClass "GPSException.WebClass1", _
            Server, _
            Application, _
            Session, _
            Request, _

And here is a portion of the code from my WebClass:
Dim cnGPS As ADODB.Connection
Dim rsGPS As ADODB.Recordset

Private Sub GPSMonth_DisplayGPSMonth()
    Set cnGPS = New ADODB.Connection
    Set rsGPS = New ADODB.Recordset
    cnGPS.Provider = "MSDASQL.1"
    cnGPS.ConnectionString = "Data Source=Exceptions;User ID=gpsodbc;Password="
    cnGPS.CursorLocation = adUseClient
    rsGPS.CursorLocation = adUseClient
    rsGPS.Open "Select * from BSGPSEPF where GPSYRT <> 0 Order by GPSENM,GPSDNM,GPSYER", _
        cnGPS, adOpenStatic, adLockReadOnly
        rsGPS.Move URLData
Hmm as so you are using
WebClass Manager, the dll is

Program Files\Common Files\designer\MSWCRUN.DLL

It dosen't seem to have lot of other dependacies.. only Oleautomation files.
why not trying unregistering[regsvr32 /u patth\mscrun.dll]
and reregistering it....

if not working still might be somethig have gone wrong with ur ole automation files.. if so.. u can install the VBRUN60.EXE which installs ole automation files.. this small file u can get from microsoft site
All Courses

From novice to tech pro — start learning today.