Herewith i have attached an excel document NERV001_00006882.xls.zip (18.3 KB)
that reports “Valid values are between 0 and 65535, inclusive.” while opening the file using Cells Workbook, but the file is opening natively using MS Excel without any issue.
Code snippet:
using (var nativeExcelDocument = await fileDAL.GetFileAsync(“PATH TO THE ATTACHED FILE”))
{
var loadOptions = new LoadOptions(LoadFormat.Auto);
var workbook = new Aspose.Cells.Workbook(nativeExcelDocument, loadOptions);
}
@krontala,
This issue is reproduced and logged in our database for further investigation. You will be notified here once any update is ready for sharing.
This issue is logged as:
CELLSNET-47869 - Cells Workbook Load Failure with Exception "Valid values are between 0 and 65535, inclusive."
@krontala,
Please try our latest version/fix: Aspose.Cells for .NET v21.2.3:
Aspose.Cells21.2.3 For .NetStandard20.Zip (5.5 MB)
Aspose.Cells21.2.3 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.2.3 For .Net4.0.Zip (5.5 MB)
Your issue should be fixed in it.
Let us know your feedback.
The issues you have found earlier (filed as CELLSNET-47869) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao