Free Support Forum - aspose.com

Problems Licensing

My order number is 060126180409 and I have installed the license file Aspose.excel.lic.xml in the bin directory and placed the following code in the page_load:

Dim license As Aspose.Excel.License = New Aspose.Excel.License
license.SetLicense("Aspose.Excel.lic.xml")

I am using VB and I keep getting that extra sheet with the warning that the sheet was created with the evaluation version. Do I need to download a different version and install it? I have the latest 3.6.2 and it works fine just this evaluation warning on a second sheet. I verified that I did not save the sheet like that and it only has a single sheet in it.

Thanks,
Steve Fejes

Hi Steve,

1. The license file isn't placed in the right place. Please put the license file in the same folder with your application assembly.

2. If it still doesn't work, please call it with explicit path. For example:

license.SetLicense("C:\LicFile\Aspose.Excel.lic.xml")

3. It's better to put your calling license code in the Application_Start event.