Free Support Forum - aspose.com

Aspose Cells - Exception when opening Excel 2007(.xlsx) files

Hi,

I get an exception here:

WB.Open(FileName, Aspose.Cells.FileFormatType.Excel2007Xlsx)

And this is the stack trace:

Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)

at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)

at Aspose.Cells.OpenXML.?.?(XmlTextReader ?, ? ?)

at Aspose.Cells.OpenXML.?.?(XmlTextReader ?)

at Aspose.Cells.OpenXML.?.?(XmlTextReader ?)

at Aspose.Cells.OpenXML.?.?(XmlTextReader ?)

at Aspose.Cells.OpenXML.?.?(XmlTextReader ?)

at Aspose.Cells.OpenXML.?.?()

at Aspose.Cells.OpenXML.?.?()

at Aspose.Cells.OpenXML.?.?(Workbook ?, Stream ?)

at Aspose.Cells.Workbook.Open(String fileName, FileFormatType type)

Is it something wrong with the excel file?
I´m using version 4.4.1.15 of Aspose.Cells

Sincerely

Masod Saidi


Hi Masod,

Could you try our latest version (4.4.3: http://www.aspose.com/community/files/51/file-format-components/aspose.cells/entry121851.aspx) if it works fine.

If you still find the issue, kindly post your template file to reproduce the problem. We will check it soon.

Thank you.