Missing OpcRcw.dx after OPC Core Components Redistributable update|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
Missing OpcRcw.dx after OPC Core Components Redistributable update
Avatar
km
New Member
Members
Forum Posts: 2
Member Since:
12/12/2022
sp_UserOfflineSmall Offline
1
12/12/2022 - 06:49
sp_Permalink sp_Print

Hi,

not good start with OPC so far but after update of OPC Core Components Redistributable to v105.2, I have started to have an issues with app while connecting to OPC server and crashes with error saying that OpcRcw.dx Version=1.0.1.21 is missing. Up until now this app was using OpcNetApi.dll v.1.30.2.0 and OpcNetApi.Com.dll v.1.30.2.0.

What changes to OPC Core Components Redistributable could made that problem? How can I solve this problem?

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
12/12/2022 - 07:53
sp_Permalink sp_Print sp_EditHistory

The original RCWs (OpcRcw.XXX.dll) were .NET 2.0 ONLY and only work on systems that have .NET 2.0/3.5 installed.

The later versions of the CoreComponents replace the original RCWs will a single RCW that works with all versions of the .NET framework.

If you are upgrading you need to remove all references to the old RCWs from your applications.

Avatar
km
New Member
Members
Forum Posts: 2
Member Since:
12/12/2022
sp_UserOfflineSmall Offline
3
12/15/2022 - 02:41
sp_Permalink sp_Print

Thank you for your response. Adding reference to the nugets works like a charm.

I started to work with app when issue showed up and I am trying to get into the OPC topic. In current version nuget manager clearly informs that OpcNetApi.Com.dll depends on OpcComRcw.dll, though I don't understand how this was working on older versions of OPC Core Components Redistributable? Could you explain how reference to OpcRcw.XXX.dlls was working and where it was stored on older version?

Are there any release notes to the archive versions of the OPC Core Components Redistributable?

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
12/16/2022 - 23:15
sp_Permalink sp_Print

If the machine had .NET 2.0 installed for some other application then the error would not occur.

I don't have enough information to speculate on why it 'worked' before.

Future releases of the Core Components will have detailed change logs with references to Mantis issue. Not much can be done about older releases.

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