Free Support Forum - aspose.com

Error after Aspose 21.2.3 version DLL update

When updating Aspose 21.2.3 version DLL, error in attached test application occurs. The excell document created with Aspose Cells cannot be opened. Save format is checked as xlsx, xls, Excel97To2003. Incorrect document occurs
Test_App
Error.PNG (32.6 KB)

@srmbimser,

Your code is not right. Please replace the following line of code:
i.e.,
wb.Save("output.xlsx", new Aspose.Cells.XlsSaveOptions(Aspose.Cells.SaveFormat.Xlsx));
with any of the following lines:

wb.Save("output.xlsx");
wb.Save("output.xlsx", SaveFormat.Xlsx);
wb.Save("output.xlsx", new Aspose.Cells.OoxmlSaveOptions(SaveFormat.Xlsx));

it will work fine as I tested.

Let us know if you still find any issue.