Free Support Forum - groupdocs.com

PDF readable in Chrome but not Acrobat

The attached PDF was produced by Aspose.PDF for .NET 20.6. The original document format was DOCX.

When the document is opened in Adobe Acrobat, an error is thrown (“There was an error processing the page. There was a problem reading part of this document”). See attached image viewing_pdf_in_Acrobat_error_1.PNG.jpg

Acrobat can display part of the pdf, but some elements are missing. For instance, all page 1 content beyond the first text block is missing. See attached imaged viewing_pdf_in_Acrobat_error_2.PNG.jpg

Acrobat’s Preflight compatibility check tool fails to analyze the pdf with the error “An error occured while parsing a contents stream. Unable to analyze the PDF file.”

Chrome and all other PDF readers we’ve tried display the document without issue. See attached image viewing_pdf_in_Chrome_no_error.PNG.

This problem is reproduceable with our test DOCX. The problem doesn’t occur with most other documents we convert with Aspose.PDF for .NET 20.6.

Can you help us determine why our test DOCX has apparent content stream issues that cause Acrobat to fail to display it?

I’ve also attached a zip which contains the code snippet and DOCX file we’re using.

Thanks!code snippet and docx.zip (22.7 KB)
PDF.pdf (137.4 KB)
viewin_pdf_in_Acrobat_error_2.PNG (35.6 KB)
viewing_pdf_in_Acrobat_error_1.PNG.jpg (207.5 KB)
viewing_pdf_in_Chrome_no_error.PNG (102.9 KB)

This topic has been moved to the related forum: https://forum.aspose.com/t/pdf-readable-in-chrome-but-not-acrobat/217947