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

Free Support Forum - aspose.com

Problem reading this document (105) - After Merging XML with PDF


I am running into an error when attempting to edit a PDF file after merging with XML using Aspose. I am following example code from the documentation at this page.


Here is a snippet of code from my example project:

using (var pdfForm = new Aspose.Pdf.Facades.Form(pdfFile))
using (var fileStream = new FileStream(xmlFile, FileMode.Open))



After performing the XML import, if I try to open the merged PDF file in Adobe Acrobat and continue to edit fields in the PDF file, then try to Save it, I get the following error from Acrobat when saving the changes.

The document could not be saved. There was a problem reading this document (105).

I have attached the full project with example PDF and XML files. Here are the versions of Aspose and Acrobat I am using:

Aspose.PDF (latest) - 17.4.0
Adobe Acrobat Standard DC - 2015.006.30306

The information I can gather on the (105) error suggests that the PDF format may be invalid.

Can you determine if Aspose.PDF is creating an invalid PDF format that can no longer be modified by Acrobat and if so, can it be fixed?


Hi Jill,

Thank you for sending a sample project and files. We managed to replicate the said error and have logged under the ticket ID PDFNET-42743 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.


Are there any updates regarding issue PDFNET-42743 or chance it might get fixed sometime?



The linked ticket ID PDFNET-42743 is pending for the analysis and not resolved yet. We will investigate as per the development schedules and let you know once it is fixed.