Where to put license code in vb.net (web)

The Evaluation Copy Warning appears even after I have the following code in the Page Load event:

Dim license As Aspose.Grid.Web.License = New Aspose.Grid.Web.License()

license.SetLicense("Aspose.Grid.lic")

The License file is located in the bin directory along with the dll.

Hi,

Thanks for considering Aspose.

Could you check your license's expiry date, you may open the Aspose.Grid.lic file into notepad and check the element tag i.e.., ............... It is to be noted here, if you are using a version (Aspose.Grid.Web) that is released / published after your expiry date, you may use any of the following options:

1. Upgrade your subscripion to use the latest version.

2. Try to use some older version of the control that is released before your expiry date.

Thank you.

The license's expiry date is 20090903. Can you advise?

Hi,

Could you mail me your license file, we will check it soon.

To mail your license file to us, please check the instructions: http://www.aspose.com/corporate/purchase/faqs/send-license-to-aspose-staff.aspx

Thank you.