Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOM class not registered

Status
Not open for further replies.

anolan

Programmer
Nov 7, 2002
2
IE
Hi everyone,

Can somebody help me out?

I have 2 servers (NT4), one running IIS4 and the other MTS 2.0. Both servers are separated by a firewall. The firewall is configured to confine incoming and external communication to port 135 (RPC Endpoint Mapper port) and ports 5000 to 5020.
My ASP page uses a VB ActiveX DLL that is registered and added into a package in MTS. The package has been also exported and installed on to the IIS server.

The ASP page creates the VB ActiveX DLL successfully but after a period of about 11-12 hours my ASP page gets the following error:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'CreateObject'

/runComponent.asp, line 39

The event log on the IIS server also has the following error:

DCOM error "class not registered" from the computer when attempting to activate the server.
{3374A239-DB93-11D6-B631-000102A3DB10}

There is no error reported in the event log on the MTS server and a reboot of the IIS server fixes the issue for another 11-12 hours (sometimes less).

I have checked the code to ensure there isn't any memory leak (all objects are destroyed and set to nothing) etc.

Any help or advice would be gratefully appreciated.

Thanks in advance,
Aidan
 
Can you look in regedit.exe to see if it actually has been registered? (use START->Run then type regedit.exe).

Just a thought.
 
Thanks for your reply.
I should have mentioned before that I fixed the problem a couple of weeks ago.

The firewall was killing connections so in order to prevent this I created a KeepAlive key in the registry.

Thanks again
Aidan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top