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

Free Support Forum - aspose.com

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, LogType.info);
        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.