I wanted to be more explicit about the problem I faced and the solution.  It
took me many hours to track down the solution, so hopefully this helps
someone else.

 

I am using Sql Server Reporting Services 2008.  I have reports that export
to PDF.  The goal was to merge multiple reports into a single PDF.  In SQL
Server 2005, this works fine, however, in SQL Server 2008, all you get is
blank pages.  I tried two other open source PDF libraries and 2 commercial
PDF libraries.  None of these options worked.  After many google searches, I
came up with another person having the same issue.  

 

http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg40913.h
tml

 

Apparently, the problem is with the Microsoft implementation of the PDF
specification that changed in SQL Server 2008.  The source code for
iTextSharp was updated on October 8th, 2008 in SVN.  I imaging that this
change is not in the latest release of the code, because I still had
problems.  I downloaded the source code from October 8th, and re-compiled.
Once I did this, everything started to work and the PDFs were merging
successfully.

 

 

 

From: Michael Landy [mailto:michael.la...@landy.net] 
Sent: Saturday, January 24, 2009 4:25 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Merging PDF files created by Microsoft Reporting
Services

 

I have attached two small PDF files that are created by Microsoft Reporting
Services.  I am attempting to merge these files.  The end result is a file
that has the correct number of pages, but is blank.

 

I have used 3 different libraries, including iTextSharp.  I have used the
PDFCopy routine as well as opening each pdf, importing the page, and
addtemplate to a new document.  They all return the same result of a blank
document.

 

If I use some regular PDF document, the merge is successful.  To me, this
means that the code is working.  What could Microsoft Reporting Services be
doing that prevents me from merging the attached pdf files?

 

Thank you

 

Michael

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to