Using Aspose.Cells Version 4.9.0.0 -
When I execute
ExcelWorkBook.Save(fileName, FileFormatType.Excel2007Xlsx, SaveType.OpenInExcel, System.Web.HttpContext.Current.Response);
I get the error message
MESSAGE: Index and count must refer to a location within the buffer.
Parameter name: bytes
If I modify the code to use a different FileFormatType
ExcelWorkBook.Save(fileName, FileFormatType.Excel97To2003, SaveType.OpenInExcel, System.Web.HttpContext.Current.Response);
then it works correctly and the file is opened in excel. Any thoughts? Thanks!
Cindy