I am using rdlc reports in my appln. Am trying to generate a huge pdf file which almost consists of 1500 - 2000 pages.
I have used ReportViewer and am adding datasource (Generic collection) to report. But am getting system out of Memory exception as it is a huge file.
Can any one suggest me how to generate large pdf files in asp.net c#
Honestly: You Don't. For comparison the paperbacks of Atlas Shrugged and War and Peace are about 1200 and 1400 pages respectively. If your report is meant to be human readable and is that big is it really providing any value? If your report is meant
to me machine readable why on earth are you producing pdfs?
If the answer I provided is useful or informative please check the "answer" button.
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
Pdf which am trying to generate is human readable...am displaying transactions in pdf...if there are huge no.of transactions then my pdf is going to be very large...i would be happy if u suggest me any solution...!!
cutekids525
Member
55 Points
220 Posts
How to generate large pdf's?
Aug 10, 2010 11:31 AM|LINK
Hi all,
I am using rdlc reports in my appln. Am trying to generate a huge pdf file which almost consists of 1500 - 2000 pages.
I have used ReportViewer and am adding datasource (Generic collection) to report. But am getting system out of Memory exception as it is a huge file.
Can any one suggest me how to generate large pdf files in asp.net c#
Cute
SGWellens
All-Star
126033 Points
10311 Posts
Moderator
Re: How to generate large pdf's?
Aug 10, 2010 12:20 PM|LINK
ITextSharp seems to be popular:
http://sourceforge.net/projects/itextsharp/
My blog
vrsanaidu
Member
421 Points
194 Posts
Re: How to generate large pdf's?
Aug 10, 2010 12:45 PM|LINK
try again by setting request timeout and loading timeout on in SSRS Server.
Naidu.
http://www.questkt.com
plsc_rover
Member
16 Points
20 Posts
Re: How to generate large pdf's?
Aug 10, 2010 01:10 PM|LINK
Try to sets max request length at web.config:
JeffreyABeck...
All-Star
16423 Points
3329 Posts
Re: How to generate large pdf's?
Aug 10, 2010 04:35 PM|LINK
Honestly: You Don't. For comparison the paperbacks of Atlas Shrugged and War and Peace are about 1200 and 1400 pages respectively. If your report is meant to be human readable and is that big is it really providing any value? If your report is meant to me machine readable why on earth are you producing pdfs?
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
hans_v
All-Star
35998 Points
6551 Posts
Re: How to generate large pdf's?
Aug 10, 2010 04:47 PM|LINK
cutekids525
Member
55 Points
220 Posts
Re: How to generate large pdf's?
Aug 12, 2010 05:25 AM|LINK
Hi Becker,
Pdf which am trying to generate is human readable...am displaying transactions in pdf...if there are huge no.of transactions then my pdf is going to be very large...i would be happy if u suggest me any solution...!!
Cute
lasantha
Contributor
2361 Points
844 Posts
Re: How to generate large pdf's?
Aug 12, 2010 05:34 AM|LINK
hi
use itextsharp.you can do your requirement easily and fast
http://sourceforge.net/projects/itextsharp/
http://www.devshed.com/c/a/Java/Creating-Simple-PDF-Files-With-iTextSharp/
http://kuujinbo.info/cs/itext.aspx
http://somewebguy.wordpress.com/2009/05/08/itextsharp-simplify-your-html-to-pdf-creation/
hans_v
All-Star
35998 Points
6551 Posts
Re: How to generate large pdf's?
Aug 12, 2010 08:05 AM|LINK
Create mutiple smaller pdf's...
hans_v
All-Star
35998 Points
6551 Posts
Re: How to generate large pdf's?
Aug 12, 2010 08:05 AM|LINK
The problem is not HOW to generate pdf's, but how to generate LARGE pdf's!!!!