We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Opening a file

I am getting the following error when trying to open an exel file:

Source array was not long enough. Check srcIndex and length, and the array's lower bounds.


Steve Gregory

This message was posted using Aspose.Live 2 Forum


Please post your template file. And point out which version do you use? We will check is soon.

I am using version

I have attached the file I'm trying to load.


This file is protected with password.

Please call Workbook.Open(Stream stream, FileFormatType type, string password) method to open the workbook.

Sorry, I should have mentioned the file was password protected. Attached is another one that isn't and still has the same problem. The password protection is no issue, as I load 70 other Excel files in that are also password protected with no problem.



Hi Setve,

Please try this fix.

Wow. You fixed it! What was the issue?

Thanks very much... unbelievable turnaround. Very impressed.



Hi Steve,

I think it's caused by the old version.