Can not find license file -> Aspose.Total.lic


I am using the Aspose Total Product Suite and I am running into an issue with setting the license for Aspose.Network on my web application. I can set the license fine for Aspose.Cells and Aspose.Words. Below is the code I am trying and it is the first and only code on the page.

Dim license As Aspose.Network.License = New Aspose.Network.License


I have verified that the license file is in the bin directory where the dll is, along with Cells and Words. On the same page I can set the license for Aspose.Words or Aspose.Cells but when it comes to Aspose.Network it fails to set the license with:

Cannot find license 'Aspose.Total.lic'.

I am using version, but have tried 3.8.2, and 3.9. I cannot test any further as my license is limited to releases before 6.13.2008. I did try version 4.6 but it also couldn't find my license file.

Aspose.Network does find the license when I create a test project though. It is only when it is within my web application, even though Aspose.Words and Aspose.Cells works. I have tried placing the license file in various locations and it is always with the dll. Any reason it works for Aspose.Words and Aspose.Cells but not Aspose.Network?


Thanks for considering Aspose.

Could you please try the following code:


If its the license file and dll are in the bin folder of the website, it should be able to set the license.

If still it does not work, please zip and send the web project and license file to me. I will look into it. You can send email to me via forum options "Contact" --> "Send saqib.razzaq an email".

Thanks, That did the trick.