View previous topic :: View next topic |
Author |
Message |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Apr 13, 2014 11:17 pm Post subject: |
|
|
When you changed the web server that your Authentication Server is running on did the URL change? If so the most likely explanation is that your code still has the License Parameters with the old URL and is authenticating against the old authentication server (which must be still running). If the URL has changed then you need to regenerate the license parameters and update your code to use the new license parameters.
When IPN.NET sets an expiry date for a license key it calls the Authentication Server to do this - so if data is not being imported from the Authentication Server then this is also related. _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
hansh
Joined: 31 Mar 2008 Posts: 12
|
Posted: Mon Apr 14, 2014 9:33 am Post subject: |
|
|
HI,
thanks for your reply.
The url of the authentification server did change, but I reconfigured my license tracker to use the new url. I also regenerate all license parameters for all the products in the license tracker db (currently I only use the sample products that are generated by a new creation of a tracker db).
The license parameter in my c# code does reference the correct url of the authentification server.
I am pretty sure that the old authentification server is not accessed, since I just removed that service and the validation respectively key generation from the ipn.server still works (of course any authentification still does not update the license tracker db).
What can I do to diagnose the problem ?
One question: In the constructor for the AuthenticatedLicenseProvider class there are two parameters. The first one is my license parameter (that I feel is correctly configured), the second one is a 'license file'.
What is that license file ? I am currently use for that the ils5.lic file that I found in the c://programdata/infralution/licenses folder.
Is that correct or does that file need to be 'regenerated' when installing a new authentification server ? I realized that in my code I pointed in the past (accessing my old authentification server) to a non existing file, but this did not break the initialization of the class.
So what IS that file and where and how is it used ?
May be this license file is the reason why my license tracker does not gets updated.
Any clarification in respect to this license file is appreciated.
Best regards
Hans-Juergen |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
hansh
Joined: 31 Mar 2008 Posts: 12
|
Posted: Mon Apr 14, 2014 10:45 am Post subject: |
|
|
HI,
found the problem why the tracker db was not updated.
On the server i had a access file named license.db instaed of authentification.db. I assume license.db is a licensetracker db and not a standallone db that can be used by the authentification service.
Anyway, copied the authentification.mdb from my local pc to the server, reinstalled the authentification tables , reconfigured authentification server from licence tracker and now everything works fine.
STILL thought, I would appreciate an answer in respect to the 'license file' parameter when initializing a AuthenticatedLicenseProvider object.
Hope to hear from you regarding the latter question. Thanks in advance.
Best regards
Hans-Juergen |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Apr 14, 2014 12:30 pm Post subject: |
|
|
The licenseFile parameter (in the AuthenticatedLicenseProvider constructor) is the path to where your application license will be stored. This should be unique for your application. See the following FAQ on where you should save your license file:
http://www.infralution.com/phpBB2/viewtopic.php?t=1729 _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|