Problem with loading Excel workbook with image in header

Hi,


I am using Aspose.Cells in .Net version 8.7.0.0 and with the attached project (which includes an affected spreadsheet) I get the following error when opening the spreadsheet which contains an image in the header:

Aspose.Cells.CellsException was unhandled
HResult=-2146232832
Message=Invalid sectionId of Header Footer image
Source=Aspose.Cells
StackTrace:
at . . (String )
at . . ( )
at . .Read( )
at . . ( )
at . . ( , String )
at . . ()
at . .Read()
at . . (Workbook , LoadOptions )
at Aspose.Cells.Workbook. (Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook…ctor(Stream stream)
at TestAsposeImageInHeader.Program.Main(String[] args)

Can you repeat this? Can this be fixed?

Thanks

Hi,


Thanks for the sample project with template file.

After an initial test, I observed the issue as you mentioned by just opening the file via Aspose.Cells APIs. I found an exception: “Invalid sectionId of Header Footer image” on opening the Excel file:
e.g
Sample code:

Workbook workbook = new Workbook(“e:\test2\ImageInHeader.xlsx”);

I have logged a ticket with an id “CELLSNET-44370” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.

Hi Adam,


This is to update you that we have fixed the problem logged earlier as CELLSNET-44370. We will shortly share the fix here after ensuring the quality and incorporating other enhancements.

Hi,


Please try our latest version/fix: Aspose.Cells for .NET v8.7.2.4.

We have fixed your issue “CELLSNET-44370” now.

Let us know your feedback.

Thank you.

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


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