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

Free Support Forum - aspose.com

Index and Count within Buffer Version 8.2.2.0

When i try to process the attached document with version 8.2.2.0, I get the following error:


Index and count must refer to a location within the buffer.

Index and count must refer to a location within the buffer.
Parameter name: bytes

at System.Text.UnicodeEncoding.GetString(Byte[] bytes, Int32 index, Int32 count)
at . . (Byte[] , Int32& )
at . . (MultipleFilterCollection )
at . . (AutoFilter )
at . . ()
at . .Read( , )
at . . ( , )
at . . ( , String , )
at . . ( )
at . .Read()
at Aspose.Cells.Workbook. (Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook. (String , LoadOptions )
at Aspose.Cells.Workbook…ctor(String file, LoadOptions loadOptions)

Hi Angel,

Thanks for your posting and using Aspose.Cells.

We were able to observe this exception on opening your source xlsb file using the latest version: Aspose.Cells
for .NET v8.3.1.4
.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSNET-43303 - Index and count within buffer exception on opening the workbook

C#

string filePath = @“F:\Shak-Data-RW\Downloads\corpsecurityapps.xlsb”;


Workbook workbook = new Workbook(filePath);

Hi,


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

We have fixed your issue now.

Let us know your feedback.

Thank you.