Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for .NET (v9.x)  /  There are multiple root elements

Forum Thread - There are multiple root elements

 Apr 05 2018 7:56 AM

i appended multiple PDFs to a merge document and while executing the draw function i get the error message:

There are multiple root elements. Line 2, position 2.

What does that mean and how can i avoid this error, or how can i find out which of the PDFs is causing this problem?
 Apr 05 2018 12:26 PM
Posted by a ceTe Software moderator

Please send over the following details to so we can look into it further?

1.        Source/input PDFs used for merging.
2.        Code sample which uses static data to recreate the error.
3.        Full error message along with stack trace.
4.        Exact version and build number of the DynamicPDF DLL file. You can get this information by right clicking on the DynamicPDF DLL file>>Properties> Details tab. You can also send over the screenshot showing all the information on Details tab.

In order to find out the problematic PDF, you will need to append PDFs one by one and run the application until you get the error.

ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 7:50 AM.