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

Free Support Forum - aspose.com

Failed to load a strict open xml pptx

Hi,

I’m loading a .pptx file, created with Microsoft PowerPoint 2013 and saved as “Strict Open XML Presentation (*. pptx)”. I get an exception while creating a Presentation:

Not a Microsoft PowerPoint 2007 presentation.
at .–…ctor(Stream stream)
at „.™.(IPresentation presentation, Stream stream, ILoadOptions loadOptions)
at Aspose.Slides.Presentation.œa(Stream stream)
at Aspose.Slides.Presentation…ctor(Stream stream, LoadOptions loadOptions)

Sample code
var presentation = new Presentation(“file_path”, new LoadOptions(LoadFormat.Pptx));

I’ve tried Load.Options.Auto and no LoadOption specified. The same code works well for ordinary pptx file and other supported formats (also created with PowerPoint 2013). Are strict open xml files supported?
Sample file in attachment.
I’m using Aspose.Slides 14.5.0.0 for .NET

Hi Anastasia,


I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-35568 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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