Updater License check failure (ASP/MySQL) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Sandy
Posts: 15
Joined: Tue Jun 16, 2009 8:02 am

Updater License check failure (ASP/MySQL)

Hello,

I have been using the "Updater license check" feature for a few years now. So far, I have been passing the LicenseID parameter to the ASP page on the server to check the validity of the license by comparing it to a MS Access database on the server. However, since we have moved to MySQL databases, I have had to replace the relevant part of the code.

To my dismay, irrespective of whether the licenseid is valid or invalid, the autoupdater is allowing the user to update the software. I can confirm that the MySQL database is being read and compared correctly.

I have been through the PHP and JSP samples that you have provided for serial number validation. The logic that I have put in place is very similar. If I revert to the MDB database, the validation works fine.

I am using Ver 7.1.1. Look forward to hearing from you...

Thanks & regards,

Sandy
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater License check failure (ASP/MySQL)

Hi Sandy,

The updater does not know what database you are using, so this does not matter for it. It only uses the answer code received from your server to see if the update is accessible or not. Have you checked the answer code sent by your server, according to our documentation?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Sandy
Posts: 15
Joined: Tue Jun 16, 2009 8:02 am

Re: Updater License check failure (ASP/MySQL)

Hi Bogdan,

On seeing your response, I thought it best that we examine and debug all our scripts. In this way, we could determine if we had made any errors at our end which was resulting in the failure of the Updater license check mechanism. Sure enough, we found the bug and now everything is working smoothly. My sincere apologies for taking up your time and thanks, as always, for your support.

Regards,
Sandy
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater License check failure (ASP/MySQL)

Always a pleasure Sandy, glad you found the problem.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”