Sometimes we find some exported pdf corrupted. Attached is a sample of a corrupted pdf.
If we check the PDF using the tool at https://www.pdf-online.com/osa/repair.aspx, the result is:
---
The file is corrupt and cannot be repaired, but possibly recovered
Errors:
Open file.
Analyze Objects.
0x80410308 - E - The "endobj" keyword is missing.
- Object No.: 2
- File: File_Not_Correctly_Opened.pdf
0x80410308 - E - The "endobj" keyword is missing.
- Object No.: 2
- File: File_Not_Correctly_Opened.pdf
Analyze Outlines.
Analyze Pages.
0x80410113 - E - The file is corrupt and cannot be repaired. Some of the contents can possibly be recovered.
- Page No.: 1
- File: File_Not_Correctly_Opened.pdf
Close file.
3-Heights(TM) PDF repair tool, evaluation license valid until unbounded
--
The export settings are:
Code: Select all
Dim PdfExportSettings As New Stimulsoft.Report.Export.StiPdfExportSettings
PdfExportSettings.PdfACompliance = True
May you kindly help me?
Thank you.