I had been writing a COM+ application using Enterprise Services. I ran into a couple of configuration problems while deploying it. The COM+ server was deployed in a machine running Windows 2003 server.
Hurdle #1: First, the client refused to connect to the server and it kept throwing the following exception:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
I solved this by creating a user on the server with the same credentials as that on the client.
Hurdle #2: Next, the client started throwing the following exception:
The component or application containing the component has been disabled. (Exception from HRESULT: 0x80004027)
I solved this by enabling network COM+ access. Check out this site for the exact steps – KB817065.
References: