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

Free Support Forum - aspose.com

Aspose Slide throw exception "Operation is not valid due to the current state to the object"

Hi team,

After I open and then try to save a ppt file as format ppt file, I get an exception “Operation is not valid due to the current state to the object”

My code using is:
try
{
Presentation presentation = new Presentation(inputPptFile);
presentation.Save(outputPptFile, SaveFormat.Ppt);
}
catch(Exception e)
{
}

I’m using Aspose Cell .Net 18.2

Here is my sample: sample.zip (476.4 KB)

Thanks,
Dung H.Nguyen

@dunghnguyen

Thanks for using Aspose APIs.

This is the Aspose.Cells forum but the code and sample file provided by you relates to Aspose.Slides and Microsoft PowerPoint. So we think, you are using Aspose.Slides for .NET and therefore, we have moved your thread to Aspose.Slides forum.

@dunghnguyen,

I have worked with presentation file shared and have been able to observe the issue specified. An issue with ID SLIDESNET-39922 has been created in our issue tracking system to 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 fixed.

The issues you have found earlier (filed as SLIDESNET-39922) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz