We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Reg-Aspose Cells Workbook issue


I am using Aspose cells version .
By using this i am creating excel workbook . it working fine in hosting the application local system and Staging but in production some times it getting error while download excel from production link from any system. in both chrome and Mozilla fire fox browsers.

i am saving excel like this

strFilename = “xxx_ViewResults_” + DateTime.Now.ToString(“yyyyMMdd”) + “.xls”;

workbook.Save(strFilename, FileFormatType.Excel97To2003, SaveType.OpenInExcel, this.Response);

some times it getting downloaded correctly and some time getting error message. iam attaching the screen shot of the error message occurred in Mozilla fire fox browser.

after opening the downloaded file from chrome “

Cannot open the file because the file format or extension is invalid” opening Office files


i am getting above error message and i am attching sreen shot of this error message.

please check which format I should use . please help me any one.



Thanks for providing us some details.

Well, the error does not relate to Aspose.Cells component by any means, so there is nothing to do with Aspose.Cells to cope with it. We recommend you to browse internet to fix your issue. For example, see and following documents if these are helpful to figure out your issue on the production server on your end:

Thank you.