Aspose.PDF Trial License stamp on files in production

Hi,

We have bought the Aspose.PDF license (Order ID : 170223025908) and using Aspose.PDF 17.2.0.0. Now we have problem on our customers production where some files get stamped with “Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2017 Aspose Pty Ltd.”

Could you please let me know what could be the issue and why suddenly it starts stamping the trial license text?

It was working fine erlier. They have Load balancer with two servers running on.

@coolwolverine

Thank you for contacting support.

Please share if there have been some changes that resulted in this situation. You may validate the license with Document.isLicensed property. In case the issue persists, then please share a sample application containing SSCCE code so that we may try to reproduce and investigate it in our environment. Also share your license as a ZIP file via private message by clicking on my username.

Hi,

We started getting the same error again on Production Server. We reset the IIS application pool and it started working again. There are roughly 100 users using the application. Is there any limitation on the number of request or the any problem setting license if the application pool is overloaded or something like that?

@coolwolverine

Would you please elaborate how do you load the license, do you pass the file path or use a stream for loading it? If you are using stream approach then please check which contents of streams are loaded from resource, and whether you use obfuscator for your application or not. Also mention how have you merged the API with your application, is it external link or merged? Furthermore, does your application ensure stream contents are not null?

Before sharing requested feedback, please make sure to use latest version of the API.

We set the license by passing the license file name, which is present in the bind directory of the web application.
try
{
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(“Aspose.Pdf.lic”);
}
catch (Exception)
{
//Ignore, run as trial
//Note: only supports 4 pages in trial!
}

@coolwolverine

We would be releasing Aspose.PDF for .NET 19.10 tentatively in upcoming week, which will include some improvements related to licensing. We would notify you as soon as this version will be released and then your feedback will be required if issue persists. Please spare us little time.

@coolwolverine

Would you please try Aspose.PDF for .NET 19.10 and then share your kind feedback with us if you still face any problem.