Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
[5.71.273] Stop referencing Microsoft.Net.Http for net6.0 target
thank you very much for the call stacks. It has helped a lot.
We have made a fix that should address at least the "internal error" issues. Whether or not it will also resolve the slowness with unreachable PLC needs to be tested.
Please rebuild with QuickOPC 5.71.302 or later, and retest. It is now on www.nuget.org and on our Downloads page.
Best regards
Please Log in or Create an account to join the conversation.
at System.Threading.Monitor.Exit(Object obj)
at OpcLabs.EasyOpc.UA.Toolkit.Client.UASessionConverter.ExitSdkNamespaceUris()
Please Log in or Create an account to join the conversation.
WPF, using only the imperative parts of quickopcHello.
Please create a new forum thread next time (and possibly link to the original one) in such case, as we are now on to a different issue.
I am quite interested in resolving this. The three messages you posted are triggered by one or two causes. The "internal error" should never happen, no matter what your code does or what the downstream OPC systems do. I have some questions:
1. What kind of project do you have (such as Windows WPF app, Windows services, Web app, Web service, console app, etc.)?
Yes, nuget.org 5.71.2962. The messages below are now taken from version 5.71, right? - please confirm.
I fear not, sorry. But I noticed a significant speed up and no more Unavailable-Session-Log-Entries after removing our "Unreachable-PLC"-Subscription. I can't do this workaround in production as it is expected that sometimes we loose connection to our PLCs3. Do you perhaps have a self-contained reproducible scenario that we can run here?
4. If not, can you configure the debugger to break when exception of type System.Threading.SynchronizationLockException is thrown, and obtain a call stack and post it here?
Sure!
Thanks for your fast responses, even during your holiday!Many thanks

Please Log in or Create an account to join the conversation.
Please create a new forum thread next time (and possibly link to the original one) in such case, as we are now on to a different issue.
I am quite interested in resolving this. The three messages you posted are triggered by one or two causes. The "internal error" should never happen, no matter what your code does or what the downstream OPC systems do. I have some questions:
1. What kind of project do you have (such as Windows WPF app, Windows services, Web app, Web service, console app, etc.)?
2. The messages below are now taken from version 5.71, right? - please confirm.
3. Do you perhaps have a self-contained reproducible scenario that we can run here?
4. If not, can you configure the debugger to break when exception of type System.Threading.SynchronizationLockException is thrown, and obtain a call stack and post it here?
Many thanks
Please Log in or Create an account to join the conversation.
Unfortunately I can't upgrade yet, as versions newer than 5.62.1032 cause my app to be really slow, as soon as there is a subscription to an unreachable plc. Sadly there isn't much useful in the logs. The first log message appears periodically and seems most related. Using Isolated clients or setting SynchronizationContext to null didn't help. I'm using dotnet 7.0
Please Log in or Create an account to join the conversation.
the issue should now be fixed. Please use QuickOPC 5.71.296 (or later). It is now on www.nuget.org , and on Downloads page on our Web site.
The package reference to Microsoft.Net.Http has been removed from the .nuspec as unnecessary/unused .
Thank you for reporting this!
Best regards
Please Log in or Create an account to join the conversation.
I will investigate why is that and how it can be rectified; but please bear with me, I am travelling now and we will be able to work on this in roughly 2 weeks. I will reply here when I have an update.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
As far as I can tell, we do not directly reference Microsoft.Bcl or Microsoft.Net.Http in QuickOPC 5.71 anywhere. It is possible that some dependent package references them, but in such case, we cannot prevent it. Also, as far as I can tell, the warnings are harmless.
If you have an information to the contrary to what as I wrote above, please let me know.
Best regards
Please Log in or Create an account to join the conversation.
Causes:
warning NU1701: Package 'Microsoft.Bcl 1.1.10' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
warning NU1701: Package 'Microsoft.Net.Http 2.2.29' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
Please Log in or Create an account to join the conversation.