Opening an Excel file gives "Non-negative number required" in .NET

Hello There,

We are using Aspose.Cells 4.7.0.6. When trying to open an Excel file, we always get following error:

System.ArgumentOutOfRangeException was unhandled
Message="Non-negative number required.\r\nParameter name: count"
Source="mscorlib"
ParamName="count"
StackTrace:
at System.Text.UnicodeEncoding.GetString(Byte[] bytes, Int32 index, Int32 count)
at Aspose.Cells.RW.x8b6071c5dcbbf539.x5bb68a2c8aa88e84(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at Aspose.Cells.RW.x8b6071c5dcbbf539.xbddc206c7dafc24d(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at Aspose.Cells.RW.x8b6071c5dcbbf539.x2a9806f9bb2936af(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at Aspose.Cells.RW.x8b6071c5dcbbf539.x6b024d3b2b8f9765(MemoryStream xcf18e5243f8d5fd3)
at Aspose.Cells.RW.x8b6071c5dcbbf539.x6f3d999f7a817f2d(xd8c3135513b9115b x84378c276c4cd7e2)
at Aspose.Cells.RW.x8b6071c5dcbbf539.x06b0e25aa6ad68a9(Stream xcf18e5243f8d5fd3)
at Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type)
at Aspose.Cells.Workbook.Open(String fileName)

Excel file is attached for your testing. It is an urgent issue with our clients. Please provide fix ASAP.

Thanks,

William Ren

Clarity Systems

Hi William,

Thank you for considering Aspose.

After an initial test, we have found your mentioned issue. We will provide a fix soon.

Thank You & Best Regards,

Hi,

Please try the attached version, we have fixed your mentioned issue.

Thank you.

Hi,

Can you please provide a version for .Net 2.0?

Thanks,

William Ren

Hi William,

Thank you for considering Aspose.

We will create a build for .Net 2.0 and provide it to you soon as per your requirement.

Thank You & Best Regards,

Hi William,

Thank you for considering Aspose.

Please try the attached latest fix of Aspose.Cells for .NET (build for .NET 2.0).

Thank You & Best Regards,

Thanks for the support. It works fine now.

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


This message was posted using Notification2Forum from Downloads module by Amjad Sahi.