Input string was not in a correct while open excel file

Hello,

I’m using Aspose.Cells dot net dll version 8.6.2.4 (4.5.2 framework project)
While attempt to open an Excel file, I get this eception:

System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)

At line:
using (Workbook workbook = new Workbook(outputFileName))

I would appreciate your help,

Udi

@udishl,

Thanks for the stacktrace.

Since you are using an older version (8.6.2.4) of the APIs, so we are not sure about your issue. It might be a bug or limitation in the older version that you are using. We recommend you to kindly upgrade to and try our latest version/fix: Aspose.Cells for .NET v22.9 (Download | NuGet). If you still find any issue with latest version/fix, kindly do zip and share your template Excel file, we will check it soon.