I am using Aspose.Words (Ver 184.108.40.206) for .Net to convert docx file to html file. But I am getting an exception while reading the license file. Please find the error below.
Cannot find license '\\stgintraweb\STGINTRANETHTDOCS\intranet\apps\depts\TGS\ASG\TR\TravelCSQAdmin\License\Aspose.Total.lic'. at x28925c9b27b37a46.x220f433da4115056.xde6236852622c268(String x1c1fc72fe1a3b4ea, Assembly x39e0a96279c40baa) at x28925c9b27b37a46.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4) at Aspose.Words.License.SetLicense(String licenseName)
I have tried for various solutions.
1. I have copied the license file into the bin folder that contains assemblies of my project and have created an object of the Aspose.Words.License class and called the SetLicense method passing only the file name of the license file without path as below:
Aspose.Words.License license = new Aspose.Words.License();<?XML:NAMESPACE PREFIX = O />
2. I have done the impersonation for reading the file.
Both the solutions doesn't work out.
Could someone help me.
Thanks and Regards,