If ReadKeys does not return any data although you successfully activated a license, follow the troubleshooting steps below to diagnose the issue.
ReadKeys and StoreKeys work in tandem. The options that are used when calling StoreKeys must be identical to the ones used when calling ReadKeys.
- If you activate a license via the QLM License Wizard standalone app and ReadKeys fails in your code.
- If you are using the LicenseValidator class, make sure that the arguments to DefineProduct and the PublicKey property match the values associated to your product in the Define Products tab. This is a list of properties that must match:
- Product ID
- Major Version
- Minor Version
- GUID (persistence key)
- PublicKey
- LicenseType
- CommunicationEncryptionKey
- WebServiceUrl
- StoreKeysLocation
- StoreKeysOptions
- The QlmLicenseWizard.exe takes as arguments a settings XML file that contains details about your product. Make sure that your xml file is up-to-date. If in doubt, regenerate the settings xml file from the "Protect Your application" wizard (3rd tab).
- If you activate a license via the QLM .NET control and ReadKeys fails in your code.
- If you are using the LicenseValidator class, make sure that the arguments to DefineProduct and the PublicKey property match the values associated to your product in the Define Products tab.
- The QLM .NET Control has a set of QLM specific properties. The value of these properties must match the values associated to your product in the Define Products tab. More specifically, make sure the following properties are set in the QLM .NET Control:
- QlmProductID
- QlmMajorVersion
- QlmMinorVersion
- QlmGUID
- QlmPublicKey
- QlmLicenseType
- QlmCommunicationEncryptionKey
- QlmWebServiceUrl
- QlmStoreKeysLocation
- QlmStoreKeysOptions
- If you are using the LicenseValidator class, and have enabled license validation on the server by setting the checkIfLicenseIsRevoked or checkIfComputerIsRegistered to true, the LicenseValidator class will automatically delete all local keys if the license on the server is revoked or has expired.
Comments
0 comments
Article is closed for comments.