Exception on Workbook.Open


I have an excel(.xls) file which has 3 sheets. The size of the excel is about 150 KBs. I am trying to open the file using the Workbook.Open() method. The aspose cells version is 4.81.0.

The workbook.open method throws the following exception:

Message : Destination array is not long enough to copy all the items in the collection. Check array index and length.

Kindly suggest a resolution for this.




I think you should try to use our latest version preferably v5.1.4.x. Since you are using some older version of the product for which we are not sure.

We recommend you to try our latest version v5.1.4.x, if you still find the issue, kindly post your template file here, we will check your issue.

Thank you.