I have a license and I placed in my ASAX file on the Session On Start:
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started
Dim license As Aspose.Cells.License = New Aspose.Cells.License()
'Pass only the name of the license file embedded in the assembly
Then in my bin I placed the lic file. It works fine on my local but when I do a publish the evaluation keeps coming up when I moved it to my web server. I don't see my ASAX file when doing a publish but not sure if that compiles with the code. Also the lic file did not get into my bin when I did the publish I had to add it to it after the publish was completed. However it is in my solution in the bin folder.