We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

App Pool Recycle - SetLicense null referenceIs t

We are experiencing an intermittent issue with Aspose.PDF. After an app pool recycle we get the following when running SetLicense.

Object reference not set to an instance of an object. at Aspose.Pdf.License.SetLicense(Stream stream)

Recycling the app pool again or doing an IISReset typically resolves the issue.

Is this a known issue with Aspose pdf and is there any resolution?

Hi There,


Thanks for contacting support. Would you please share more information regarding your working environment (i.e OS version, API version, Application Type and Target Framework, etc) and in which application part you are setting license. This way we can try to reproduce issue in our environment and share our feedback appropriately.

We are sorry for the inconvenience.


Best Regards,