View previous topic :: View next topic |
Author |
Message |
i2s
Joined: 23 Mar 2011 Posts: 10 Location: Greece
|
Posted: Mon Jun 11, 2012 6:40 am Post subject: evaluationMonitor.Invalid is giving me a hard time in one pc |
|
|
Hi there, I am using ILS to check if someone is entitled for an update by putting a date in the product info. to do this I check to see if the user is messing with the clock by calling evaluationMonitor.Invalid.
We have numerous installations and only people who had messed with their clock had the application locked. (by the way when th the invalid flag reset?)
I one particular pc in one company with like 15 installations, the evaluation monitor is always invalid!
I had (one at a time) them replace the cmos battery, stop windows from syncrinising the clock, uninstalled and installed the license key several times, reset the evaluation monitor with a utility (this worked for two days and then locked again).
I only have remote control of the system, I can't visit in person.
How can I trouble shoot this? Are there any details about this Invalid mechanism that I should know and you think may help?
I guess I can ask for a format or to have the pc send at our HQ if needed.
Thanks in advance
Aris |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jun 11, 2012 10:43 pm Post subject: |
|
|
What version of ILS are you using?
If you are including the code in your project what version is the code? _________________ Infralution Support |
|
Back to top |
|
|
i2s
Joined: 23 Mar 2011 Posts: 10 Location: Greece
|
Posted: Wed Jun 20, 2012 9:28 am Post subject: version 4.7.1.0 |
|
|
v4.7.1.0 on the license tracker about form
>If you are including the code in your project what version is the code?
Sorry I don't understand the question. do you need to see my code? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 20, 2012 10:13 am Post subject: |
|
|
Are you including the source code for the licensing classes directly in your code or are you referencing the Infralution.Licensing assembly?
If you are including the source then what version of the source code did you download and use? _________________ Infralution Support |
|
Back to top |
|
|
i2s
Joined: 23 Mar 2011 Posts: 10 Location: Greece
|
Posted: Wed Jun 20, 2012 11:05 am Post subject: |
|
|
I am referencing the dll which is the same version: 4.7.1.0 |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 20, 2012 11:01 pm Post subject: |
|
|
The only condition that sets the Invalid flag is if the EvaluationMonitor.LastUseDate is actually later than the current date (ie the user has wound back the clock since the last time the application was run). My guess is that on this particular PC the clock was wound a long way forward and then the application ran. Then they have set the clock back.
The Invalid flag will be cleared once the current date is later than the recorded LastUseDate. Alternatively you can Reset the the Evaluation data. See the following FAQ on how to do this:
http://www.infralution.com/phpBB2/viewtopic.php?t=272 _________________ Infralution Support |
|
Back to top |
|
|
i2s
Joined: 23 Mar 2011 Posts: 10 Location: Greece
|
Posted: Thu Jun 21, 2012 7:56 am Post subject: |
|
|
Thanks for the answer.
I have already reset the evaluation monitor before posting to you. I will ask them to replace the PC. I don't know what else to do.
Thanks again |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Jun 22, 2012 12:42 am Post subject: |
|
|
Sorry - I see now in your first post you mentioned that you had reset and that it worked again for a few days. That is quite strange and I think indicates that the user must be changing the clock on the machine. I can't see any other reason why this should work for a while and then just start having issues.
One thing you could try is to have your program output the LastUseDate and current Date. This may give you some indication of what exactly has happened and why the Invalid flag has been set. _________________ Infralution Support |
|
Back to top |
|
|
|