Error: Cannot find licence

Hi,

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

License.SetLicense("Aspose.Custom.lic")

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

Licence1.SetLicense("Aspose.BarCode.lic")

Hello,

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.

+/

+/Bin/
|_ 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()
lic.SetLicense(Server.MapPath("bin/aspose.custom.lic"))

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

Best regards.