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

Free Support Forum - aspose.com

Aspose.Cells version 5.0 throwing the exception of "Value was either too large or too small for an Int16"

Hi.
We had upgraded our projects to .NET version 4.7.1 recently and encountering the exception of "the error of “Value was either too large or too small for an Int16” when opening Excel file with the following codes:
Workbook wb = new Workbook();
wb.Open(file.InputStream);

The Aspose.Cells library which we are using is version 5.0. Understand that it is a very old version, but we are unable to update the DLL to the latest version due to time constraint at the moment. Can you please advise if I can still get any of the older 5.x versions DLL which have the exception resolved? We will then update the DLL to the latest version when time allows.

Thank you and appreciated for your help.

@chmun77,
I am afraid, you have to upgrade to latest version as we cannot include fixes in older versions. Please share stack trace and template file here for our analysis so that we can check if latest version reproduces this issue.