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: 1026
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: 1919

Currently Online:
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1