Free Support Forum -

"Source array was not long enough" when opening xls file

I’m using lastest Aspose .NET v18.10.
I’m trying to open the attach file using aspose but get the error : "Source array was not long enough. Check srcIndex and length, and the array’s lower bounds."

FileStream fileStream= new FileStream(@“23.xls”, FileMode.Open);
Workbook workbook = new Workbook(fileStream);

Could you please help me check and suggest any workaround?
Thanks (4.7 KB)


We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46456 - Exception when opening XLS file


This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-46456”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.


Please try our latest version/fix: Aspose.Cells for .NET v18.11.2 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells18.11.2 For .Net2_AuthenticodeSigned.Zip (4.7 MB)
Aspose.Cells18.11.2 For .Net4.0.Zip (4.7 MB)

The issues you have found earlier (filed as CELLSNET-46456) have been fixed in Aspose.Cells for .NET v18.12. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi