Performance problems to generate PDF files using CR

Hi,
I develop an application that read TXT files and uses this information to generate PDF files, but I'm having problems with performance to generate this PDF, each files are taking at least 1 minute to create the file. I realized that some TMP and RPT files are generated and deleted in the temp folder of the machine which is running the application, but after some time creating the PDF's the RPT files aren't deleted and I have an exception on my app:
Memory full.
Failed to export the report.
Not enough memory for operation.    at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
The server who is running this application is a Dual Core AMD Opteron 2.61 ghz, 7 GB RAM
The framework version is 2.0 and the Crystal Reports dll version is 10.5.3700.0
Thanks.

Hi,
If you are using IIS5 the give aspnet full permission to the Temp folders. For IIS6 give  IIS_wpg permission.
For this you need to right click on the folder,
go to properties,
security tab,
click on Add,
Type aspnet/iis_wpg,
select top note in Location and click on check on check names.
Give full control and
click ok.
Also try using GC.Collect(), reportDocObject.Close() and reportDocObject.Dispose() as clean up code.
Regards,
AG.

Similar Messages

  • Problems reading generated pdf-files

    Hi all,
    I have problems reading generated pdf-files from
    Report Builder 6.0.8.11.3
    An error-message occurs when opening the pdf with
    Adobe Acrobat 5.0.1:
    ... problem 110 and after moving in an empty pdf-document
    the messages:
    - too few operands
    - an unrecognized token
    I think the solution must be very simple, but the docu and
    other info resources provide nothing aboutthis issue.
    Greetings,
    Bernhard

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known problems with reading reports PDFs with later Acrobat Readers. maybe your file is somehow corrupt.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    I had to install a local printer, the network printer is not appropriate here. After that, everything is fine :-)),
    Greetings,
    Bernhard
    null

  • Generating PDF file using FOP API in Web Dynpro

    Hi experts,
    I would like to generate PDF files from a WebDynpro application without using Adobe Interactive forms.
    I think that I can export context data to XML stream and then apply XSLT transformation to produce XSLFO format and then pass it to xlfo processor i.e FOP to generate the PDF file.
    Has someone already try this way of generating PDF files?
    Is it a good way of processing ?
    Thanks in advance.
    Thomas.

    hi Thomas,
    You can make use of the iText API to create pdf documents through webdynpro.
    For this you'll have to download  the Itext api jar file.
    Right click your webdynpro project include this jar file using the 'add external jar files'.Now you'll be able to make use of this api in your webdynpro project.
    http://javaboutique.internet.com/tutorials/iText/ .
    The above link will help you in using iText API.
    hope this one helps you.
    Regards,
    Rahul.

  • Help - Generate pdf files using creator  - plz

    Hello im trying to dynamically generate pdf file and show it on screen but im stuck, i've used itext, but i can make it work, anyone can share his own experience about generating pdf files and viewing on browser at same time using Creator?
    TNKS in advance!

    Hi there,
    Im not sure but the link in this thread might help
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=106715
    K

  • Problem in opening PDF files using Reader 8 when created with iText 2.1.3

    We are facing problem in using IText version 2.1.3. We are using Acrobat Reader 8.1 for viewing the PDF documents. In our Shell program we are splitting and merging the pdf documents using IText. The pdf document works correctly and is readable for documents with one page while it fails for documents with multiple pages.Also please note that it works fine with the older Arcobat reader version say version 7.0 and below but since business has migrated to acrobat higher version we expect IText to work in sync.
    We have already raised a bug with the iText and got the information from them stating that the problem is due to the over nesting of XObjects, which has a threshold value of 50 and was discarded in earlier versions but got flagged in Acrobad Reader 8. Also note that we have reported a bug with the adobe development team.
    We tried working with other Java PDF tools (jPDFProces), to manupulate the pdf files but were facing the same problem. Hence we understand that the problem is with Adobe Reader 8 as the manupulated pages are being viewed in Adobe Reader 7, but fails to read in Adobe Reader 8.
    Kindly provide us with a solution.
    Thanks and Regards,
    Kiran R
    Sonata software.com
    www.sonata-software.com

    Conte Pietro
    [email protected]
    Buon Giorno
    Ho un problema riguardo Adobe Reader.
    La vecchia versione Adobe 8.1.1 non mi apre più i files in formato PDF.
    Ho provato ad installare l'ultima versione Adobe 9 , arriva fino ad un passo dal completamento ma non riesce a terminare. mi da il seguente errore:
    ERROR 1714 The older version of Adobe Reader 9 cannot be removed.
    Contattare l'assistenza!
    Ho cancellato tutti i riferimenti Adobe dal DeskTop, dal Pannello di Controllo e dal FILES Programmi, ma niente!
    Vi sarei grato se potete mandarmi un dettagliato help per riuscire a completare l'installazione.
    Grazie
    [email protected]
    [email protected]

  • Generate PDF file using form parameters

    how to generate output file like PDF while parameters pass thru form builder. i dont want output on screen.
    i just want to pass parameters thru form builder and report builder will automatically generate output file like PDF onto my hard drive.

    Dear all,am new to oracle report and oracle forms and i know the
    basics how to generate the report and to create the form, Now my doubt is, like generating report
    from oracle report how to generate the report from oracle from,should i add any command button? and where
    to add the coding and what coding ? when i click that command button the report should be generated like oracle
    report,what should i do?Please help me to learn.
    my table name is 'student' and it has the following columns,
    sid,sname,grade,result.
    Am using oracle from 10.1.2.0.2 version and
    oracle report version is 10.1.2.0.2.
    Please give step by step procss.
    Thank you.

  • Problem in upload PDF file using Apache HttpClient3.1

    Hi:
    I am using Apache HttpClient 3.1 to upload pdf image from a STANDALONE java application to remote server (Weblogic9.1). Here are some questions:
    1) Do i have to use multipartpost method? (I am uploading pdf image one by one)
    2) The pdf image is added to request as:
    HttpClient client = new HttpClient();
    PostMethod method = new PostMethod("myServletUrl");
    method.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
    new DefaultHttpMethodRetryHandler(3, false));
    InputStreamRequestEntity entity = new InputStreamRequestEntity(new FileInputStream(file), "application/pdf");
    method.setRequestEntity(entity);
    method.setRequestHeader("Content-type", entity.getContentType());
    int statusCode = client.executeMethod(method);
    3) On server side, a servlet will save the posted pdf image as (Apache FileUpload is not used here):
    InputStream is = req.getInputStream();
    saveFile(is, fileName); // write this input stream to file.
    The above steps 2 and 3 will create a pdf file on remote server with MUCH REDUCED size. Any idea what's the problem? content-type problem?
    4) An working example link will be great.
    thanks

    Dunno, but as this is a client side issue, the solution, if there is one will lie in the HTML / javaScript.
    If you dont get an answer in here, have google for an HTML solution, which you can then write out in your jsp.

  • Serial no. invalid problem and problem with creating PDF file using adobe acrobat x pro

    I tried to download adobe X pro on my new computer and entered the serial No, bu the program said the number is invalid. Actually the number is valid, confirmed by the info listed in my account. please help! also I downloaded the trial version now, but when I use it, the file it created is not shown as adobe file, but as firefox HTML file. I don't know why. please help!

    Error "The serial number is not valid for this product" | Creative Suite

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • When trying to generate pdf file from firefox 7.0.1 , getting corrupt content error, used to work with previous versions of firefox

    We have done toleration testing on firefox version 5 thru 6 and haven't got an issue with our website generating pdf files for our users. One of our users upgraded to firefox version 7.0.1 and they tried to generate a pdf report, now a screen pops up with Corrupted Content Error The page you are trying to view cannot be shown because an error in the data transmission was detected. I recreated this issue on my pc yesterday by installing firefox 7.0.1. Any hints as to what I need to look at would help. Cannot provide the url because it is a secure website for law enforcement. Thanks.

    You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
    Hi Mark,
    See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • How to generate PDF file through reports using forms 6i

    Hi all,
    I am using oracle 10g with forms 6i and reports 6i.I need to generate pdf file where clicking a button a report should be called and the report should be generated as a .pdf file in the source i have specified(ex. d:\...).Is this popssible with forms?.how can i achieve this.Kindly help me with suitable answers.Thanks :)
    Regards
    Vids

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

  • Problems converting a pdf file to a word document using ExportPDF

    I am having problems converting a pdf file to a word document (.docx) using ExportPDF. It is spends ages trying to upload the PDF file, but fails to do so. Should I just cancel my subscription?

    I suspect that you are asking for help with CreatePDF. If so, you should post in
    http://forums.adobe.com/community/createpdf
    This is the Reader forum...

  • Problem reopening and/or refreshing PDF files using Acrobat Reader V. 8.0

    I upgraded to Adobe Acrobat Reader V. 8.0 and have encountered problems refreshing PDF files in the Safari 2.0.4 browser when I am logged into the secure area for Value Line Publishing. Some of the PDF Files in this area can be opened and/or refreshed multiple times. Other PDF files in this area allow me to open them once. I cannot reopen those previously viewed files (or refresh the screen) -- after refreshing, the window changes to a blank white screen, and the files do not reopen.
    I am perplexed because I do not have difficulty refreshing the PDF files (within Safari) using the native PDF viewer, I did not have problems refreshing files using Acrobat Reader V. 7.0 and I do not appear to have problems refreshing PDF files using Acrobat Reader V. 8.0 when I am outside the secure area or on other web sites.
    I have replaced the Acrobat Reader plug-in, manually removed all remnants of previous versions of Acrobat Reader and reinstalled V. 8.0. and I also upgraded from Mac OS 10.4.8 to 10.4 9, all to no avail.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    I can also download the PDF files to my hard drive and refresh them multiple times within Safari and also using Acrobat Reader V. 8.0
    The software personnel at Value Line Publishing have investigated their system and have referred me back to Apple. Has anyone heard of similar problems associated with Adobe Acrobat Reader V. 8.0 used in conjunction with Safari 2.0.4?
    PowerBook G4   Mac OS X (10.3.9)  

    Hi Rodney
    Welcome to Apple Discussions
    This sounds like one of those "oddities", contributed to by a few sources.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
    Then restart Safari. Try the PDF from within Safari.
    Post back

  • Since I downloaded Adobe Reader 11.0.07 I have been totally unable to print any PDF files using my Dell 1720 laser printer - I just get a blinking "error" light on the printer, no other error messages . I never had a problem printing PDF files before down

    Since I downloaded Adobe Reader 11.0.07 I have been totally unable to print any PDF files using my Dell 1720 laser printer - I just get a blinking "error" light on the printer, no other error messages . I never had a problem printing PDF files before downloading the new Reader version. Suggestions? Thank you.

    Hi,
    Which version of Adobe Reader were you using earlier when printing using Dell printed was working fine?
    Thanks,
    Shakti K

  • Generate a PDF file Using Adobe Document Service

    Hi All,
    How can I generate a PDF file using Adobe Document Service? The content of the PDF can be from any DataSource (Oracle/ BW/ R3 ).
    Can anyone get me some information.Points will be rewarded
    Thanks in advance
    Deepak Raj

    Hi Raj,
    You can look into this blog
    Creating your first application using Interactive forms
    If you get your answer ...set the thread as "answered"
    Regards,
    Sekhar

Maybe you are looking for

  • Finder download from afp server failed one file larger than 2Gb

    I am using 10.5.1 on iMac. I guess this shouldn't be a problem. I download a file from university's afp server, but fails when if has downloaded 2GB (the file is larger than 2GB) with error code 1309. Does anyone know how to solve this problem? Thank

  • Newbie questions regarding HD editing

    I've used Premiere Pro since the 1.5 days, but now I have CS 4 (4.1) and I want to edit HD video. I have a Sony HDR-SR12 camcorder that I have set to record using AVC HD 16M (FH) with X.V. Color. My questions are: 1) Is there a preset for CS4 that wi

  • NWDI in SAP EHP1 for NW 7.3

    Hi All, I am new to NWDI concept. Can any one provide me the step by step process for NWDI in EHP1 for NW 7.3. I am having the doc for 7.x but this not explains the process correctly. When I do so it is asking for more configuration. Please let me kn

  • HT5517 Multiple AirPlay Speakers From Apple TV

    Is there no way to keep the speakers connected to the Apple TV playing AND send the audio to another set of AirPlay-enabled speakers? When I choose another AirPlay speaker, the audio from the Apple TV stops. If sending audio via AirPlay from Apple TV

  • Query performance improvement using pipelined table function

    Hi, I have got two select queries one is like... select * from table another is using pielined table function select * from table(pipelined_function(cursor(select * from table))) which query will return result set more faster???????? suggest methods