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

Free Support Forum - aspose.com

Exception while openning pptx file

Hello Support,

when I try to load pptx file i got an exception saying:
The file is ZIP archive. It can be Microsoft PowerPoint 2007 PPTX presentation.

my code is:
Aspose.Slides.Presentation pres = new Aspose.Slides.Presentation(input);


Mohamed Almutalibi

Hi Mohamed,

Please share the source presentation with us so that we may investigate the issue on our end.

Many Thanks,


attached is an example.

Best regards

Mohamed Almutalibi

Hi Mohamed,

I have observed that you are trying to access the PPTX presentation using Presentation class. The presentation class is used to manage the PowerPoint 97-2003 format presentation like PPT, POT etc. You need to import Aspose.Slides.Pptx namespace in your code and need PresentatioEx class to access the presentation.

using Aspose.Slides.Pptx;
PresentationEx pr = new PresentationEx(path + “test_PPTX.pptx”);

Please share if I may help you further in this regard.

Many Thanks,