Herewith i have attached an excel document NERV001_00015325.xls.zip (1016.3 KB) that reports “File is corrupted” while opening the using Cells Workbook, but the file is opening natively using MS Excel without any issue.
Code snippet:
using (var nativeExcelDocument = await fileDAL.GetFileAsync(“PATH TO THE ATTACHED FILE”))
{
var loadOptions = new LoadOptions(LoadFormat.Auto);
var workbook = new Aspose.Cells.Workbook(nativeExcelDocument, loadOptions);
}
@krontala,
This issue is reproduced and logged in our database for further investigation. You will be notified here once any update is ready for sharing.
This issue is logged as:
CELLSNET-47870 - "File is corrupted" exception raised while loading the XLS file
@krontala,
Please try our latest version/fix: Aspose.Cells for .NET v21.2.3:
Aspose.Cells21.2.3 For .NetStandard20.Zip (5.5 MB)
Aspose.Cells21.2.3 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.2.3 For .Net4.0.Zip (5.5 MB)
Your issue should be fixed in it.
Let us know your feedback.
The issues you have found earlier (filed as CELLSNET-47870) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao