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

Free Support Forum - aspose.com

.lic file gives error using setlicense

I have loaded a temporary licence file .lic but get the following error


License license = new Aspose.BarCode.License();



Data at the root level is invalid. Line 1, position 1.


Thank you for your inquiry.

Can you please send your License file in an archive. You can send the License file by clicking “Contact” button on this thread and then select “send babar.raza an email”.

We will look into this matter very soon.



Thank you for providing your license file. I am able to reproduce the said exception with your provided file. Also I have consulted with the concerned department and the problem with the license seems to have occurred on its way to the you.

You can always download a copy of the licence by signing in with your Aspose username and visiting the Purchase page and “View my quotes”.

Please download a fresh copy and feed us back with your results.

Thanks and regards.