Daily Archives: July 13, 2007

COM+ configuration problems

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:

  1. MSDN Forum (Access denied error)
  2. KB817065
  3. KB817064

Leave a comment

Filed under .NET, COM+, Enterprise Services