Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Wed Jul 14, 2010 5:22 am Post subject: Trouble-shooting a SerialValidationResult.SVR_Failed return from the CryptoLicense.GetLicenseFromSerial method |
|
|
The CryptoLicense.GetLicenseFromSerial method can return SerialValidationResult.SVR_Failed due to a variety of reasons:
1.
The license service is not configured. Please configure the license service first by going to http:/your-/license-service-url/install/install.aspx
2.
The profile against which the serial was generated has been deleted from the license project file.
3.
The profile against which the serial was generated is not marked as "Enable With GetLicenseFromSerial" via the Profile button dropdown menu --> Settings dialog box.
4.
The SerialValidationMode for the profile is "Use License Database Only", but the license corresponding to the serial is not imported in the license service database. See the topic "Using Serial Codes" in the documentation for more details.
5.
The LicenseService.SerialValidationLimit property is set such that serial validation is failing. For example, if you set LicenseService.SerialValidationLimit to Explicit_SameAsMaxSerialValidations and set the LicenseService.MaxSerialValidations property to "1", then attempting to validate the serial from a second machine will fail.
If none of the above is the cause of the failure, then you can see if any exceptions are raised in the license service during the serial validation process. See point #8 from the KB topic http://www.ssware.com/support/viewtopic.php?t=692 |
|