Discussion Locked

Out of Process DCOM Object

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to access an object via an ASP script. I am calling server.createobject. The script hangs the returns with the asp error stating that the create object failed. On the server I receive the event telling that that the server did not register with DCOM within the required timeout. This system is running IIS4. I have changed the metabase entry ASPAllowOutOfProcComponents to True. I have also run dcomcnfg and set access and launch persmisson to everyone for the object I am trying to run.Any other ideas?

3 replies

by bobelino

Assuming the object and IE are on different servers: 1. Doublecheck the DCOM application is registered correctly. 2. Be sure the Internet user account on each server has permission to launch DCOM applications on that server. 3. If a firewall is involved, it may be blocking the ports you need. Rather than explaining it in detail here, look at http://msdn.microsoft.com/library/backgrnd/html/msdn_dcomfirewall.htm . This is an excellent article and explains how to use DCOM through a firewall without opening all of the ports.

This discussion is closed to new replies.