Free Support Forum - aspose.com

Open Excel Strict OpenXML files fails with Workbook class

Attempt to open the attached workbook using the Workbook class raises the error below. This file is saved as Excel Strict OpenXML from Excel 2013.



var wkBook = new Aspose.Cells.Workbook([path to file]);

Error: System.NullReferenceException: Object reference not set to an instance of an object.

Hi Stacey,


Thank you for contacting Aspose support.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for .NET 8.5.0.2, and we are able to replicate the said exception. We have logged this problem in our bug tracking system under the ticket CELLSNET-43764 for further investigation. Please allow us some time to properly analyze the problem cause and get back to you with updates in this regard.

Hi again,


This is to inform you that we have fixed the problem logged earlier as CELLSNET-43764. We will shortly provide the fix here with the upcoming maintenance release of Aspose.Cells for .NET API.

Hi,


Please try our latest version/fix: Aspose.Cells for .NET v8.5.0.3

We have fixed your issue now.

Let us know your feedback.

Thank you.

Just re-tested with 8.5.0.3 and see it loading correctly. Is this library in release or pre-release?

Hi Stacey,


Thank you for the confirmation.

Please note, version 8.5.0.3 is a maintenance release however, it can be used in production environment without any problem. In case you wish to wait for the official release containing this fix then you have to wait till the 20th of this month when next official release of Aspose.Cells for .NET 8.5.1 is scheduled.

The issues you have found earlier (filed as CELLSNET-43764) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.