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

Free Support Forum - aspose.com

Licence file get locked out on webservice

Hello - I am using the single licence on a webservice to create powerpoint report. Works fine in general but intermittenly (i think it is when multiple clients access the webservice it comes up with the error: Cannot get licence file). It then works again after a few mins.

public Presentation(string fullPath)


License license = new License();


m_sFullPath = fullPath;


Dear dspdev,

Thanks for using Aspose.Slides.

I have requested the technical team to help you as soon as possible. You should not declare the License variable in function scope, declare it in class scope.

The most important you shouldn’t call SetLicense for each client access.
It must be called only once when web service application starts.