Hi, I have a problem with creating an Xslx report in an Web app.
I'm creating a xlsx file in an ASP.NET app using this code:
wrkbk.Open(templateFileName, FileFormatType.Excel2007Xlsx);
wrkbk.Save(outputFileName, FileFormatType.Excel2007Xlsx, SaveType.OpenInExcel, Response);
The file I get is corrupted and can't be opened.
The file is OK when created in an WinForms application using this code:
workbook.Open("ReportByFIFO.xlsx", FileFormatType.Excel2007Xlsx);
workbook.Save("Test.xlsx", FileFormatType.Excel2007Xlsx);
Version of the Aspose.Cells.Dll used is 4.3.0.10. The original an the corrupted files are attached.
Thank's for Your help.
Pavel Klocek