Bad status error opening excel file

Hi all,
I have an error when trying to open an excel file that is opened correctly by Office Excel.

The error is:
Bad state ( oversubscribed dynamic bit lengths tree)

Eclosed the file.

Could you please help me to understand the error?

Thanks in advance.

ErrorOpeningFile.zip (341.4 KB)

@OASI_DIAGRAM,

Thanks for the template file.

After an initial test, I am able to reproduce the issue as you mentioned by opening the file via Aspose.Cells APIs. I got an exception “Bad state (invalid block type)” when opening the XLSX file format:
e.g
Sample code:

Workbook workbook = new Workbook("e:\\test2\\ErrorOpeningFile.xlsx");

I have logged a ticket with an id “CELLSNET-46675” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

@OASI_DIAGRAM,

We evaluated your issue further. Which tool you used to create this file? It seems there is a bad file in the zipped XLSX file.

@OASI_DIAGRAM,

This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-46675”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@OASI_DIAGRAM,

Please try our latest version/fix: Aspose.Cells for .NET v19.3.5:

Aspose.Cells19.3.5 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.3.5 For .Net4.0.Zip (4.9 MB)

Your issue should be fixed in it.

Let us know your feedback.

The issues you have found earlier (filed as CELLSNET-46675) have been fixed in Aspose.Cells for .NET v19.4. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi