Skip to Content
author's profile photo Former Member
Former Member

Get error " An error occured while exporting the report---- Error code:-2147467259 Error code name:failed"

Post Author: dkm1982

CA Forum: JAVA

Hi Friends,

I have a web application which uses Crystal to generate reports with Oracle as the database. The Crystal exports report in PDF format and writes this report into a temporary file on Server. It runs perfectly in development environment. But in Production where data in database reaches large volume like 100 million, I get following error: An error occured while exporting the report---- Error code:-2147467259 Error code name:failed

Please suggest clue to find the sollution. Is it possible that reason some thing other than large amount of data?

Thank you. Best Regards, Deepak

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 18, 2008 at 08:48 AM

    Post Author: prakash_kishan

    CA Forum: JAVA


    I am also facing the same problem. I think this is due to memory

    shortage\memory is not getting released..., Some changes to be done at

    CMS setup. As a temproary solution, you can restart RAS each time this problem occurs. but it needs to be automated when you run SDK.

    Hope some BO experts will give solution to this issue...Regards,Prakash.K

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

      I am also facing similar issue. I tried to generate report. The report pulls 498000 records from database. The Report generation gets failed after 3 minutes. The records were pulled from database with in 30 seconds.

      Crytal Report Runtime version -

      Java version - IBM Java 1.6.0.

      The report only getting failed in AIX environment , in windows this works fine and a report of size 30 MB got created.

      Thhe Exception stack trace does not give clear direction to the root cause.

      Please help me to resolve this issue.



  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2012 at 01:40 PM


    Have you tried to use the recent runtimes to test the application? here is the link:

    Also which type of connectivity used to connect to the database?

    In case you are using a JDBC connection, you can try to increase the heapsize (JVMMaxHeap) through the CRConfig.xml and see how it goes (default location of CRConfig.xml in windows is: C:\Program Files\Business Objects\Common\4.0\java).

    This configuration file contains some other parameters that you can try also such as JavaServerTimeout. For more info about the tag(s) in CRConfig.xml, refer to:

    The last thing you can do is to log4j your application to check the backgroung processing of the report.

    Here is a sample


    # To change this template, choose Tools | Templates
    # and open the template in the editor.

    # Default log location
    log4j.debug = true
    log4j.rootLogger=DEBUG, A1

    # number of log files to keep before deleting the oldest one
    log4j.appender.A1.ImmediateFlush = true
    log4j.appender.A1.Threshold = DEBUG
    # Log message layout: date-time [thread] priority category - message lineTerminator
    log4j.appender.A1.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} [%t] %-5p %c - %m%n

    # ---> More specific loggers can go here
    # Log levels used by Log4j in ascending order are:
    # debug, info, warn, error, and fatal
    # Covers all of the reporting engine, A1, A1, A1
    # Examples, A1




    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Since the JRC uses the System property of the Java Virtual Machine (JVM) to determine the location of the temp directory, what if you specify that in your code using this statement:

      System.setProperty("","your temporary directory here");


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.