SetLicence

Hi

The following code is throwing an exception

Aspose.Wor​ds.License​ license = new Aspose.Wor​ds.License​();
license.Se​tLicense("​Aspose.Cus​tom.lic");​

The exception includes

Source Aspose.Words
TargetSite Void ᔙ(System.IO.Stream)

This site has been running for over three years and I haven’t changed the code recently and this error has only appeared today… can anyone help… The Aspose.Custom.lic file is in the bin directory btw.

Regards

Daryl

Hi Dary,
Thanks for your request. Could you please also provide a stack trace of the exception? Where do you set the license? Which version of Aspose.Words do you use?
Best regards,