Excel.Web License


We purchased the total product which came with the excel.web. But, when I add in the license xml file it is saying that the license is not valid.

Aspose.Excel.Web.License license = new Aspose.Excel.Web.License();

license.SetLicense(MapPath(".") + \\license\\Aspose.Total.lic.xml);

Any Ideas?


1. Which version of Aspose.Excel.Web are you using?

2. Could you send your license file and your sample code to nanjing@aspose.com? We will check it ASAP.


Hmm, I did some searching and switched to the Aspose.Grid. That fixed the issue. But, One other question that I can seem to figure out. The web app that I am developing uses Aspose.Excel also. It all seems to be working fine but, about 50% of the time, when upload an excel file via the HTML file input control. The server processor peaks to 100% and it is hanging on the load of the excel file. Here is the code:

HttpPostedFile myFile = excelInput.PostedFile;



lblError.Text = "The file loaded is not a valid map file.";

imgComplete1.ImageUrl = "images/redx.jpg";

lblError.Visible = true;






//get the size of the file

int nFileLen = myFile.ContentLength;

//allocate a buffer for reading the file

byte[] myData = new byte[nFileLen];

//read the uploaded file from the stream

myFile.InputStream.Read(myData, 0, nFileLen);

System.IO.MemoryStream temp = new System.IO.MemoryStream(myData);

//reset UI information

_mapFile = new Excel();



Any Ideas?


Could you post your files which caused hangon problem? I will check it ASAP.


I have attached the file that is causing the problem.


I mean the Excel file which caused the problem. Please post it here. Thank you.