Broken PowerPoint Presentation File: Can You Try to Automatic Repair?

Hi

Broken pptx but option to repair

Can you set up the automatic repair if that is possible ?!

Thank you

file:

code:

using (var stream = new FileStream(ppt, FileMode.Open))
{
    var presentation = new Aspose.Slides.Presentation(stream, loadOptions);
    try
    {
        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);
    }
}

@pcaillol,
Thank you for posting your requirements. Unfortunately, Aspose.Slides is not able to repair corrupted presentations yet.

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-43807

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.

Hi

That would be awesome !

An automatic repair or recovery option/function that rebuilds the integrity of the file.

Do you think that’s technically possible ?

Thank you

@pcaillol,
I think it is possible because PowerPoint can do it. Our developers will consider implementing such a feature.

Wonderful ! Looking forward. Cheers

Hi

23.6 does not solve this problem for those presentations:

Causes “value cannot be null” exception. can’t open files.

Can you help please ?

Thanks

@pcaillol,
Thank you for the sample presentations. I reproduced the exception you are encountering using Aspose.Slides for .NET 23.6.

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-44070

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.

The issues you found earlier (filed as SLIDESNET-43807) 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.

The issues you found earlier (filed as SLIDESNET-44070) have been fixed in Aspose.Slides for .NET 23.8 (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.