Overfllow exception when opening Excel file

When I attempt to open the attached file using Aspose.Cells, I get an overflow exception that appears to be from trying to parse an integer value. Is there something that can be done to help with this?



Thanks,

Michael Whalen

Hi Michael Whalen,

Thanks for your posting and using Aspose.Cells.

We were able to observe this exception by executing the following code with your source Excel file using the latest version: Aspose.Cells
for .NET v8.2.2.2
. System.OverflowException occurs on opening your Excel file.

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-43142 - System.OverflowException on opening the Excel file

C#

string filePath = @“F:\Shak-Data-RW\Downloads\Causes+Overflow.xlsx”;


Workbook workbook = new Workbook(filePath);

Exception
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int32.Parse(String s, IFormatProvider provider)
at ”.Š.(String )
at ”..(€ )
at ”..œ(€ )
at ”..Read(€ )
at ”.‡.e( )
at ”.‡.‰( , String )
at ”.‡.ƒ()
at ”.‡.Read()
at ”.†.(Workbook , LoadOptions )
at Aspose.Cells.Workbook.Ÿ(Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook.Ÿ(String , LoadOptions )
at Aspose.Cells.Workbook…ctor(String file)

Additional information: Value was either too large or too small for an Int32.

Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.2.2.3 and let us know your feedback.

It works perfectly. Thanks for the quick turnaround!

Hi,


Thank you for the confirmation. Please feel free to contact us back in case you need our further assistance with Aspose APIs.

The issues you have found earlier (filed as CELLSNET-43142) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan