You may receive an "Unable to Connect to Service (CoCreateInstanceEx returned 0x80070005)" error message in Antigen (906011)



The information in this article applies to:

  • Sybari Antigen 8.0 for Microsoft Exchange
  • Sybari Antigen 8.0 for Microsoft SharePoint Portal Server
  • Sybari Antigen 8.0 for IM
  • Sybari Antigen 8.0 for SMTP Gateways
  • Sybari Antigen 7.5 for IM
  • Sybari Antigen 7.5 for Microsoft Exchange
  • Sybari Antigen 7.5 for Microsoft SharePoint Portal Server
  • Sybari Antigen 7.5 for SMTP Gateways

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

In Sybari Antigen, you may receive the following error message:
Unable to Connect to Service (CoCreateInstanceEx returned 0x80070005)

CAUSE

This issue may occur if there is an issue with DCOM. The Antigen client uses the DCOM protocol to connect to the backend processes.

RESOLUTION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To troubleshoot this issue, follow these steps:
  1. Make sure that the workstation is connected to the server. To do this, run a ping command together with the server name. Or, try to map to a network share on the server.
  2. Make sure that the workstation and the server are in the same internal domain on the network. Alternatively, make sure that a two-way domain trust exists between the workstation domain and the server domain.
  3. Make sure that the user account that is logged on to the workstation has the appropriate permissions to access the Antigen service on the server. To do this, follow these steps:
    1. Click Start, click Run, type dcomcnfg, and then click OK.
    2. In the left pane, expand Component Services, expand Computers, expand My Computer, and then expand DCOM Config.
    3. Right-click AntigenService, and then click Properties.
    4. Click the Security tab, and then click Edit in the Launch and activation permissions section.
    5. In the Permissions dialog box, make sure that either of the following conditions is true:
      • The user account is listed under Group or user names. If the user account is not listed, add this user account. Then, give this user account full permissions.
      • The user account is a member of a group that has Allow Access user rights.
    6. Close the Permissions dialog box.
    7. On the Security tab, click Edit in the Access Permissions section, and then repeat step 3e.
    8. On the Security tab, click Edit in the Configuration Permissions section, and then repeat step 3e.
  4. Make sure that DCOM is enabled on the user workstation. The Antigen client connects to the Antigen service by using DCOM. If DCOM is disabled on the user workstation, the Antigen client cannot connect to the Antigen service on the server. To determine whether DCOM is enabled, follow these steps:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following registry subkey:

      HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\EnableDCOM

    3. Examine the value in the Data column. If the value is set to Y, DCOM is enabled. If the value is set to N, DCOM is not enabled.

Modification Type:MajorLast Reviewed:11/8/2005
Keywords:kbtshoot KB906011