...
then it is necessary to add a user in the context of whose communication runs. In "Component Services" on the computer with OPC client (KOM process) add this user to the list of users on the "COM Security" tab -> "Edit Limits", for both "Access Permissions" and "Launch and Activation Permissions" parameters and enable "Remote Access" / "Remote Activation". It is a problem connected with establishing the callback connection with the OPC server. In this case, the roles are reversed, and the OPC client (i.e., KOM process) works as a DCOM server. Adding this user and enabling the remote access enables establishing the callback procedures between the OPC client and the OPC server. Call-back procedures are necessary for acquiring the values from the OPC server in the "Async I/O 2.0" and "Async I/O 3.0" asynchronous modes.
| Info | ||
|---|---|---|
| ||
Due to Microsoft security updates (e.g., KB5004442), OPC communication stops working after applying the updates. Sometimes, even setting the Authentication Level parameter does not help. For example, when the D2000 KOM is on a patched/new Windows (e.g. Windows 11) and the OPC server is on an unpatched/old Windows (e.g. Windows XP, for which patches do not even exist), errors such as:
can be seen, while in the Windows system log there are messages like: The server-side authentication level policy does not allow the user SRV-KOM1\testuser SID (S-1-5-21-776983252-1896133985-1590337295-1001) from address 10.12.1.50 to activate DCOM server. Please raise the activation authentication level at least to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in client application. The solution, according to Microsoft, is to update/reinstall the old Windows. |
| Info | ||
|---|---|---|
| ||
If the OPC server is configured to run under "The interactive user" on the Identity tab of the "Properties" dialog window, it may cause the OPC server to be available only when a user is logged on to the computer. We recommend changing this setting to "The launching user", "This user", respectively or "The system account". |
| Info | ||
|---|---|---|
| ||
In the specific case for the OPC communication to work, it was required:
|
...