Free Support Forum - aspose.com

Seeting License in Aspose.EXcel

I am Using Following Code to setLicense

Dim lcns As Aspose.Excel.License

lcns = New License

lcns.SetLicense("Aspose.Excel.lic")

It gives error "Cannot find license 'Aspose.Excel.lic'."

However if i give specific path it works

lcns.SetLicense("C:\BUILDERSRISK\Services\Service-WordDoc\Aspose.Excel.lic")

There is only one license file on my M/c

I have mailed you my license file

Please help in this regard

Regards,

Aarti Sawant

This issue has nothing to do with the license file. Please check http://www.aspose.com/wiki/default.aspx/Aspose.Excel/Licensing.html .

Your application doesn't find the license file. So it's better to call it with an explicit path or just build it as an embedded resource.