Question on COM/DCOM Availability under Win 10 and Replacement of OPC DA|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Question on COM/DCOM Availability under Win 10 and Replacement of OPC DA
Avatar
Ulrich Pfeiffer
Member
Members
Forum Posts: 3
Member Since:
04/19/2021
sp_UserOfflineSmall Offline
1
04/21/2021 - 04:37
sp_Permalink sp_Print sp_EditHistory

Hello all,

we see more and more signs of COM/DCOM not always working properly. Is there any real/”official” information available, that helps understanding how long COM/DCOM functionality – needed to run Classic OPC DA – will be kept available under MS Win 10?

In the field there are quite a lot of implementations using Classic OPC DA Client integration. Especially this means the implementations include APIs that support OPC DA Client. In case COM/DCOM is no longer supported the used API needs to be replaced by OPC UA. Right? Is there a OPC  UA Client API (e.g. compiled dll, ActiveX ) available that can be used to replace the old OPC DA interfaces (e.g. OPCDAauto.dll).

Any response could be helpful.

Thanks on advance

Ulrich

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/21/2021 - 14:54
sp_Permalink sp_Print

The trouble with DCOM support is MS is always adding security fixes to Windows that can break OPC DCOM applications.

We have gotten them to fix issues in the past but we need specific information to make such a request (“its not working” is usually not enough).

We encourage vendors to limit OPC COM to local machine communication only and rely on OPC UA for communication between nodes.

If you are looking for off the shelf binaries there are a number of gateway applications that expose OPC UA interfaces and support COM as an input. There is no precompiled binary available from the OPC Foundation, however, sample code is here:

https://github.com/OPCFoundati…..ter/ComIOP

Avatar
Ulrich Pfeiffer
Member
Members
Forum Posts: 3
Member Since:
04/19/2021
sp_UserOfflineSmall Offline
3
04/22/2021 - 03:58
sp_Permalink sp_Print

Hi Randy,

thanks for the feedback. Assume you are from OPC foundation and know a little bit more the details then me.

So for my understanding: at the moment there is no official NO GO or retirement from Microsoft for COM/DCOM announced. Right?

As we are anyway using OPC DA on local with just OPC Servers from the market it depends on the OPC Server provider if he still includes an option to allow DA Client connection. Right?

Thanks

Ulrich

Avatar
Ulrich Pfeiffer
Member
Members
Forum Posts: 3
Member Since:
04/19/2021
sp_UserOfflineSmall Offline
4
04/22/2021 - 03:59
sp_Permalink sp_Print

Is there also a Library provided for C++?

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
5
04/22/2021 - 05:30
sp_Permalink sp_Print sp_EditHistory

No C++ sample code.

I suggest evaulating products like https://www.unified-automation…..teway.html if you need a quick solution (other vendors have similar solutions).

MS has not dropped DCOM support and likely will not. However, OPC COM has some unique characteristics that can conflict with security patches which means issues will come up. If you can identify the specific patch we can report to MS.

Local DCOM has a lot fewer security issues.

Avatar
Marimuthu Ananthan
Member
Members
Forum Posts: 5
Member Since:
02/13/2018
sp_UserOfflineSmall Offline
6
07/26/2021 - 22:18
sp_Permalink sp_Print

Hi,

Microsoft has identified some vulnerabilities at DCOM

ref: https://msrc.microsoft.com/upd…..2021-26414.

https://support.microsoft.com/…..ed901c769c

If we enable this DCOM Hardening it’s working fine with the local OPC server.

But not working with Remote OPC Server. If we try to connect remote OPC Server with local OPC Client its throw “E_NETWORK_ERROR”. 

Any solution or workaround for this MS Patch?

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 33
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887