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

Free Support Forum - aspose.com

Aspose pdf to pptx not working, giving repair error when opening pptx file

We are using Aspose.PDF to transform PDF to PPTX, and everything has been working fine on .net core 3.1.
Now upgraded to core 6, the pptx file gives a repair error when we try to open it, and the content of the file does not matter. Right now we are testing with

as content, and the pptx file still gives the same error.

Is there something we need to do after the upgrade to core 6?

We are using aspose.pdf v. 22.10.0


Would you please share a sample PDF document for our reference so that we can test the scenario in our environment and address it accordingly.

@asad.ali, all I do is this:

                Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document();
            Aspose.Pdf.Page page = pdfDocument.Pages.Add();
            Aspose.Pdf.HtmlFragment htmlFragment = new Aspose.Pdf.HtmlFragment("<h1>HTML String</h1>");
            Aspose.Pdf.PptxSaveOptions pptx_savetest = new Aspose.Pdf.PptxSaveOptions();
            pdfDocument.Save(OutputPath + "PDFToPPT_out.pptx", pptx_savetest);


We tested using 22.10 version of the API and this code snippet threw an exception under .NET 6 framework. Therefore, an issue is logged as PDFNET-52903 in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi @asad.ali

Is there anyway around this at this point? I have a running system using .net framework, which is no offline, and it is not possible to rollback to Core 3.1 at this point.

So any kind of workaround would be much appreciated

Best regards


We are afraid that we cannot offer any workaround at the moment as the ticket is not fully yet investigated. We need to determine first why this is happening. Your concerns have been recorded as well and we will consider them during investigation. We will let you know as soon as we have some update. Please be patient and spare us some time.

We apologize for the inconvenience.


Hi, any updates on this?

Hard to keep finding excuses for this not working and no idea of when it will be fixed

Best regards


Your concerns have already be taken into account and we are currently trying to investigate the reasons behind this issue. We will surely let you know as soon as our investigation is complete and we have some updates about ticket resolution. Please spare us some time.

We are sorry for the inconvenience.