We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PdfDocument.Merge causes Invalid/Unknown/Unsupported format error

Thread ID:

Created:

Updated:

Platform:

Replies:

79099 Jan 20,2009 06:52 PM Jan 21,2009 06:06 AM Windows Forms 1
loading
Tags: PDF
Alexei Tolkachev NO LONGER WITH COMPANY
Asked On January 20, 2009 06:52 PM

I am using Essential PDF to merge two and more PDF files. It worked fine in testing with the PDF files made available to me, however, after I started testing with the PDFs produced by Oracle Documaker (for which my solution is intended)m, I get the following error every time when trying to execute PdfDocument.Merge

Message ==Invalid/Unknown/Unsupported format
Data ==System.Collections.ListDictionaryInternal
InnerException ==
TargetSite ==Byte[] PostProcess(Byte[], System.String)
StackTrace == at Syncfusion.Pdf.Primitives.PdfStream.PostProcess(Byte[] data, String filter)
at Syncfusion.Pdf.Primitives.PdfStream.Decompress(Byte[] data, String filter)
at Syncfusion.Pdf.Primitives.PdfStream.Decompress()
at Syncfusion.Pdf.PdfPageLayerCollection.CombineContent(Stream stream)
at Syncfusion.Pdf.PdfPageBase.GetContent()
at Syncfusion.Pdf.PdfDocumentPageCollection.Add(PdfLoadedDocument ldDoc, PdfPageBase page, ArrayList destinations)
at Syncfusion.Pdf.PdfDocument.ClonePage(PdfLoadedDocument ldDoc, PdfPageBase page, ArrayList destinations)
at Syncfusion.Pdf.PdfDocumentBase.ImportPageRange(PdfLoadedDocument ldDoc, Int32 startIndex, Int32 endIndex)
at Syncfusion.Pdf.PdfDocumentBase.Append(PdfLoadedDocument ldDoc)
at Syncfusion.Pdf.PdfDocumentBase.Merge(String[] paths)

Are there any compatibility setting I need to be looking at either on the Essential PDF component or the PDF generator?

I can e-mail the file that fails to the Syncfusion support personnel if requested.

Thanks!



Bhuvaneswari P [Syncfusion]
Replied On January 21, 2009 06:06 AM

Hi,

Thank you for your interest in Syncfusion products.

I am afraid that I am unable to reproduce the issue "while merging the PDF document it throwing an exception". Could you please send you PDF documents which you trying to merge to us? It would be helpful for us to reproduce the issue and provide a possible solution.

Best Regards,
Bhuvana



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;