We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FormatException thrown when loading specific Xlsx file

The attached XLSX file can’t be loaded. The constructor fails with FormatException “Input string was not in a correct format.”

the code looks like this:
var doc = new Aspose.Cells.Workbook(inputFile);

SR-131128 - FormatException.zip (206.3 KB)


Please notice, I am able to reproduce the issue as you have mentioned. I found FormatException “Input string was not in a correct format” when loading your XLSX file. I have logged a ticket with an id “CELLSNET-47528” for your issue. We will look into it soon.

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


We are pleased to inform you that we have fixed your issue now. You may expect the fix in the next few days (e.g hopefully before the end of this week or in the next week) after we have performed QA and incorporated other enhancements and fixes.

Great! That was a really fast fix.


You are welcome.


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

It includes the fix of your issue.

Let us know your feedback.
Aspose.Cells20.7.7 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.7.7 For .Net4.0.Zip (5.4 MB)

Thanks for the fast fix!


You are welcome.

The issues you have found earlier (filed as CELLSNET-47528) have been fixed in Aspose.Cells for .NET v20.8. This message was posted using Bugs notification tool by Amjad_Sahi