Unable to save in FileFormatType.Excel2007Xlsx

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

Hi Cindy,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

Please share your sample code and template file to reproduce the issue. We will check it soon.

Thank You & Best Regards,

Resolved by upgrade to V5.1.2