Excel documents fail to open - It is not a valid excel file

Hi,


we are getting the following exception while converting the excel files(having external links to other files) in to ods format via Aspose Cells for Java ver 2.5.4.

java.io.IOException: It is not a valid excel file.
at com.aspose.cells.iG.b(Unknown Source)
at com.aspose.cells.iG.b(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.Workbook.open(Unknown Source)


Please let us know that how we can get rid of this exception.

Best Regards
Bilal Bashir

Hi,


Please try our latest version v7.1.1:
http://www.aspose.com/community/files/72/java-components/aspose.cells-for-java/entry361330.aspx

It looks (by your exception) like your file is not native/valid Excel file, to confirm this, you may try to open the file into notepad, if it is a web page or else. Also for your kind information, we only support BIFF8 and greater formats (Excel 97 - 2010), the earlier formats or other formats are not supported.

If you still could not evaluate or find the issue, attach your source file here, we will check it soon.


Thank you.