Repairing a document that Acrobat Reader considers broken


We have (85.5 KB), a document that we got from resizing (using Aspose.PDF) the original PDF with an annotation (86.6 KB).

We tried to apply


but we could not shake the error that Acrobat Reader is throwing when you open it

There was an error processing an annotation or link. There was a problem reading this document (16).

What is Repair actually doing in behind?
Do you have any similar API in Aspose.PDF for correcting issues on PDFs?

Thank you!


Would you kindly share the code snippet that you are using to resize the PDF document. We will test the scenario in our environment and share our feedback with you.

We are afraid that we do not offer any separate API to correct the issues in PDF. We are collecting the information about Repair functionality and will share with you.

Hi there,

Here is the thread with all the information you requested: Resize a PDF with annotations using Aspose.PDF for .NET - output is damaged due to annotations

Thank you!


A ticket as PDFNET-48157 has already been logged in our issue tracking system for your files and code snippet and it is currently under the phase of investigation. We will inform you as soon as it is resolved. Furthermore,

Repair() method allows to restore correct references table in the document.

The issues you found earlier (filed as PDFNET-48157) have been fixed in Aspose.PDF for .NET 23.1.