We are using aspose to generate excel file. the excel file uses workbook.save() method. something like this
excel.Save(Server.UrlEncode(GetGlobalResourceObject(“ListPage”, “OrganizationList”).ToString()).Replace("+", " ") + “.xls”, SaveType.OpenInExcel, FileFormatType.Default, this.Response);
this works fine, but on IE11 the behavior is not smooth. Some times the excel opens up and sometimes it throws an error as mentioned below
I.e. the file you are trying to open excel , is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file Error While downloading an excel. Would you like to open
Can you please look and advise on this.
Aspose Details -
version - 2.9.7.3
Runtime Version : v1.0.3705