Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Fri Apr 16, 2010 4:50 am Post subject: INFO: Common License Service related issues and their solutions |
|
|
1. Did you configure the license service via the configuration page at http://MyServiceBaseURL/install/install.aspx
2. Did you specify the correct license service URL which is http://MyServiceBaseURL/Service.asmx
3. When validating from the CryptoLicensing Generator UI, did you specify the above license service URL in the Project Properties dialog (Ctrl+P)
4. When validating from your own app, did you specify the license service URL above via the CryptoLicense.LicenseServiceURL property.
5. Did you uploaded the latest saved license project file (.ocxlicproj file) to the App_Data folder under your license service? (Not applicable for Customer Deployed License Service)
6. Did you give read-write permissions to the App_Data folder? When configuring the license service on the local host, give read, write, and modify permissions to the 'App_Data' sub-folder to the ASPNET user account under Windows XP and to the 'NetworkService' account on Windows Vista or later OS.
7. Can you list of a list of service operations when you access the license service URL from your browser?
8. If the license service is still not working properly, you can log exceptions that might be occurring when the service runs. To do this, set the LicenseService.LogExceptions property to True in the App_Code/LicenseService.cs file as follows:
[C#]
Code: | public LicenseService()
{
// ***IMPORTANT***: Set your 'CryptoLicensing License Service' license code below.
// It can be found in the email containing the license information that you received from LogicNP when you purchased the product.
// LEAVE BLANK when using evaluation version of CryptoLicensing.
this.Generator.SetLicenseCode("%%licensecode%%");
this.LogExceptions=true;
} |
[VB.Net]
Code: | Public Sub New()
' ***IMPORTANT***: Set your 'CryptoLicensing License Service' license code below.
' It can be found in the email containing the license information that you received from LogicNP when you purchased the product.
' LEAVE BLANK when using evaluation version of CryptoLicensing.
Me.Generator.SetLicenseCode("%%licensecode%%")
Me.LogExceptions = True
End Sub
|
If this property is set to True, the license service will log exceptions to the App_Data folder. This facilitates trouble-shooting and diagnosing any problems with the license service.
Each exception is logged to its own file having following name: "exception_dd-MMM-yyyy_HH.mm.txt". |
|