Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Mar 21, 2017 4:42 pm

"An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem"

Sometimes I got this errors displayed when displaying a merged pdf documents. Error was only displayed in IE, if I use Chrome with its own pdf plug-in, there was no error for the same merged Pdf and all pages are rendering correctly!!!

Any advises or suggestion would be greatly appreciated.

Thanks,


Here is my C# code for merging a collection of pdf documents in Memory Streams:

public MemoryStream MergedPdfs(ObservableCollection<PdfDocument> pPrintPdfs)
{
MemoryStream mergedStream = new MemoryStream();
PdfDocument tobePrintedPdf = new PdfDocument();

if(pPrintPdfs != null && pPrintPdfs.Count > 0)
{
foreach (PdfDocument doc in pPrintPdfs)
{
tobePrintedPdf.AppendPage(doc);
}

tobePrintedPdf.SaveToStream(mergedStream);
}

return mergedStream;
}

anguyenalb
 
Posts: 8
Joined: Wed Feb 18, 2015 4:39 pm

Wed Mar 22, 2017 3:38 am

Dear anguyenalb,

Thanks for your inquiry.
First we suggest you use the latest Spire.PDF Pack(Hot Fix) Version:3.8.193 and the new method as below to merge files.
https://www.e-iceblue.com/Tutorials/Spi ... -in-C.html
If the issue still happens, please provide us following information for testing.
1)Input files which may have that issue.
2)Code you used to display the result PDF on IE, the better to provide us a sample Web application.
3)OS information of the cumputer.
4)IE version.
5)Adobe version.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Mar 28, 2017 7:37 am

Dear anguyenalb,

How is the issue now ?
Could you please give us some feedback at your convenience ?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF