We’ve been using Aspose Total .net for some time to generate preview images of various filetypes.
For this we purchased developer oem-license and all was well.
Then the free year of support we got when we bought the license expired (03/03/2022) and since then the evaluation watermark got pasted on our preview images.
This should not happen since the license is perpetual and we’re not using a more recent version of any of the dotnet libraries.
A chat with support concluded the problem did not lie in the license. Our code however has not changed in the 8 months prior to this, we did not install any new libraries, rebooted servers or anything in at least the 2 weeks prior.
So we created a temporary license through Temporary License - Purchase - aspose.com, installed that to our servers and the watermark is gone.
We cannot conclude anything other than that the problem lies with either the licence file or Aspose’s licence check.
What can be done to fix this issue?
We’re using the following dotnet assmeblies, all installed to and used from the Global Assembly Cache, all from before the expiry-date:
- Aspose.Words, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
- Aspose.Cells, Version=19.12.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
- Aspose.Email, Version=19.10.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
- Aspose.Imaging, Version=19.12.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
- Aspose.Imaging, Version=21.4.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
- Aspose.PDF, Version=20.1.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63, processorArchitecture=MSIL
- Aspose.Slides, Version=19.12.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
The code that sets the license are all variations on the below, unchanged in the last 8 months code:
license_words = new Aspose.Words.License();
license_words.SetLicense(hLicenceFile);
license_cells = new Aspose.Cells.License();
license_cells.SetLicense(hLicenceFile);
This is done for the relevant libraries, based on the filetype and of course for the imaging libraries to save the generated preview and has worked for the previous 8 months.
One thing that might be of interest is the difference between the temporary license and our licence file, see attached image, even though I guess that’s just because of new naming conventions and the fact one is temporary.
licenses.png (29.5 KB)