View previous topic :: View next topic |
Author |
Message |
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Mon May 31, 2021 10:09 am Post subject: Version 6.4.2 |
|
|
Upgraded from 6.4.1 to the latest, but getting the below error:
'ILSLicenseProvider' is not a member of 'LicenseUtilities'.
Please check!
Uninstalling then installing 6.4.1 from http://www.infralution.com/downloads/Licensing6Setup.exe fixed the issue. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon May 31, 2021 11:05 pm Post subject: |
|
|
When are you getting that error? _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Tue Jun 01, 2021 6:51 am Post subject: |
|
|
In the code:
Code: | Dim provider As AuthenticatedLicenseProvider = LicenseUtilities.ILSLicenseProvider
provider.UninstallLicense() |
Newer DLL fails here |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Jun 01, 2021 10:52 pm Post subject: |
|
|
When you say fails do you mean does not compile or fails at runtime?
Is this in your application code? Or in the source code for License Tracker?
Your application code should not be calling the ILSLicenseProvider property - because this is the license provider for the ILS license. Calling this will uninstall the ILS License. The new License Tracker source code also should also not be calling that property because it no longer requires a license and so does not need to uninstall it. _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Wed Jun 02, 2021 5:48 am Post subject: |
|
|
Code: | Dim provider As AuthenticatedLicenseProvider = LicenseUtilities.ILSLicenseProvider
provider.UninstallLicense() |
The above is an existing part of my code allowing the user to uninstall an installed license on a button click.
It's always been there, but looks like ILSLicenseProvider is no longer public in the source?
I guess as a work around I'd remove my ability to delete a license as it's only called here. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 02, 2021 8:03 am Post subject: |
|
|
That won't uninstall your license it will uninstall the ILS license (which they probably don't have so it will do nothing). If you want to uninstall your license use the AuthenticatedLicenseProvider that you create _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Wed Jun 02, 2021 8:16 am Post subject: |
|
|
lol!
sounds good, thanks for clarifying!
And thanks for providing support even though, and sadly, you are winding down the business! |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|