Free Support Forum - aspose.com

Problems with Excel 2007

Hi there,



I have to load an Excel 2007 file dynamically using this:



workbook.loadData(blob.getInputStream());



And I got the following exception:



java.lang.IllegalStateException: This is not a structured storage file.

at com.aspose.cells.ds.(Unknown Source)

at com.aspose.cells.av.a(Unknown Source)

at com.aspose.cells.av.(Unknown Source)

at com.aspose.cells.Workbook.a(Unknown Source)

at com.aspose.cells.Workbook.loadData(Unknown Source)



What’s wrong here. I use version 1.9.4.10 of Aspose.PDF



Please help!



Hi,

Could you post your template file here. We will check it soon.

Thank you.

And by the way did you try our latest version: http://www.aspose.com/community/files/51/file-format-components/aspose.cells/entry132221.aspx

Thank you.

Hi,

Currently Workbook.loadData() only supports Excel97-2003 file, for Excel2007, you have to use Workbook.open() to do with it. And because objects such as Shape, Picture and so on are not supported by Aspose.Cells for Java currently for Excel2007, so Workbook.open() and Workbook.loadData() for Excel2007 file have no distinct difference. We will look into this feature(supporting loadData() for Excel2007) after we support all objects for Excel2007. Thank you.

Any news regarding this? It is TOP urgent!



BTW: We have no problems with older excel-versions.



Sorry for last Post!