Free Support Forum - aspose.com

Open an excel 2007 password protected file error

When open one excel 2007 file which is password protected, I got the error as following:
<java.io.IOException: It is not a valid excel2007 file.error in opening zip file>

the code:
String s1Protected = “C:\Vmware\workspace\aspostTest\test\test.xlsx”;
Workbook workbook = new Workbook();
System.out.println(CellsHelper.getReleaseVersion());
try {
workbook.open(s1Protected, FileFormatType.EXCEL2007, “password” );


environment:
Aspose.Cells for java version 2.1.0.0 (trial version)
Java 1.6
Excel installed :2003

So where is wrong?

stone

Hi Stone,

Thank you for considering Aspose.

Well, I am afraid; the encryption type you are using is not supported currently. We have registered your request in our issue tracking system with issue id CELLSJAVA-11816. We will look into it and see if we can support it in the near future.

Thank You & Best Regards,

The issues you have found earlier (filed as 11816) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.