Dotcom Support Forums

To post in the forums you need to register and log in .

HomeHomeLicence MasterLicence MasterIntegrating Cli...Integrating Cli...LicenceExpired message when trying to license a moduleLicenceExpired message when trying to license a module
Previous
 
Next
New Post
22/12/2010 20:27
 

Hi Paul,

We have a client who has been issued a licence key and they are attempting to enter the key into our module but the response they are getting back is a status code of "3" which i think is LicenceExpired. In the GetLicenceWarning routine we are appending the InstallationStatus code to retrieve this.

The date of the licence in the admin module is 22/12/2010 and they have successfully registered it with their domain. They did this before activating the module i guess. They are a US client so would the date format cause problems? We haven't come across this problem before so would appreciate it if you could shed some light on this.

Cheers
Dan

 
New Post
04/01/2011 15:24
 

Hi Paul, have you had a chance to look into this issue? The customer tried the next day and it worked for them.

 
New Post
12/01/2011 13:37
 

Hi Dan,

InstallationStatus = 3 does indeed mean licence expired.

The date format won't affect the evaluation of the date. The only way that the licence will get that status is if the current date falls outside the validity period of the licence (ie. StartDate to EndDate); or in the case of indefinite licences, when the current date is earlier than the licence start date.

It's curious that it worked correctly the next day. Could any of the dates have been changed in Licence Master admin, or could the licensee have made a mistake entering the licence number?

A few questions to help narrow this down:

Did the licensee provide you with a screenshot of the error message they received from your module? How did you find out that that was the status they received?

As the actual message displayed in response to the status is decided by the client application, have you checked that your module displays an appropriate message for the LicenceExpired status?


Dotcom Technical Support
 
New Post
12/01/2011 14:24
 

Hi Paul,

The dates in LM admin wouldn't have changed.

After experiencing this problem a couple of times with different customers, we updated the module to output the licence status when the user enter the key so we'd know exactly what the problem was which is how we know it was 3.

It's definately not down to customer error as we've doubled checked the key was entered correctly and it would return a status of 3. This has only happened with customers in the States and Australia. All i could think is that the time difference was effecting the date being evaluated. By the time we had responded to the customer and asked a few questions, they would try it again which was the next day and it just worked.

Regards
Dan

 
New Post
12/01/2011 14:52
 

Dan,

Thanks for clarifying those points.

The point about the time difference is an interesting one, but in fact, all date comparisons are carried out in one place: the LM installation. The client never passes a date to the server, and dates are never at any point formatted as strings, so I would not expect culture or time zone differences to enter into it.

I'll do some checking though, to see if I can find an explanation.

Regards,

Paul


Dotcom Technical Support
 
Previous
 
Next
HomeHomeLicence MasterLicence MasterIntegrating Cli...Integrating Cli...LicenceExpired message when trying to license a moduleLicenceExpired message when trying to license a module



 Search   Home