When modifying a PDF document larger than approximately 17MB with any of AspPDF's methods or properties, or appending another document to a document of that size using the AppendDocument method, the resultant PDF becomes corrupt.The irregularity of such corrupt documents is not serious enough to cause any problems with the major PDF viewers such as Acrobat Pro or Acrobat Reader, and for that reason may go unnoticed. However, AspPDF itself refuses to open these documents with the following error:
Persits.PdfManager.1 error '800a0033'
Object number not found in object header. Offset: <number> (Hex <number>)
The problem is caused by a bug in both AspPDF and AspPDF.NET involving the handling of long integer numbers. The bug is fixed in the following versions of the components:
AspPDF: 2.0.0.2 (and higher) AspPDF.NET: 1.9.0.12431 (and higher) The fixed versions can be downloaded from their respective web sites www.asppdf.com and www.asppdf.net.