Free Support Forum - aspose.com

Setting the license hot to

Hello

I just receive the the license for the Aspose.Excel.
I have the following situation and I want to know how do I set the license:

I have a business component that builds the Excel file. After it is build, it is passed (the obejct) to the WebForm that it gives the file tot the client.
In this case where do I set the license? In the Web Form or in the Business class.
I also mention that the Business class also stores the Excel file in a repository, and I whould like to store it without the “tryout” information.

I hope I was clear enought

Calin

Dear Calin,

Please set license at the same place as initializing the Excel object.

I think you will call the following code in your business component:

Excel excelobj = new Excel();

So please set the license in your business component.