0x80010119 Security must be initialized before any interfaces are marshalled or unmarshalled. It cannot be changed once initialized.|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
0x80010119 Security must be initialized before any interfaces are marshalled or unmarshalled. It cannot be changed once initialized.
Avatar
Matthew Helle
New Member
Members
Forum Posts: 2
Member Since:
04/16/2022
sp_UserOfflineSmall Offline
1
09/24/2022 - 12:03
sp_Permalink sp_Print

While updating the hardening of our HDA client application we get an error 0x80010119 while trying to set OPC security.  Has anyone seen this before?

'set security

OPC.Common.ComApi.InitializeSecurity(5, 4, 64)

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/24/2022 - 17:49
sp_Permalink sp_Print

Have upgraded to the latest version of the API?

Avatar
Matthew Helle
New Member
Members
Forum Posts: 2
Member Since:
04/16/2022
sp_UserOfflineSmall Offline
3
09/24/2022 - 18:03
sp_Permalink sp_Print

We are using the following for development environment:

Advosol OPCHDA.NET 11.3.0.0 date: 1/26/2022

OPC core (x64) 3.0.10800

OPC.NET API 2.01.10600

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
09/24/2022 - 22:00
sp_Permalink sp_Print

You should take your questions to Advosol.

They likely need to update their product to deal with the DCOM security hardening.

The version of the NET API you have does not have the fixes.

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