Web Hosting Talk







View Full Version : Help with IIS issue urgently required


tamba
09-23-2001, 09:47 AM
I really hope someone can help with this - I'll be eternally grateful!

This week our main webserver was totally killed by the Nimda virus. We have build a brand new server but none of our ASP works and the guy who set up the original server has left.

I get the following error when trying to use asp on a page:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

Invalid class string

I have installed MDAC 2.6 and recreated all the System DSNs in the datasource but I'm totally out of ideas now.

Can anyone help?

madmatty
09-23-2001, 08:24 PM
Tamba open up the asp page that is erroring and find where it is trying to create the object. If it is a third party object you will need to reinstall that objest on the server for it to work.

If you cant figure that out then just paste the few relevant lines of code here, and I'm sure someone can have a look.

CagedTornado
09-25-2001, 12:31 AM
Well, what objects are created in this .asp page? Try to figure out what objects are in which .dlls/.ocx's -- and make sure they're on the machine and registered. You need to register a COM object before you use it -- by executing

regsvr32 comobject.dll

where comobject.dll is the object. Normally, your installer (if you've got one) should take care of this, but it's good to know how to do it manually.

Also -- how are you calling CreateObject in the page? Is it with a CLSID -- or a ProgID? If you're using a CLSID (and you're a software developer developing this component), be aware that the CLSID might change under certain conditions (like the interface changes) and it's better to use the version-independant ProgID to instanciate the object.

Dan