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

Free Support Forum - aspose.com

While merging two pdf document with bookmarks iam getting error


while merging two pdf document with bookmarks i am getting below error,the related code mentioned below

"Object can’t be modified in this Registar. Use Export (recursive) and then try again.

Aspose.Pdf.Document pdfDocument11 = new Aspose.Pdf.Document( “R3.pdf”);
//open second document
Aspose.Pdf.Document pdfDocument2 = new Aspose.Pdf.Document( “R33.pdf”);

foreach (OutlineItemCollection item in pdfDocument2.Outlines)
pdfDocument11.Save( “R33output.pdf”);

Hi Dheeraj,

Thanks for your inquiry. Please share your sample PDF documents, so we will test the scenario at our end and will provide you more information accordingly.

We are sorry for the inconvenience caused.

Best Regards,


Here attached my sample PDF Files

Hi Dheeraj,

for using our API’s.<o:p></o:p>

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-37070. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.

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