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

Free Support Forum - aspose.com

OpenXML SDK throws exception when opening converted file

Hi Aspose,

Open XML SDK throws exception when opening xlsm file converted from xlsb - System.InvalidOperationException (“Specified part does not exist in the package.”). After same conversion but using MS Excel OpenXML SDK - all works correctly.

Please see sample project with sample files: Aspose.Cells.ConsoleApp.zip (9.3 MB)

Thank you,
Alex Shloma

@licenses,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-47017 – OpenXML SDK throws exception when opening converted file

@licenses,
We have investigated it bit more, there is a record in sheet13.bin.rels : <Relationship Id=“rId6” Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="…/media/image8.emf"/>
But there is no such image in the template file and Aspose.Cells kept this record in order to keep all in the template file.
We will remove this record in the next fix.

@licenses,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@licenses,

Please try our latest version/fix: Aspose.Cells for .NET v19.11.2:

Aspose.Cells19.11.2 For .Net2_AuthenticodeSigned.Zip (5.0 MB)
Aspose.Cells19.11.2 For .Net4.0.Zip (5.0 MB)

Your issue should be fixed in it.

Let us know your feedback.

Hi @Amjad_Sahi,

Fix works okay. Waiting for official release.

Thank you!

@licenses,
Good to know that your issue is sorted out by the suggested hot fix. Feel free to contact us at any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Regarding the official release, it will be done in the third week of next month. You will be automatically notified when this official release will be published.

The issues you have found earlier (filed as CELLSNET-47017) have been fixed in Aspose.Cells for .NET v19.12. This message was posted using Bugs notification tool by Amjad_Sahi