Free Support Forum - aspose.com

PowerPoint found unreadable content error when using reading PPTX from embedded resource

We are using assembly.GetManifestResourceStream to retrieve a PowerPoint embedded resource into a stream then creating a PresentationEx object. The PowerPoint opens fine from within Visual Studio, but when delivering via the web, we get the "PowerPoint found unreadable content .... Do you want to recover....." error. Sample program is attached.

Hi Michael,

Thanks for your interest in Aspose.Slides.

I have tested the scenario
and I am able to reproduce the same problem. For the sake of correction,
I have logged it in our issue tracking system as SLIDESNET-30728. Our
team will look into this issue and you will be updated via this forum
thread once it is resolved.

We apologize for your inconvenience.

Tahir,

Thank you for your response. We did further investigation and found that adding a Response.End after the Response.Flush resolves that issue. There may still be an issue with Slides, but I'm not sure that the Aspose team need to investigate any further.

Regards,

Michael

Hi Michael,

Thanks for your response. I have also observed that the Response.End resolve this issue. I really appreciate your input in this issue. I have verified that the generated presentation file have no issues.