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

Free Support Forum - aspose.com

Null Reference while setting the license for Aspose.Slides

Hi,

We are using the file stream to set the license for Aspose.slides in our web service. But we get a null reference error on doing the same. But it does not happen with the same code for Aspose.pdf with the respective license. We dont face this issue in all the machines.

licenseStream = new FileStream(licensePath, FileMode.Open, FileAccess.Read);
license.SetLicense(licenseStream);

Machine 1 and Machine 2 have the same code and license file. This issue occures in mahcine 1 but not in mahcine 2 and we dont have any such issue with PDF. The license is valid and path is also correct for Aspose.slides.

Please help us with the same.

Thanks,

Roshini

Hi Roshini,

Thank you for the details.

It seems very strange. Please share further details with us to verify the issue.

1: Sample application to reproduce the issue.
2: Environment of you production environment i.e. OS, .NET Framework etc.
3: Aspose.Slides version you are using.

We will further look into it and get back to you.

Thanks & Regards,