Link to home
Start Free TrialLog in
Avatar of lucky_james
lucky_jamesFlag for India

asked on

DCOM failure: DCOM got error "Server execution failed " from the computer <server name> when attempting to activate the server

I get the following error while making a DCOM call:
DCOM got error "Server execution failed " from the computer <server name> when attempting to activate the server:<GUID of server service>

Similarly, I get the following error on server:
"The server <GUID of server service>did not register with DCOM within the required timeout."
The event id raised is 10009.
what can be the probable cause? how to go about fixing it? any clues?

One thing more, the server is an active-active cluster configuration, which means the service would be there on both the cluster nodes. Is this causing any problem? Earlier this service was running fine on one server and one client scenario.

SOLUTION
Avatar of ChiefIT
ChiefIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You will need to take the clsid from the event and then search it in the registry and find the actual application / service which is being invoked by a remote machine.
Probably the service might be uninstalled by remote machine is still trying to invoke it.
Avatar of lucky_james

ASKER

Thanks for response....
But I have already tracked the clsid. <GUID of server service> means that service I have installed on the one of the server nodes of the cluster environment.
Also, I have noticed that, sometimes the calls work, and most of the times they dont.
One thing more, this setup was running fine. Only, server has been clustered with active-active configuration. I cant run away from possibility network changes, that might have taken place.

Please let me know how to track it down.
Thanks.
What service does the CLSID point to? Actually, what is the CLSID, that would be best to know that and will enable me to track down the solution?

The service applet might not have the right permissions. It might need to be local system or administrator permissions to run correctly. The CLSID will tell me what the service is and I should be able to track down the permissions needed for the service to run correctly.
It is the service coded by myself ony. A servce meant to be running on server. Clients are supposed to make DCOM calls to it.
Dag nabbit:
I am not a good code person. I avoid it like the plague. Does the service show up in system services. If so, you might be able to change the permissions of the service to "System".
Yup Chief,
            Its not a code problem. If it were a code problem, the connection would not be there at all. But sometimes, this DCOM call works and sometimes, it fails.

So, i feel, it must be some network/configuration issue.
Yup, it shows up in system services.
also, when I create the instance of the service using oleviewer, oleviewer crashed. I tried using port viewer, but could not find any anomaly.

Please give me some more thoughts..........
Well, I have seen some things done out intermittent communications. Is that where you would like to go from here?

If so, there is a problem with 2003 server SP1 that causes intermittent comms. Upgrading to SP2 resolves the issue.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's odd it didn't like that service, James. Well, it all worked out in the end.

Good to see you up.

John