License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

Postby kim10987 » Tue 12 Jan 2016 15:31

Hi devart dotConnect Team,

We have embeded license file into our projects. It was working fine more than 5 months, and today it suddenly start throwing the following exception:

License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact Devart technical support..

Could you tell me what other defects/things can cause this issue?

version info: 8.4.478

Thanks in advance!
kim10987
 
Posts: 7
Joined: Mon 30 Mar 2015 14:14

Re: License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

Postby kim10987 » Tue 12 Jan 2016 19:05

The problem has been resolved by resetting the server. Still would like to know the root cause of this...
kim10987
 
Posts: 7
Joined: Mon 30 Mar 2015 14:14

Re: License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

Postby Pinturiccio » Wed 13 Jan 2016 17:00

This error means that an invalid license resource was built into your project. Unfortunately this information is not enough to determine the reason of this error. There can be several possible reasons for the "License not valid..." error. For more information, please refer to https://www.devart.com/dotconnect/mysql/docs/Licensing.html#troubleshoot
Pinturiccio
Devart Team
 
Posts: 1862
Joined: Wed 02 Nov 2011 09:44

Re: License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

Postby kim10987 » Wed 13 Jan 2016 21:13

I am suspecting "4. Something's wrong with the operating system".
Do you guys have more information(reported cases) on that?
kim10987
 
Posts: 7
Joined: Mon 30 Mar 2015 14:14

Re: License not valid (code: 1). Please view "Licensing" topic in dotConnect for MySQL documentation for details or contact

Postby Pinturiccio » Thu 14 Jan 2016 14:59

Lots of reasons can cause it. Maybe the operating system didn't allow reading information from the GAC or registry, or maybe Devart assemblies were unloaded from the domain by the operating system. Maybe there was a failure in a tool, embedding the license resource. There can be lots of reasons, and it is very hard to find out the true one without detailed analysis of the specific environment, on which the issue is reproduced reliably.
Pinturiccio
Devart Team
 
Posts: 1862
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for MySQL