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

Free Support Forum - aspose.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!
PDF.pdf (137.4 KB)

viewing_pdf_in_Acrobat_error_1.PNG.jpg (207.5 KB)
viewing_pdf_in_Chrome_no_error.PNG (102.9 KB)
code snippet and docx.zip (22.7 KB)
PDF.pdf (137 KB)
viewing_pdf_in_Acrobat_error_1.PNG.jpg (208 KB)
viewing_pdf_in_Chrome_no_error.PNG (103 KB)
viewin_pdf_in_Acrobat_error_2.PNG (35.6 KB)

@jphillipsfsx

Aspose.PDF for .NET does not offer feature to convert DOCX file into PDF. Would you kindly verify if you are using Aspose.PDF for .NET or any other Aspose Venture like GroupDocs. We checked your shared code snippet and could not determine the actual API which you are using. Please share a sample console application with us which is able to replicate the issue in our environment so that we can further investigate it accordingly.