Unable to cast COM object of type ‘System.__ComObject’

Forum Home Forums Communicating with Devices OPC Unable to cast COM object of type ‘System.__ComObject’

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13289
    mrfy
    Participant

    Hello everyone,

    I’m encountering an issue while trying to add an OPC Classic server, and I’ve attached a screenshot of the error message for reference:

    error

    Even when I manually configure the XML files in the ‘(…)\Instances\Default\ScadaComm\Config’ directory, I’m still getting similar errors, and I’ve included the relevant log entries below:

    2023-09-04 15:44:05 Delay before connecting 4,7 sec
    2023-09-04 15:44:10 Connect to Pro-face.OPCEx/{51ef7402-b5b3-4f68-82a1-557492a79b4a}
    2023-09-04 15:44:10 Error connecting OPC server:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'OpcRcw.Comn.IOPCServerList2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9DD0B56C-AD9E-43EE-8305-487F3188BF7A}' failed due to the following error: Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)).
    

    Can anyone provide guidance on how to resolve this issue? Any help would be greatly appreciated. Thank you!

    #13290
    mrfy
    Participant

    My fault..
    https://rapidscada.org/connecting-devices-using-opc-standard/

    1. Download and install OPC Core Components. (…)

    Mikhail please remove this topic.

    #13296
    Mikhail
    Moderator

    Hi,

    This topic is useful to avoid such mistake. Let it be.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.