The exception about old version Aspose.Cells on IE 11

We get a problem about old version Aspose.Cells on IE 11

Version Info:4.7.0.0 and LicenseVersion:2.1

When we used Aspose.Cells to download a excel on IE11 ,we got the following condition.

screenshot.png (4.1 KB)

Then we check code of Aspose.Cells ,we found it use Response.Close and Response.end

We doubt those code cause this situation.

Could you tell us how to fix it?

@WQ99

We are afraid, you are using very old version and we only fix the issue in most recent version only.

However, please try this code and check if it makes any difference and works for you.

C#

//Save file and send to client browser using selected format
if (yourFileFormat == "XLS")
{
	workbook.Save(HttpContext.Current.Response, "output.xls", ContentDisposition.Attachment, new XlsSaveOptions(SaveFormat.Excel97To2003));

}
else
{
	workbook.Save(HttpContext.Current.Response, "output.xlsx", ContentDisposition.Attachment, new OoxmlSaveOptions(SaveFormat.Xlsx));
}

HttpContext.Current.Response.End();