30 Second time-out when Exporting Report to PDF in Web App.

Post Author: Dave Milford
CA Forum: .NET
I'm currently upgrading older web applications to new web servers that use Windows Server 2003 and IIS 6, with SQL Server 2000 on a separate Windows 2003 server. The tools that I am required to use for this conversion are Visual Studio .Net 2003 and the Crystal Reports 9.1 version that comes with VS.Net 2003. The Crystal Reports .dlls from Visual Studio 2003 have been installed onto the new web servers (using the .MSI packages) and all available CR service packs have been applied.
I've been able to successfully migrate the reports from CR 7.0 and to create new ASPX pages to drive the reports. On the server script side (in the Page_Load event) I am using the ExportToStream method of the ReportDocument object to load a MemoryStream and then write the MemoryStream out to the client's browser, i.e.
Dim oStream As MemoryStream
oStream = DirectCast(creport.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), MemoryStream)
Response.Clear()
Response.ContentType = "application/pdf"
Response.BinaryWrite(oStream.ToArray())
Response.End()
One of two things will occur: either the report will appear in the client browser as a PDF within 30 seconds of the user requesting the report, or the client browser will display an 'Internet Explorer cannot display the webpage' error if more than 30 seconds have passed.
Some of the reports return a small amount of data. These reports always produce a PDF, usually within 5 seconds.
Some of the reports utilize the RecordSelectionFormula property. When these reports are filtered to produce small results, the PDF is generated; when the reports are not filtered (and will return a large amount of information) the client browser will display the 'Cannot Display Web page' message (after 30 seconds).
I've tested the SQL Server views that suppy the information for the reports; they take no longer than 4 or 5 seconds to produce recordsets.
These same reports work with the CrystalReportViewer .Net object, however, I need to get these reports to PDF in order for people to be able to save/print them.
Anyone want to point me in the right direction?

Post Author: Dave Milford
CA Forum: .NET
I'm currently upgrading older web applications to new web servers that use Windows Server 2003 and IIS 6, with SQL Server 2000 on a separate Windows 2003 server. The tools that I am required to use for this conversion are Visual Studio .Net 2003 and the Crystal Reports 9.1 version that comes with VS.Net 2003. The Crystal Reports .dlls from Visual Studio 2003 have been installed onto the new web servers (using the .MSI packages) and all available CR service packs have been applied.
I've been able to successfully migrate the reports from CR 7.0 and to create new ASPX pages to drive the reports. On the server script side (in the Page_Load event) I am using the ExportToStream method of the ReportDocument object to load a MemoryStream and then write the MemoryStream out to the client's browser, i.e.
Dim oStream As MemoryStream
oStream = DirectCast(creport.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), MemoryStream)
Response.Clear()
Response.ContentType = "application/pdf"
Response.BinaryWrite(oStream.ToArray())
Response.End()
One of two things will occur: either the report will appear in the client browser as a PDF within 30 seconds of the user requesting the report, or the client browser will display an 'Internet Explorer cannot display the webpage' error if more than 30 seconds have passed.
Some of the reports return a small amount of data. These reports always produce a PDF, usually within 5 seconds.
Some of the reports utilize the RecordSelectionFormula property. When these reports are filtered to produce small results, the PDF is generated; when the reports are not filtered (and will return a large amount of information) the client browser will display the 'Cannot Display Web page' message (after 30 seconds).
I've tested the SQL Server views that suppy the information for the reports; they take no longer than 4 or 5 seconds to produce recordsets.
These same reports work with the CrystalReportViewer .Net object, however, I need to get these reports to PDF in order for people to be able to save/print them.
Anyone want to point me in the right direction?

Similar Messages

  • Help me, I have a problem with font when export report to PDF?

    Hi everyone! Help me
    I have a problem with font when export report to PDF
    My report uses template .rtf with font Times New Roman (Unicode), language is VietNamese.
    when desige template no problem, error only happen when view report by PDF.
    Edited by: user10236405 on Oct 15, 2008 11:23 PM

    give it time to boot. the time depends on yr memory size n data. soon a process bar will appear indicating the boot process. if still this doesnt work. try formating the phone. but this ways u lose all data on the phone (unless u backed it). relax! the data on the memory card is safe.

  • Taking a long time to export a report to PDF in web app

    Hi,
    I downloaded CR for Eclipse 2.0 to integrate a "Create PDF Report" option into our web application. The original .rpt files were created using CR 2008. I used the sample online code to do this:
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(REPORT_NAME, 0);   
    // .. set report params here..
    ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    I was able to successfully run this and generate a PDF output file, however the report takes over 2 minutes to complete, whether there were only 2 records or 75 records!
    From CR 2008 on a Windows machine, the export to PDF option takes about 2 - 3 seconds for the exact same report.
    Our web servers are very powerful Linux blade servers from Dell.
    Why is there such a delay? Does it have to do with the licensed version versus the free version? Or is this just a limitation of being in a web app?
    -Mike

    We created a version of the same test report that only generates two PDF pages.It has cut the time down, but it still takes it about 16 seconds to open the .rpt file and another 6 seconds to export to PDF and write it out to a file. [Total of about 22 seconds.]
    When we run the same report on CR2008 on a Windows laptop, it takes less than 1 second to load the .rpt file, under 1 second to generate the report and another 1 second to generate the PDF. [Total under 3 seconds.]
    Our question still remains: Why is there a considerable time difference between CR2008 and CR4Eclipse [3 secs vs 22 secs] and is there anything we can do on the web app side to decrease the report output time?
    Here are the "highlights" from the verbose logs (the full logs were about 32K). I tried showing where there were obvious time gaps. If there is a big time gap between statements separated by ".... " it was just doing it's regular work (evaluating functions, etc). If you provide me an email address I can send the complete logs as an attachment.
    2009-09-04 16:18:32,212 DEBUGaction.TestReportsAction (?:?) - begin hub/TestReportsAction
    2009-09-04 16:18:32,213 DEBUGaction.TestReportsAction (?:?) - 1-calling new ReportClientDocument();
    2009-09-04 16:18:32,215 DEBUGaction.TestReportsAction (?:?) - 2-calling .open(REPORT_NAME
    2009-09-04 16:18:33,193 INFO reportloading.saveddata (?:?) - FieldManager
    2009-09-04 16:18:33,194 INFO reportloading.saveddata (?:?) - NDatabaseFields: 63
    2009-09-04 16:18:33,195 INFO reportloading.saveddata (?:?) - Field: {INVOICE_HEADER_VIEW.INVOICE}, NBytesInField: 8, ValueType: number
    2009-09-04 16:18:33,288 INFO reportloading.saveddata (?:?) - Field: {%Unit_Price}, NBytesInField: 131070, ValueType: string
    2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapDimensionFields: 0
    2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
    2009-09-04 16:18:33,290 INFO reportloading.saveddata (?:?) - NULL Field
    2009-09-04 16:18:37,141 INFO reportloading.saveddata (?:?) - FieldManager
    2009-09-04 16:18:37,142 INFO reportloading.saveddata (?:?) - NDatabaseFields: 8
    2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
    2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NULL Field
    2009-09-04 16:18:39,333 INFO formulas.Compiler (?:?) - Formula {@Record_Selection} compiled.
    2009-09-04 16:18:39,340 INFO formulas.Compiler (?:?) - Formula {@Saved_Data_Selection} compiled.
    2009-09-04 16:18:47,868 INFO ReportCommand.SetReportDateCommand (?:?) - SetReportDateCommand,24667963,Exit perform,<document=ReportDocument:<report=main><reportPath=/webdata/webapps/tcmIS/reports/invoice_header_en.rpt>>;
    2009-09-04 16:18:48,042 INFO formulas.Compiler (?:?) - Formula {@Invtest} compiled.
    2009-09-04 16:18:48,045 INFO formulas.Compiler (?:?) - Formula {@Load column names} compiled.
    2009-09-04 16:18:48,701 DEBUGaction.TestReportsAction (?:?) - opened report: /reports/invoice_header_en.rpt
    2009-09-04 16:18:48,702 DEBUGaction.TestReportsAction (?:?) - 3-calling getParameterFieldController() - setting params
    2009-09-04 16:18:48,792 DEBUGaction.TestReportsAction (?:?) - 4-calling export(ReportExportFormat.PDF);
    2009-09-04 16:18:48,794 INFO reports.queryengine (?:?) - Connection logon:Database DLL=s(crdb_oracle.dll);PreQEServerName=s(tcmprod);Server=s(tcmprod);Tru
    sted_Connection=b(false);Password=;User ID=s(sskidmore)
    2009-09-04 16:18:48,812 INFO driverImpl.jdbc (?:?) - Connection Opened null
    2009-09-04 16:18:48,829 INFO reports.queryengine (?:?) - Connection logon successfully
    2009-09-04 16:18:48,835 INFO reports.dataengine (?:?) - Create new report state
    2009-09-04 16:18:48,838 INFO reports.dataengine (?:?) - Need to recompile formulas, the number of formulas needed to recompile is 1
    2009-09-04 16:18:55,202 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
    2009-09-04 16:18:55,203 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
    2009-09-04 16:18:55,302 INFO formatter.paginator (?:?) - Page 2 formatted.
    2009-09-04 16:18:55,303 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
    2009-09-04 16:18:55,344 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
    2009-09-04 16:18:55,981 INFO formatter.paginator (?:?) - Moving to Page 3
    2009-09-04 16:18:56,015 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
    2009-09-04 16:18:56,016 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-12} evaluated to: null
    2009-09-04 16:18:56,019 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
    2009-09-04 16:18:56,020 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
    2009-09-04 16:18:56,024 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-11} evaluated to: b(true)
    2009-09-04 16:18:56,087 DEBUGaction.TestReportsAction (?:?) - exported report to stream
    2009-09-04 16:18:56,089 INFO reports.basicdataengine (?:?) - Invalidating controller
    2009-09-04 16:18:56,090 INFO reports.basicdataengine (?:?) - Invalidating controller
    2009-09-04 16:18:56,091 INFO reports.basicdataengine (?:?) - Invalidating controller
    2009-09-04 16:18:56,094 INFO reports.queryengine (?:?) - Connection logoffServer:
    2009-09-04 16:18:56,095 INFO driverImpl.jdbc (?:?) - Connection Closed null
    2009-09-04 16:18:56,185 DEBUGaction.TestReportsAction (?:?) - Successfully exported report to /webdata/html/reports/invoice_PGE_465.pdf
    Edited by: Mike Najera on Sep 5, 2009 12:13 AM

  • System time out when saving report from portal

    Hi,
    We have a  problem where the report output either gets time out or gives an output after 30 minutes if we try to save a report from portal in the form of excel.( report is run on the web)
    Generally the query output has not more then 32k records.
    Is it the number of records in the portal output which is the cause of the issue??
    This is not the issue with the reports with leess number of records.
    Can we do something to improve the performance here??
    Thanks
    Ajeet

    Try creating aggrates on the cube. this may change the performance.
    also you can change the query execution time.
    but better check for some performance tuning by using aggrates.
    check below suggestions also:
    query execution
    regard: gaurave

  • Bad files when exporting reports to PDF with CR4E

    <p>Hello,</p><p>Have any of you successfully used CR4E to create a report and report viewer that produces a valid PDF export?  I attempted this and the report looks fine, but when I export it to a PDF and attempt to open it, I get an Adobe Reader error message stating "There was an error opening this document.  The file is damaged and could not be repaired."  I am using Adobe Reader 7.0.8.</p><p>Thanks,</p><p>Matt</p>

    <p>Thank you Sean!  I am using WAS 6.0.2, but I can&#39;t verify the fix you mention as I am not sure which JSP I need to remove the whitespace from.  Can you give me some more info on this?  </p><p>I am experimenting with CR4E as I am in the architectural design stage for a new project, so I don&#39;t really understand the CR4E object model yet.   I created my report viewer JSP from the report, and the following JSP code was generated.  I need to remove the white space from this JSP?</p><p>Thank you again.</p><p>Matt</p><font size="2" color="#bf5f3f"><%@</font><font size="2" color="#3f7f7f">page </font><font size="2" color="#7f007f">import</font><font size="2">=</font><font size="2" color="#2a00ff">"com.businessobjects.samples.JRCHelperSample,</font><font size="2" color="#2a00ff"> <p align="left">com.crystaldecisions.report.web.viewer.CrystalReportViewer,</p><p align="left">com.crystaldecisions.reports.sdk.ReportClientDocument,</p><p align="left">com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,</p><p align="left">com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,</p><p align="left">com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,</p><p align="left">com.faweb.Company,</p><p align="left">java.util.ArrayList,</p><p align="left">java.util.List"<font size="2" color="#bf5f3f">%><%</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// This sample code calls methods from the JRCHelperSample class, which </font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// contains examples of how to use the BusinessObjects APIs. You are free to </font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// modify and distribute the source code contained in the JRCHelperSample class. </font></p></font><font size="2" color="#7f0055">try</font>{ String reportName = "Report2.rpt";
    ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
    <font size="2" color="#7f0055">if</font>(clientDoc ==<font size="2" color="#7f0055">null</font>) {
    // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    // tag can be removed to open the reports as Java resources or using an absolute path
    // (absolute path not recommended for Web applications).
    clientDoc =<font size="2" color="#7f0055">new</font>ReportClientDocument();
    // Open report
    clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
    // ****** BEGIN LOGON DATASOURCE SNIPPET ****************
    // Database username and password
    String userName = "db2inst1"; // TODO: Fill in database user
    String password = "######"; // TODO: FIll in password
    // logon to database
    JRCHelperSample.logonDataSource(clientDoc, userName, password);
    // ****** END LOGON DATASOURCE SNIPPET ****************
    // ****** BEGIN POPULATE WITH POJO SNIPPET ****************
    // **** POPULATE MAIN REPORT ***</font></p></font><font size="2"><p align="left">{</p><p align="left"><font size="2" color="#3f7f5f">// Populate POJO data source</font></p></font><font size="2">String className = </font><font size="2" color="#2a00ff">"com.faweb.Company"</font><font size="2">;</font><font size="2"> <p align="left"><font size="2" color="#3f7f5f">// Look up existing table in the report to set the datasource for and obtain its alias. This table must</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// have the same schema as the Resultset that is being pushed in at runtime. The table could be created</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// from a Field Definition File, a Command Object, or regular database table. As long the Resultset</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// schema has the same field names and types, then the Resultset can be used as the datasource for the table.</font></p></font><font size="2">String tableAlias = </font><font size="2" color="#2a00ff">"Company"</font><font size="2">;</font><font size="2"> <p align="left"><font size="2" color="#3f7f5f">//Create a dataset based on the class com.faweb.Company</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">//If the class does not have a basic constructor with no parameters, make sure to adjust that manually</font></p></font><font size="2">List dataSet = </font>new<font size="2"> ArrayList();</font><font size="2"> <p align="left">dataSet.add(new* Company(0, "Dummy"));
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    //Push the resultset into the report (the POJO resultset will then be
    the runtime datasource of the report)
    JRCHelperSample.passPOJO(clientDoc, dataSet, className, tableAlias, "");
    // ****** END POPULATE WITH POJO SNIPPET ****************
    // Store the report document in session
    session.setAttribute(reportName, clientDoc);
    // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
    // Create the CrystalReportViewer object
    CrystalReportViewer crystalReportPageViewer =<font size="2" color="#7f0055">new</font>CrystalReportViewer();
    // set the reportsource property of the viewer
    IReportSource reportSource = clientDoc.getReportSource();
    crystalReportPageViewer.setReportSource(reportSource);
    // set viewer attributes
    crystalReportPageViewer.setOwnPage(<font size="2" color="#7f0055">true</font>);crystalReportPageViewer.setOwnForm(<font size="2" color="#7f0055">true</font>);
    // Apply the viewer preference attributes
    // Process the report
    crystalReportPageViewer.processHttpRequest(request, response, application,<font size="2" color="#7f0055">null</font>);
    // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
    // ****** BEGIN EXPORT PDF SNIPPET ***************</font></p></font><font size="2"><p align="left">{</p><p align="left">IReportSource reportSource = clientDoc.getReportSource();</p>JRCHelperSample.exportPDF(reportSource, request, response, config.getServletContext(), </font>true*);
    // ****** END EXPORT PDF SNIPPET ***************</font></p></font><font size="2">} </font>catch* (ReportSDKExceptionBase e) {
    out.println(e);

  • Error when export report to PDF with a none standard Windows font

    Hi,
    I got this error when trying to export PDF under VS2008 with an special true type font in the code behind. The error says:
    ...temp_9550ab94-02fc-4362-b259-cc6de8d6c04b {32E546F5-C6A3-44FC-B8EF-D5E37A1118FA}.rpt:\nOperation not yet implemented.
    In the crystal reort under VS2008, I use a special font which is true type and it is already installed in the system, I can see the font in many other software like Word, Notepad, etc... without any problem.
    Is anyone know how to fix it? please help.
    Many thanks!!!
    Lan

    Hi Ludek,
    I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
    For now, i am going to give up and use image file instead.
    Thanks,
    Lan
    Do you know if it is well-known issue in CR?
    - No I do not.
    where i can get any SP of CR for VS2008?
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Runtimes for SP1:
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
    I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
    Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

  • MAX times out when exporting data to TXT

    We are having trouble getting the data out of Lookout.
    We have to send clients the tabular data of the temperatures each week. We have the database connected to an Access database and until this week this method worked wonderfully. We get an error stating that the ODBC connection failed. I tried to disconnect the tables and link them and still nothing. I even created a whole new database and started all over again and still nothing.
    So I tried to get the data out of MAX and export the data to a .TXT file, it gets to 1% and then says "Operation Timed Out" and will not go any further. I get this message only about 1 minute into the export.
    I have tried getting the data out through Excel also, but to no avail.
    Are there any other methods of obtaining the data? It is vital we be able to extract this data.

    Create a new database, and try to archive 4/17~4/19 data, and see if the archive will succeed.
    One or more database files are corrupted, which may not generate error in event viewer.
    What's your lookout version? If it's 4.x or 5.x, take a look at this kb. Follow it to fix the database.
    http://digital.ni.com/public.nsf/allkb/6FC62F75B74D706D8625694900768F69?OpenDocument
    But if the file is corrupted, I think you have to lose some data.
    Ryan Shi
    National Instruments

  • System is showing time out when run in background

    Dear all,
    We have two systems: One R/3 and EBP. We have made one report where the remote function module will be called from R/3 to EBP. There are 4 lakhs data in SAP. We are sending 10000 data as package in internal table and getting the corresponding output. But the system is showing time out when the report has run in background. Can you please suggest how the process can be improved so that the timeout can be avoided.
    Thanks and regards,
    Atanu

    Hi,
    Try to fetch records in smaller chunks and process them.  For example, if you are trying to fetch records for one year, instead of single query, try to fetch in 12 sets for each month.  Fetch first month and process the records and put them in the output internal table.  Then go for next month and so on.  Anyway your program is running in background.  There will not be any user complaint also.  The solution might sound bit funny.  But it works.
    Regards,
    Hema

  • Bug report: Screen times out when other side is no...

    Bug report: Screen times out when other side is not sharing video. The phone locks and of course the other party cannot see anything. Please fix.
    Using WP 8.1.1 Developers Preview.

    Hi and welcome to the Skype Community,
    Can you please share which platform and which device you are on?
    Also are you referring about a one-way video call here where only you are sending video, but the other party doesn't send their video back?
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • IllegalArgumentException error while exporting report in PDF format

    Hi all,
    we are using Crystal Report 2008, Java 1.5.22 and JRC 11.8.4.1094 to export reports in pdf format within java.
    It is working fine for all reports except for a specific report where it gives IllegalArgumentException while exporting the PDF.
    Below the error occurred:
    12:39:16,875 ERROR [c] Disk Exporter: no output file was created by an exporter
    12:39:16,875 ERROR <b> PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export
    java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    12:39:16,875 INFO  [c] Disk Exporter: finalizing export to destination
    12:39:16,875 ERROR [JRCCommunicationAdapter] Failed to export report
    com.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unknown exception is thrown
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    Caused by: java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         ... 56 more
    Have an idea?
    Thanks

    Hello Andrea.
    I searched through the SAP Notes for the error that you are encountering.  There is an SAP Note that exists titled the following:
    1332907 - Report being exported to PDF format using the Crystal Reports for Eclipse 1.x runtime, errors with the exception: PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob
    Since you may not have access to the SAP Notes, I will extract the details that are mentioned in the note here:
    =============================================
    Symptom
    Attempting to export a report to Adobe PDF format using the Crystal Reports for Eclipse 1.x runtime results in an exception.
    The exception indicates "PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob"
    Environment
    Windows 2003
    Apache Tomcat 5.0
    Crystal Reports for Eclipse version 1.x
    Reproducing the Issue
    Using the Crystal Reports for Eclipse runtime version 1.x attempt to export a report to PDF format that has the "Repeat Group Header on Each Page" option enabled.
    Note: This does not occur if this option is enabled in a subreport.
    Cause
    When the "Repeat Group Header on Each Page" is enabled for a group in a main report the Crystal Reports for Eclipse 1.x runtime is unable to correclty format the PDF document which results in an exception.
    Resolution
    Updating the application to use Crystal Reports for Eclipse version 2.x runtime will resolve the issue.
    The most recent updates to the Crystal Reports for Eclipse runtime can be freely downloaded from the SAP SDN Website. 
    http://www.sdn.sap.com/irj/boc/crystalreports-java
    =============================================
    Since you are on JRC 11.8.4.1094 which is Crystal Reports for Eclipse 1.x, this may be the cause of your problem.
    I hope that this helps.
    Regards.
    - Robert

  • Unable to export reports to PDF in BI portal.

    Hello All,
    I am facing problem when trying to export reports to PDF in BI portal. It gives the error message "Error while generating the PDF".
    ADS BI export library is enabled in R/3 as suggested in SNOTE 1836587 and 944221.
    I have replicated the issue in the development portal, the export to PDF functionality is working fine for few user ID's. i checked the authorisation trace for the user ID's facing the issue, but no error was found in the trace.
    This is the detailed error message. Please suggest on this.
    Log ID:
    C0000A0C0502004A0000000300002023
    Initial cause
    Message: PDFDocument Processor failed to process GetColumnDataRequest Due to
    the following Reason
    can't parse argument number urn: AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    Stack trace:
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument
    Processor failed to process GetColumnDataRequest Due to the following Reason
    can't parse argument number
    urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentColumnDataContext.execute(PDFDocumentColumnDataContext.java:70)
    at
    com.sap.tc.adobe.pdfdocument.sapinternal.impl.PDFColumnDataContextImpl.execute(PDFColumnDataContextImpl.java:22)
    at
    com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:362)
    at
    com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:103)
    at
    com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:158)
    at
    com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:503)
    at
    com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
    at
    com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:68)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:556)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:142)
    at com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:389)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processSnippetRendering(PageExportRenderingRootNode.java:274)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.buildRenderingTree(Page.java:1329)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRenderingRootNode(Page.java:4938)
    at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRendering(Page.java:4904)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2803)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:744)
    at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4960)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4953)
    at
    com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1234)
    at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1083)
    at
    com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1049)
    at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:72)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:462)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:365)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:26)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
    at
    com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
    at
    com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at
    com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
    at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:588)
    at
    com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)
    at
    com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:201)
    at
    com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at
    com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at
    com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at
    com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at
    com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at
    com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: java.lang.IllegalArgumentException: can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
    at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
    at java.text.MessageFormat.<init>(MessageFormat.java:350)
    at java.text.MessageFormat.format(MessageFormat.java:811)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException$DummyLocalizableTextFormatter.<init>(PDFObjectRuntimeException.java:43)
    at com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException.<init>(PDFObjectRuntimeException.java:26)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:393)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:91)
    at com.sap.tc.adobe.pdfobject.base.core.PDFObject.execute(PDFObject.java:194)
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentColumnDataHandler.handle(PDFDocumentColumnDataHandler.java:93)
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
    ... 89 more
    [email protected]

    Hi Gaurav,
    Check if the URL in the ConfigPort_Document SOA destination is correct. Also, check if the os_libs directory under the /usr/sap/SID/JXX/j2ee directory. If it does, then stop the SAP system, rename the os_libs directory, and restart the system.
    Try generating a PDF report.
    Cheers!
    Hemanth

  • Iphoto times out when I try to add a photo to my hotmail account

    iphoto times out when I try to add a photo to my hotmail account

    No once you get the selection window and select photos ==> iPhoto then it is an iPhoto issue
    ust to confirm if you launch iPhoto everything is O? As a work around select the photo(s) and export (file menu ==> export) to a desktop folder and attach to your e-mail from there and then delete the folder
    LN

  • Why do I get white lines surrounding transparencies when exported as a PDF for print - Indesign Vers

    Why do I get white lines surrounding PSD or Tiff transparencies when exported as a PDF for print - Indesign Version 9.2?
    I recently upgraded creative suite - now I am having issues with white lines surrounding any tiffs or PSDs when exporting for print.
    I initially thought it was an acrobat viewer problem, but it seems to be effecting print. Please let me know if anyone knows the answer to this problem. thanks!

    PDF settings? Flattener settings? Overprint and trapping settings? You need to be much more specific. Eitehr way, ask in the ID forum.
    Mylenium

  • Exporting Report to PDF in Landscape

    Hello All,
    After my Hyperion report finished, I exported the result into PDF. Due to having too many rows, HTML and Excel are not viable options. After the export finished writing to a PDF file, I checked the report and realized that unless I find a way to save the result in a Landscape mode, each page of the report will be broken into two pages. Does anyone know how to export reports in PDF format in a Landscape mode?
    Thank you,
    Seyed

    Hello Ameuras,
    Thank you for your help. I was able to use the information in your response and then save the PDF report in a Landscape format. However, this still prints each row on two pages. Next, I will try your other suggestion to see if using 'Scale To Fit' would solve this problem.
    Thanks again,
    Seyed

  • Time out when seinding Idocs from XI to receiving system

    Hi All,
    we have implemented a file to Idoc scenario in our XI test environment.
    When sending more than one file at a time (containing one record -> 1 Idoc after conversion) XI creates the Idocs but gets a time out when passing the Idocs to the receiving SAP 4.6C system. We find the messages blocked in transaction SM58 with the status message "Transaction recorded" and on the XI system short dumps are created with the time out error message.
    Does anyone know this problem and can give us some hints how to resolve it ?
    Thanks in advance,
    Christiane

    Christiane,
    Check your partner profiles in the target R/3 system. Use Tcode WE20 and check the inbound parameters option to see if the radio button 'Process Immediately' is switched on. If yes, change this to 'Process by background program'.
    This way, the IDOC will be created in your system with status 64. You can then use program RBDAPP01 in the R/3 system to post these IDOCs to application.
    The reason I say this is, sometimes, posting applicaitons may take a long time thereby resulting in timeout. If this is not the actual reason, atleast this will lead you to the correct problem.
    Try this and let me know what's happening.
    KK

Maybe you are looking for

  • Component store corrupt after w8.1 spring update

    hi, I have applied  windows 8.1 pro spring update without problems. attempted to do cleanup with  dism /online /cleanup-image /startcomponentcleanup the system comes up with messages showing component store is corrupt , error  : 14098.     I run  dis

  • Interactive button in Photoshop

    Hi. Using Photoshop CS6 on a MacBook Pro. I know you can design a button in Photoshop, but can you create one that is also interactive? Say if you wanted to do an animation in Photoshop and you wanted a button to go to the next part of the animation?

  • Shall i buy anti virus software for my MAC pro lion

    Do I need to install anti-virus software for my Mac pro?

  • Set Invoice status to printed using the SDK

    Hello Experts, Do anybody know if its possible to set the Printed property to "Printed" of a A/R Invoice with the sdk for Sap Business One 2007 And / Or 8.8 and successfully update a document. We are still using v2005 and this property is in read-onl

  • Active SAN, XSAN made easy!  About time!

    Active Storage just announced Active SAN, which makes XSAN super easy to deal with. Thank you Active Storage! http://www.youtube.com/user/activestoragevideos?feature=mhum