Hello Z,
I am currently working with a customer that is encountering an Error whenever trying to connect to WinCC OPC DA server. Basically, in his code, he is subscribing to multiple tags but the application returns this error:
*7/20/2021 10:08:59 AM DA_Client1 Error Itemchanged-: System.UnauthorizedAccessException Access is denied. + The client method called was 'ItemChanged'.
So, I had him test with the EasyDA Client Demo and connectivity explorer and he is getting the same issue as you can see in the screenshots attached.
Now, the weird part is that he is able to communicate to that sam server using Matrikon OPC Explorer so I am not sure what is happening here. I did have the chance to read over this post in this forum > www.opclabs.com/forum/browsing/3226-error-access-is-denied-t...or-event-callback-invoked#9808 < But the customer is running the latest version and I am not sure he is using an appsettings.json in his application.
Do you have any ideas on what could be happening here? Please do let me know if you need anything else. Thank you in advance.
Customer's environment:
Microsoft Visual Studio Community 2019
Version 16.10.2
VisualStudio.16.Release/16.10.2+31410.357
Microsoft .NET Framework
Version 4.8.04084
OPC Data Client V 5.61.241.1
I am currently working with a customer that is encountering an Error whenever trying to connect to WinCC OPC DA server. Basically, in his code, he is subscribing to multiple tags but the application returns this error:
*7/20/2021 10:08:59 AM DA_Client1 Error Itemchanged-: System.UnauthorizedAccessException Access is denied. + The client method called was 'ItemChanged'.
So, I had him test with the EasyDA Client Demo and connectivity explorer and he is getting the same issue as you can see in the screenshots attached.
Now, the weird part is that he is able to communicate to that sam server using Matrikon OPC Explorer so I am not sure what is happening here. I did have the chance to read over this post in this forum > www.opclabs.com/forum/browsing/3226-error-access-is-denied-t...or-event-callback-invoked#9808 < But the customer is running the latest version and I am not sure he is using an appsettings.json in his application.
Do you have any ideas on what could be happening here? Please do let me know if you need anything else. Thank you in advance.
Customer's environment:
Microsoft Visual Studio Community 2019
Version 16.10.2
VisualStudio.16.Release/16.10.2+31410.357
Microsoft .NET Framework
Version 4.8.04084
OPC Data Client V 5.61.241.1