Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

sp_Feed Topic RSS sp_TopicIcon
"An event was unable to invoke any of the subscribers." error when trying to add group on remote OPC Simulation Server.
June 18, 2022
19:43, EEST
Avatar
jl75
Member
Members
Forum Posts: 5
Member Since:
December 16, 2016
sp_UserOfflineSmall Offline

I’m a Sentrol 6.7.2 user. I had the problem mentioned in the topic when trying to connect an OPC Client on Windows 10 to a remote OPC Server running on Windows 10 which was created using Sentrol 6.7.2.

The same OPC Client could connect to MatrikonOPC Simulator Server installed on the same remote server, and I’m able to add groups and see item values. The DCOMCNFG settings are the same for both MatrikonOPC and my custom OPC Server. Today, I tried using the OPC Simulation Server (PsOPCServer175.msi), and the same error appears. My Windows 10 are both updated with the latest Windows updates.

I’ve some logging on the my Sentrol OPC Server. Please let me know how I can make this work. Thank you.

2022.06.18 09:35:54:175 [thread:5412] [OPCProvider] OPC Client with User=”DESKTOP-TBI4U61\user” has connected
2022.06.18 09:35:54:175 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:35:54.175 Client ‘Client 0’ connected.
2022.06.18 09:35:54:645 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:35:54.645 Client 0: IOPCServer.SetClientName(“dOPC DA Client”)
…………
2022.06.18 09:36:09:643 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:09.643 dOPC DA Client: GetStatus
2022.06.18 09:36:10:643 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:10.643 dOPC DA Client: GetStatus
2022.06.18 09:36:11:300 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:11.300 dOPC DA Client: IOPCServer.AddGroup(Name=test, RequestedUpdateRate=1000): Result=$0
2022.06.18 09:36:11:330 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:11.330 dOPC DA Client: test: Callback connection failed: Interface not supported
2022.06.18 09:36:11:330 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:11.330 dOPC DA Client: test: IAdviseSink.DAdvise: Result=$80040201
2022.06.18 09:36:11:346 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:11.346 dOPC DA Client: IOPCServer.RemoveGroup(test, Force=False): Result=$0
2022.06.18 09:36:11:831 [thread:5244] [OPCProvider] OnLog: 2022/06/18 09:36:11.831 dOPC DA Client: GetStatus

June 20, 2022
10:46, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

“My Windows 10 are both updated with the latest Windows updates.”

The latest updates close DCOM abit more and you will have to modify your client application.

To enable connections to updated servers, OPC client applications built with Prosys Sentrol must be modified to initialize COM Security in the Project Source as follows:

program Xxx;

uses
PsComUtils,

begin
PsInitComSecurity(alPacketIntegrity, ilIdentify);

See the following article for more details.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 1795

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1323

Posts: 5649

Newest Members:

DonaldWibip, AlfredoEthix, andreidla, everangel7021, Larryhed, agustincatts6, tedzweig55, evelyne78p, ulyssesl05, kaitlynquinlan

Moderators: Jouni Aro: 960, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 860, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 222, Lusetti: 0

Administrators: admin: 1