I have been using Aspose Cells for over a year now without fault. Just today I received the error message 'File Error' data may have been lost whenever I try and open any of the spreadsheets using Aspose Cells. I tried updating the dll files to the latest version but my license key isn't valid for Aspose Cell updates past May this year. I'm using version 220.127.116.11.
I've looked on the forum but not found a definite answer.
Here's the code to save the file(the full code is attached):
// Save workbook
DateTime CurrTime = DateTime.Now;
string NewFileName = "ShowBudget-" + CurrTime.ToString("ddMMyy-HHmmss") + ".xls";
MemoryStream stream = new MemoryStream();
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("content-disposition", "attachment; filename=" + NewFileName);