Professional OPC
Development Tools

logos

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.

Using QuickOPC 2020.2 (5.58) in .NET 6.0

More
22 Nov 2022 10:39 #11230 by support
Hello.

In general, we only officially support each QuickOPC version with specific set of operating systems and .NET runtimes. This set is always documented in the User's Guide for the particular version. And, for an overview of how this has evolved over time, you can review the table of versions: kb.opclabs.com/Versions .

.NET 6.0 did not even exist at the time of QuickOPC 2020.2 release, and as such is not officially supported with that version. If you run into problems with such a combination, we will still try to resolve them, but we will "stop" at the moment we suspect that the problem might be due to the unsupported usage.

However, there is no "special code" in the product that would invalidate the license simply because you are using a newer OS, or newer .NET runtime. As such, I would actually expect QuickOPC version 2020.2 to probably work well with .NET 6.0. You have the "Ultimate" edition so that shouldn't be the problem either (Standard edition does not support .NET Core).

But, there is a common trap: When used from .NET Core/.NET 5+ runtimes in QuickOPC versions 2021.3 and earlier, the license stored in the registry (using the License Manager) is not recognized. You need to embed the license in your project, as described in the User's Guide. Starting with version 2022.1, licenses from the registry are also recognized in .NET Core/.NET 5+ (on Windows only - as there is no registry on Linux or macOS).

So I suppose this is the likely cause.

See also:
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/2020.2/User%2.../webframe.html#Licensing3.html
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/2020.2/User%2...esource%20License%20Store.html

Best regards
The following user(s) said Thank You: zaglerp

Please Log in or Create an account to join the conversation.

More
22 Nov 2022 10:03 #11229 by zaglerp
After migrating our solution (based on QuickOPC 2020.2) to .NET 6 we get this exception:
LicensingException: Not allowed to run by the license "Multipurpose". You might be using a trial license, and the version of the software you are using is obsolete. Obtain a recent version to resolve this problem.
Component name: "QuickOPC", license IDs: "Multipurpose", version number: 558, release date: 06.04.2020, trial validity: 390 days, option expression: "EasyUAClient".

What is the reason that 2020.2 is not licensed when running in a NET 6 environment?
Do we need a new license for each furture .NET version (.NET 7/8) ?

Thank you
Peter Zagler

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.046 seconds