Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters

Please confirm you want to mark all posts read

Mark all topics read

sp_MobileMenu Actions
Avatar

New/Updated Topics

Select Forum

sp_TopicIcon
Missing OpcRcw.dx after OPC Core Components Redistributable update
Avatar
km
Posts: 2
12/12/2022 - 06:49

1

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
Posts: 1676
12/12/2022 - 07:53

2

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
Posts: 2
12/15/2022 - 02:41

3

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
Posts: 1676
12/16/2022 - 23:15

4

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: 1361
Currently Online:
Guest(s) 30
Currently Browsing this Page:
1 Guest(s)

Devices in use: Desktop (25), Phone (5)

Forum Stats:
Groups: 2
Forums: 10
Topics: 1524
Posts: 5152