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

Free Support Forum - aspose.com

Exception "Operation is not valid due to the current state of the object" on loading PPTX file using Aspose.Slides (C#)

Dear Aspose team,

we have a .pptx file that opens with PowerPoint.
When trying to open it with Aspose.Slides, it gives the following exception:

Aspose.Slides.PptxReadException: ‘Operation is not valid due to the current state of the object.’

Used code:

Aspose.Slides.Presentation doc = new Aspose.Slides.Presentation(inputFilePath);

Problematic file:exported.zip (2.6 MB)

Could you check out this issue, please?

Best regards,

Gergely Vándor
[BUG-1168]

@gergelyv,

I have worked with source file and sample code shared by you using Aspose.Slides for .NET 19.2 and unable to observe any issue. Can you please try to use Aspose.Slides latest version on your end and share feedback with us if there is still an issue.

@Adnan.Ahmad,

tested it using Aspose.Slides for .NET 19.2 and the problem is fixed there. Thank you for checking this out for us!

Best regards,
Gergely Vándor

@gergelyv,

Thank you for sharing the feedback.