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.

License not recognized

More
18 Jul 2022 12:20 #11055 by support
Replied by support on topic License not recognized
Thank you. Now you have the right software version, but the license key is not recognized. Is this with the embedded resource registration you posted earlier? If so, please enhance your code by obtaining the serial number after the registration, as in this example: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ster%20managed%20resource.html , and report the serial number or its first 6 digits here.

Regards

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

More
18 Jul 2022 10:05 #11054 by is2
Replied by is2 on topic License not recognized
It seems that indeed the package I was using in my solution was too up to date. Although, after reverting to 5.58 I still have the issue.
Attachments:

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

More
18 Jul 2022 09:17 #11053 by support
Replied by support on topic License not recognized
Also:

For deciding which QuickOPC version you are building with, it is not that important which QuickOPC version is installed on the machine (in Add/Remove Programs). It is quite common to have copies of the assemblies you are referencing either inside your project, or in some directory external to the project. You may have different versions scattered on your disk. You need to inspect your Visual Studio project, see where the referenced assemblies are coming from, and which version they have.

Regards

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

More
18 Jul 2022 09:12 #11052 by support
Replied by support on topic License not recognized
Hello.

I am not quite sure which system is which - which is when you say "my system": and which is when you say "...production environments". But I can only support the one from which you have provided the error message. And it is absolutely clear that that one is coming from QuickOPC 2021.2 (5.61), and your license does not cover that. Find your executable, and then find one of the OpcLabs.*.dll assembly files alongside it. Right-click on it, Select Properties, switch to Detail tab. Among the information, there is the actual QuickOPC version you are using.

You need to understand that there are cases when actually having the license properly installed or registers make thing STOP working. So you may be dealing with that case. Example:

Let's say you were running QuickOPC 2021.2 (5.61) for whatever reason, possibly by mistake. When no license is installed and/or is improperly embedded, a trial license is luse dinstead, and all features of the product work - except that this is true only for 30 minutes of each process run. But some applications do not run that long, so you may not notice. Installing and/or properly registering a license which does not cover QuickOPC 2021.2 (5.61) will then cause the application to stop working (throw exceptions).

Regards

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

More
18 Jul 2022 08:20 #11051 by is2
Replied by is2 on topic License not recognized
Hi,

Thanks for your response, although. As stated, nothing changed on my system prior to having this message displayed. The QuickOPC version running on my platform is 2020.2 which is supposed to be supported as per your last email.

No other quickopc component are installed on my machine.
Attachments:

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

More
15 Jul 2022 12:31 #11050 by support
Replied by support on topic License not recognized
Thank you, I have received the email.

Your license has been issued on November 15, 2020, and has been purchased without Upgrade Assurance. This means that it only entitles you to use the QuickOPC version that was current at the time of purchase, earlier versions, and versions that were released max. 60 days after the date of purchase.From the version table (kb.opclabs.com/Versions ), it can be seen that the newest version you can use is QuickOPC 2020.3 (5.59).

The error indicates you are trying to use QuickOPC 2021.2 (5.61), which will thus not work.

Regards

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

More
15 Jul 2022 12:05 #11049 by is2
Replied by is2 on topic License not recognized
I sent you a separate email with the licence attached. It's an ultimate version purchased around 2 years ago at max.

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

More
15 Jul 2022 11:47 #11047 by support
Replied by support on topic License not recognized
Hello.

I need to know the serial number of your license. If you do not want to post it here then email it to support09 (at) opclabs.com.

Note: I do not understand what you mean by " I've added the appsettings content as per your kb ". We have not suggested any appsettings changes in order to deal with the license issue. If you are referring to "prerequisite boxing", then, as I wrote before, that is a separate issue, not related to licensing.

Regards

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

More
15 Jul 2022 11:33 #11046 by is2
Replied by is2 on topic License not recognized
Hi,

We're experiencing the issue again with our current licence. On two of our software that are used on production environments and used to work fine.


The apps now display the same message as before. I've added the appsettings content as per your kb but it doesn't solve the issue. The code hasn't changed or the environment since the last time it was operating fine.

The licence used is a binary embedded to the application using the following method:

try
{
LicensingManagement.Instance.RegisterManagedResource("QuickOPC", "Multipurpose",
Assembly.GetExecutingAssembly(), "Konfigurator.OpcLicence.bin");
}
catch (Exception ex)
{
Console.WriteLine("UpdateOpcLicence " + ex.Message);
}

Attachments:

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

More
02 Nov 2020 14:08 #9064 by support
Replied by support on topic License not recognized
Hello,
regarding the license problem: Please send me a screenshot of the License manager with your license key installed, to email:

support09 (at) opclabs.com

Access violations under Windows 10 version 2004: This seems to be caused by a 3rd-party library we use. You can try this: kb.opclabs.com/How_to_disable_prerequisites_boxing . We have also obtained a newer version of that library from the vendor, and will include it with newer versions.

Best regards

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

Moderators: support
Time to create page: 0.112 seconds