Opening and Saving PPTX Causes: “Value Cannot Be Null. Parameter Name: Key”


Just opening and saving the PPTX to another file causes error in subject:

Easy to identify: unknown container in the slide

Thank you.

here are two files:

using (var stream = new FileStream(ppt, FileMode.Open))
    var presentation = new Aspose.Slides.Presentation(stream, loadOptions);
        WriteLog("Saving PowerPoint: " + outPpt,;
        presentation.Save(outPpt, Aspose.Slides.Export.SaveFormat.Pptx);
        WriteLog("PowerPoint saved !", LogType.success);
    catch (Exception ex)
        WriteLog("NormalizingPPT error saving pptx: " + ex.Message, LogType.error);

Thank you for describing the issue. I reproduced the problem with the ArgumentException error.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-43805

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

A post was split to a new topic: Cannot Find Release Notes for Aspose.Slides 23.3.1

The issues you found earlier (filed as SLIDESNET-43805) have been fixed in Aspose.Slides for .NET 23.6 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.