email:
call: 1-780-784-4444
You are here: Home > Downloads & Resources > Articles
 

0x80070005 DCOM Error

Author: Randy Kondor, B.Sc. in Computer Engineering, OPCTI
June 2008

Cause


DCOM Error 0x80070005 appears in the OPC Client application when it succeeds in launching an OPC Server or OpcEnum, but fails to receive a reply from either of the applications. This error could be caused under several conditions:
  • On the OPC Server PC, the OPC Client User Account does not have the right Access Control List (ACL) permissions in the System-Wide DCOM settings, Access Permissions, Edit Default.
  • On the OPC Client PC, the OPC Server User Account does not have the right Access Control List (ACL) permissions in the System-Wide DCOM settings, Access Permissions, Edit Limits.
  • On the OPC Client PC, the DCOM Default Impersonation Level is set to "Anonymous" instead of "Identify", and the "ANONYMOUS LOGON" Access Control Entry (ACE) does not exist in the OPC Client PC, Access Control List (ACL) permissions in the System-Wide DCOM settings, Access Permissions, Edit Limits.

Background


There are cases where an OPC client application can launch a remote OPC Server, but is unable to receive further responses. Thus, DCOM will inform the OPC Client that the launch of the remote server was successful, but the OPC Client will be unable to continue communicating with the OPC Server application. In this case, the OPC Client application will display DCOM Error 0x80070005. In essence, this error occurs when DCOM communication is stopped by the Access Control List (ACL) of either the OPC Client PC or OPC Server PC.

Test


If you receive DCOM Error 0x80070005, check if the OPC Server application is actually running on the OPC Server PC. If you received this error when you tried to browse for OPC Servers on the OPC Server PC, check if OpcEnum is running. If either is running, end both processes on the OPC Server PC. Then try to establish communication again. If you still receive the same DCOM Error 0x80070005, then the cause is as listed above, and you will simply need to follow the repair procedure below. If you receive a different DCOM error, then you will need to search for that specific error instead.


Repair Procedure



Please complete the following registration form to instantly access the repair procedures:



 
Partners of the OPC Training Institute include:

OPCTI is supported by Kepware, Softing, SOftware Toolbox, Cyberlogic, Canary Labs, Iconics, NETxAutomation, Automation.com, Indusoft, OPC Techs, Open Automation Software, CAS, Prosys, Advosol, Takebishi, AutomationMedia.com, easymatics, Protocol, Alexander's Gas & Oil, Junot, SAE, OPC Labs, Exele, Techno Software, and Hy-Line
OPC Training Institute ©2008
Legal | Privacy Policy | Site Map About | Training | Downloads | News & Events | Contact