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

Free Support Forum - aspose.com

Aspose.Total.lic not working

When trying to Instantiate the Aspose licence, we get the following error.
An error occurred while parsing EntityName. Line 17, position 122.

Below is what we are doing:
Aspose.Pdf.License pdfLicense = new Aspose.Pdf.License();
pdfLicense.SetLicense(“Aspose.Total.lic”);

@treblyv

Would you please share your license file in a private message with us. We will test it in our environment and share our feedback with you. In order to send a private message, please click over username and press Blue Message button.

Good morning. I am also having the same exact error, including line and position information, but when applying the Aspose.Total.lic for Aspose.Words. My code is almost an exact match to treblyv:

 Aspose.Words.License asposeWordLic = new Aspose.Words.License();
 asposeWordLic.SetLicense("Aspose.Total.lic");

What was the solution to this issue?

@treblyv, @OWENS

Did you guys made any change to the license file, maybe by mistake etc., if so, please make sure to use the original file which hasn’t been updated in any way.

If the file was not changed and you’re still facing the issue, then we’ll have to test the license file at our end. So please send us the license file as advised by @asad.ali in his last reply.

@OWENS

We have checked your license file and it seemed like it was corrupted. There may be several reasons for it. Your antivirus may have corrupted the file as well. There was another case of a license file not working because of URL Defence and the problem was the URL in the license file was changed to https://urldefense.com/v3/__https://purchase.aspose.com/policies/use-license .

Please try to download the license from website yourself and use it in your application. You can download your license file from https://purchase.aspose.com/orders . In case you still face any issue, please feel free to let us know.