I encountered an error while opening a password protected workbook using Aspose.Cells (version: 184.108.40.206).
I have seen this issue has been raised on the Aspose website, but I couldn’t find a answer leading to a solution.
Can you help please? Thanks.
Registered error information:
RangeMessage "Specified argument was out of the range of valid values."
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 Aspose.Cells.Workbook.Ԟ(࣪ ԟ)
at Aspose.Cells.Workbook.Ԛ(String ԛ, LoadOptions Ԝ)
at Aspose.Cells.Workbook…ctor(String file, LoadOptions loadOptions)
at Company.Application.Services.ExcelService.OpenExcelFile(String excelFile, String password) …
Please download and try the latest version:
Aspose.Cells for .NET v220.127.116.11
If the problem persists, then please provide us your password protected source file and also provide us the password.
We will soon look into it and help you asap.