Skip to Content
avatar image
Former Member

OPC Connection error with PCO

Hi all,

We have the following setup:

SAP MII --> SAP PCO --> Kepware OPC Server

Communication between the last two systems is done through COM settings. We have 1 agent instance in PCO for reading and writing tag values.

At first everything is working fine.

After some hours or a few days, the communication stops working. The agent instance is still running (green) so there is no issue with the service itself. When we try to send information from MII to OPC we see errors in the error log. So these errors are only there at runtime.

After I restart the agent instance, the communication is working again (for a while).

I have a full verbose log attached of sending some information to OPC. The leading error I think seems to be :

COMException: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

Any help is greatly appreciated.

SAP PCO version:

SAP MII version: 15.0 SP6 Patch 0



opcissue.txt (308.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 02, 2016 at 10:31 AM

    Hi Philip,

    It seems the Remote Procedure Call on your server is failing to run.

    you can refer this tech note by microsoft

    Aso you can have an diagonstic done on your server using any tool like OPCExpert to veryfy all DCOM settings are fine.



    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2017 at 10:13 AM


    Please check the PCO process agent memory in task manager i.e. agentname.exe kind of process running when you restart the agent and when you start facing the issue. See it its getting increased from 30-70 MB to almost ~700 MB. If that's the case then need to check tags passed are all valid or not and various other things to minimize the memory utilization.



    Add comment
    10|10000 characters needed characters exceeded