Hi,
I have a workbook (see attachment) that contains just 1 sheet with an image. Simply loading the workbook, throws a seemingly unrelated exception:
System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at ? ( , ? )
at ? .( , ? )
at ? . ( , ? )
at ? .( , Int32 , Boolean )
at ? .(Boolean )
at ?? .( ? , String , String , Boolean)
at ?? .( ? , String )
at ?? . ()
at ?? .()
at ?? .(Workbook , LoadOptions )
at Aspose.Cells.Workbook.(Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook.(String , LoadOptions )
at Aspose.Cells.Workbook..ctor(String file)
at WorkbookWithPng.Program.Main(String[] args) in C:\dev\yasense\yasensenet\WorkbookWithPng\Program.cs:line 14
The question marks and missing characters are due to unicode. In attachement is a screenshot of the exception in cmd.exe.
The original workbook (from which the stripped down version in attachement was derived) works fine in Excel and, as soon as I remove that particular image, also in Aspose.
What could be wrong?
Thanks,
david.
example2.xlsx.zip (492.9 KB)
image.png (271.7 KB)