Error: Cannot find licence



We have been using Adhoc and Words and for them we got a Aspose.Custom.lic file. We recently purchased Aspose.Barcode and placed the Aspose.Barcode.lic in the same location as Aspose.Custom.lic file (Website\Bin folder). When executing the following code, it can find the Aspose.Custom.lic file but throws an error: Cannot find license when trying the last line. We are using Aspose.Barcode 1.7.

Dim License As Aspose.Words.License = New Aspose.Words.License


Dim Licence1 As Aspose.BarCode.License = New Aspose.BarCode.License




Thank you for considering Aspose.BarCode!!

Please make sure the path to the license file is correct, for example:
If the license file is placed inside Bin folder, and the web page locates at root path.


|_ Aspose.Custom.lic
|_ webpage.aspx

Then we could set license in webpage like this:

Dim lic as Aspose.BarCode.License
lic = new Aspose.BarCode.License()

Please try setting license this way. If problem persists, could you send you license file to we will check it out.

Best regards.