Object reference not set to an instance of an object. while reading .xlsb file


#1

Hi, we are unable to read the attached xlsb file Test.zip (561.4 KB) using Aspose cells and it shows “Object reference not set to an instance of an object.”, this was working before and there were some changes to the excel and suddenly its showing up this error now. Could you please help in understanding what is the issue with the excel file?

Error is shown up in the below code:

Workbook wbMI = new Workbook(tempPath + “Test.xlsb”);


#2

@Prashanth1_Ks_in_ey_com,

Thanks for the code segment, template file and details.

Please try our latest version/fix: Aspose.Cells for .NET v19.6.4 (attached)

I have tested using your template file and sample line of code, it works fine.

Let us know your feedback.
Aspose.Cells19.6.4 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.6.4 For .Net4.0.Zip (4.9 MB)