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.
KOCUBAAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

halapayaCommented:
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..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KOCUBAAuthor Commented:
From what I can tell, everything looks okay.
Here is the code in the gpsexcep.asp file:
<%
Response.Buffer=True
Response.Expires=0

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

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


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
    cnGPS.Open
    rsGPS.CursorLocation = adUseClient
    rsGPS.Open "Select * from BSGPSEPF where GPSYRT <> 0 Order by GPSENM,GPSDNM,GPSYER", _
        cnGPS, adOpenStatic, adLockReadOnly
        rsGPS.Move URLData
0
halapayaCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.