Deadlock with thread issues while generating reports with Crystal Report XI

We are facing deadlock with thread issues while generating report with Crystal Report XI
Version Number is 11.0 and the database used is Oracle
In the log file on line number 74350  by 2008/12/16 13:35:54 there is a dead lock with Thread: u20184u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '0'.
And  a dead lock with Thread: u20180u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '4'.
Exactly after 10 minutes we can see the thread 4 and 0 are declared as STUCK by 2008/12/16  13:45:54 .
Is this an existing issue with Crystal Report?
Is there some solution for this problem?
THE LOG FILE INFORMATION IS GIVEN BELOW
[deadlocked thread] [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)':
Thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@15214b9' that is held by thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)''
Stack trace:
     com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
     com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
     com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
     com.crystaldecisions.reports.common.ab.a(Unknown Source)
     com.crystaldecisions.reports.common.ab.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
     com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
     com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
     com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
     com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
     com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
     weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
     weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
     weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
     weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
     weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
     weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
[deadlocked thread] [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)':
Thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@12e0415' that is held by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)''
Stack trace:
     com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
     com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
     com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
     com.crystaldecisions.reports.common.ab.a(Unknown Source)
     com.crystaldecisions.reports.common.ab.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
     com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
     com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
     com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
     com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
     com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
     com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
     weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
     weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
     weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
     weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
     weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
     weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Can you please suggest any work around for this?

I'm not referring to Servlet threading issues.
I'll clarify.
You have two threads, both entering ReportClientDocument.open(...) method.
Thread 4 is waiting to acquire 'com.crystaldecisions.reports.queryengine.av@15214b9'
Thread 0 is waiting to acquire ''com.crystaldecisions.reports.queryengine.av@12e0415'
So I'm thinking ??? are they the same objects?
My specific question concerning the ReportClientDocument is that both are calling open - i.e., trying to open a new report.  You wouldn't be trying to open different reports using the same ReportClientDocument - so was wondering if you've cached the RCD and trying to open two different reports at the same time on the same instance via different threads.
You'd normally tie a ReportClientDocument instance to a HTTP Session, to ensure each user gets their own copy.
Sincerely,
Ted Ueda

Similar Messages

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Facing Issue while Integration Cybersource with ATG

    Hi All,
    I am facing issue with address verification while integrating cybersource with ATG.
    Rest all integration with cybersource are working fine.
    If i used VerifyOrderAddresses and mention addressVerificationProcessor to use CyberSourceAddressVerify , i get the below error related to houseno . box not found
    addressVerificationProcessor=/atg/commerce/payment/CyberSourceAddressVerify
    Can someone please help me on this.
    Need it urgently. Pls let me know if need further details
    TIA,
    Mayank
    Error Log :
    12:03:01,992 INFO [ShoppingCartModifier] DEBUG There are 0 gift certificates to be collected
    12:03:01,993 INFO [ShoppingCartModifier] DEBUG adding CreditCard to the Order
    12:03:02,075 INFO [ShoppingCartModifier] DEBUG no form errors - staying on same page.
    12:03:04,942 INFO [CyberSourceAddressVerify] DEBUG ----- request -----
    12:03:04,946 INFO [STDOUT] ship_to_state=CA
    bill_state=CA
    ship_to_city=San Jose
    bill_city=San Jose
    bill_country=us
    bill_zip=95131
    ship_to_country=us
    ignore_avs=
    merchant_id=mykkaushik
    bill_address2=
    ics_applications=ics_dav
    ship_to_zip=95131
    bill_address1=1, Main St
    ship_to_address2=
    client_lib_version=Sun Microsystems Inc./1.6.0_31/Windows 7/6.1/-/Java/5.0.3
    ship_to_address1=1, Main ST
    merchant_ref_number=pg460011
    12:03:06,320 INFO [CyberSourceAddressVerify] DEBUG ----- response -----
    12:03:06,320 INFO [STDOUT] dav_rcode=0
    ics_rcode=0
    ics_rmsg=House/Box number not found on street.
    request_id=3539115850040180464524
    dav_us_info=S00000
    dav_us_error_info=E421
    request_token=AhijLwSRf7YylSTvL7cYIJ+1EEDyqAJGlwtJMsXXwMhEAAAA/QNM
    dav_rflag=DINVALIDADDRESS
    ics_rflag=DINVALIDADDRESS
    merchant_ref_number=pg460011
    dav_rmsg=House/Box number not found on street.
    12:03:06,364 INFO [ShoppingCartModifier] DEBUG PipelineError: key=InvalidAddress; error={pg460011=House
    12:03:06,367 INFO [ShoppingCartModifier] DEBUG adding form exception: InvalidAddress: House/Box number
    12:03:06,367 INFO [ShoppingCartModifier] DEBUG root cause of exception: null
    12:03:06,368 INFO [ShoppingCartModifier] DEBUG Transaction Marked as Rollback - redirecting to: billing
    12:03:06,369 INFO [ShoppingCartModifier] DEBUG afterSet sees currentTransaction as TransactionImple < a
    nStatus.ABORT_ONLY >
    12:03:06,369 INFO [ShoppingCartModifier] DEBUG afterSet committing transaction TransactionImple < ac, B
    tus.ABORT_ONLY >
    12:03:06,494 INFO [ShoppingCartModifier] DEBUG Released local write lock using id 270000

    It's an issue with the input which you given to the field:House/Box
    Returning Error from Cybersource:
    House/Box number not found on street.
    could you please give valid number here which is the Cybersource service expecting number.

  • Font style issue with exporting report in Crystal Reports 2008

    Hi,
    I got stuck on the below issue for a while. Please can anyone help on this?
    When I designed and executed a report in Crystal Reports 2008 on my local PC, the font style and size used in charts were exactly what I was expecting.
    However, after I exported the report to our BusinessObjects CMC and displayed it in InfoView, the font style and size in charts looked quite different from what they were in CrystalReports.
    Any ideas of how to fix this issue?
    Thanks!
    BAI

    Hi Nanda Kishore,
    This is because you do not have proper rights on Business View Manager.  Whenever you create a dynamic parameter in crystal and try to save the report on BO, it creates a Business view automatically.  Now in your case, it is unable to create a business view due to insufficient rights.
    Go in Business View Manager u2013 Repository exploreru2014You will find Dynamic Cascading Prompts folderu2014Right click on that and go in rights and add your user information and give full rights.
    Also make sure that your BO and CR designer on same version and patch level.
    Thanks,
    Sastry

  • Performance issue while generating Query

    Hi BI Gurus.
    I am facing performance issue while generating query on 0IC_C03.
    It has a variable as (from & to) for generating the report for a particular time duration.
    if the variable (from & to) fields is filled then after taking a long time it shows run time error.
    & if the query is executed without mentioning the variable(which is optional) then the data is extracted from beginning to till date. the same takes less time in execution.
    & after that the period has to be selected manually by option keep filter value. please suggest how can i solve the error
    Regards
    Ritika

    HI RITIKA,
    WEL COME TO SDN.
    YOUHAVE TO CHECK THE FOLLOWING RUN TIME SEGMENTS USING ST03N TCODE:
    High Database Runtime
    High OLAP Runtime
    High Frontend Runtime
    if its high Database Runtime :
    - check the aggregates or create aggregates on cube and this helps you.
    if its High OLAP Runtime :
    - check the user exits if any.
    - check the hier. are used and fetching in deep level.
    If its high frontend runtime:
    - check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.
    For From and to date variables, create one more set and use it and try.
    Regs,
    VACHAN

  • Need help with adding formatted text and images to Crystal Report?

    Here's my scenario:
    I have a customer statement that's generated as a crystal report and that has a placeholder for advertisement. The advertisement is mixture of formatted text and images. Until now we only had one advertisement that was always used on the report. The new requirement is that we would have a pool of hundreds of advertisements and would need to display one specific advertisement on the customer statement based on various marketing criteria. They key is that the advertisement content will be determined programmatically and cannot be hardcoded into the report. I'm using Crystal2008 with .net SDK.
    Here are the solutions I thought of, but I'm still rather lost and would appreciate your help/opinion.
    1) Pass HTML or RTF to the report
    Not really sure if this is possible and how to get it done. Also how would I pass in images? Would display formatting be reliable when exporting to PDF?
    2) Create each add as a subreport and append it programatically
    I actually have this working, but I only know how to append a new section to the end of the report and then load the subreport to the section. I have no other controll of the placement. Is there a way to dynamically load a subreport to a predefined section in the main report? How about adding a dummy subreport in the main report as a placeholder and then replacing it with a different subreport? How could I do this?
    3) Pass an Image to the report
    I would create each advertisement as an image and then would somehow add the image to the report. How would I load the image and control the placement? Could I somehow define a placeholder for the image in the main report-maybe a dummy image to be replaced?
    Thank you.

    Hello Pavel,
    I would got the third way.
    You can use dynamic images in your report.
    Just by changing the URL to the image the image can be changed.
    Please see the [Crystal Manual|http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf] and search for images.
    or directly here
    [Setting a Dynamic Graphic Location Path on an Image Object|https://boc.sdn.sap.com/node/506]
    [Dynamic image and HTTP://|https://boc.sdn.sap.com/node/3646]
    [codesample for .NET|https://boc.sdn.sap.com/node/6000]
    Please also use
    [Crystal Reports 2008 SDK Documentation and Sample Code|https://boc.sdn.sap.com/developer/library/CR2008SDK]
    [Crystal Reports 2008 .NET SDK Tutorial Samples|https://boc.sdn.sap.com/node/6203]
    Hope this helps
    Falk

  • Issues while generating the output(using VF02- header- output)

    Hi Group,
    I have issues while generating output using the tcode VF02.
    the issue is that, I have got an output type which is configured for the medium "Special Function" and the o/p program generates PDF depending on certain criteria.
    now, when I try to "repeat output" option to generate output again, I was getting errors. it works sometimes by choosing the option "Successfully processed" then selecting the record and then saving it. if I do the same thing again, the output make be running into error or success, it is varying everytime.
    I am not able to understand why the process is not working correctly, when doing the "Repeat output" option on the "Successfully processed" record, the system is giving error instead of a Successful message. it is succeeding once and sometimes not.
    Kindly let me know your inputs if you have encountered same kind of issue.
    Regards,
    Vishnu.

    hi Group,
    when I checked the configuration part of the o/p type I am currently processing, I could see that, in customizing part of this o/p type, there was a checkbox for Multiple Issuing - which is not checked.
    when it is not checked, it should not be possible to run the o/ps for multiple times, but when I tried to generate o/ps again and again, in a few attempts I could to generate the PDFs and in some cases not. I don't know why there is no relevance for this check box Multiple Issuing.
    Could you please let me know why this issuing of o/p is working in some occassions and not working work sometimes, which is  having the configuration of checkbox Multiple Issuing - not being checked.
    thanks for your help in advance.
    Regards,
    Vishnu.

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • Report containing 15 sub reports crashing - Crystal Reports 2008

    I am using Crystal report 2008 with all latest service packs applied. I have more then 20 different reports wich work absolutely fine and never crash. One of my report contains 15 sub reports since its bringing data from 15 different queries. This consistently keeps crashing everytime I try to run it. Not sure what could be the root cause.
    We are using Postgres database and connected to it with  ODBC connection using Microsoft DSN.
    - All Subreport data is being displayed on Report Footer
    - All subreports are included in the Main report  page header section. (I have also tried doing it on report footer section but it still crashes)
    I have tried searching through the forum and did not find similar issue resolutions. Did someone face similar problems before?
    The crash message is:
    "crw32.exe has encountered a problem and needs to close. We are sorry of the inconvenience."
    Error report contains this data:
    AppName: crw32.exe      AppVer: 12.2.0.290      ModName: psqlodbc35w.dll
    ModVer: 9.0.2.0      Offset: 0004c538
    I am using Windows XP
    Crystal Report Version Details:
    CR Developer Version 12.2.0.290
    Product Type: Full
    Let me know how can I debug this issue? Any help is appreciated.

    @Don - We performed extensive testing for this crash issue and found that now this crash is not happening only in one scenario. So we have partially fixed this.
    Now the report crashes if I get disconnected from database and reconnect. This is what happens
    1. open the report in crystal report 2008
    2. try to run the report when db is connected- it works fine.
    3. Now disconnect the database (we are using ssh tunnel to connect to db so we just close the tunnel)
    4. now try to refresh the report - it fails to retrieve data.
    5. Now close the report without saving it.
    6. Now Close Crystal Report.
    7. Now Connect the DB using ssh tunnel so crystal report can connect.
    8. Now open Crystal Report
    9. Launch the target report.
    10 Preview the report - it works for first time.
    11. Now do a refresh keeping same parameters - Report crashes here.
    - I tried these steps with some of my other reports and they do not crash.
    - Now I have only one report which contains a Postgres Query with date range,order by and a union join.
    - No subreports now - I am trying to run this one subreport as a standalone report which I created from scratch(using blank report wizard) and just copied the query.
    Any more pointers would help.

  • How to make crosstab report in crystal report

    Hi all ,
    I want to make a crosstab report in crystal report
    my query is like this
    select YearDate.year ,
    (currentasset.currentaset / currentliability.currentliability  ) as CurrentRatio
    ,(currentasset.currentaset - Inventory.Inventoryaset / currentliability.currentliability ) as QuickRatio
    from
    select distinct YEAR(JDT1.RefDate) as year from JDT1
    )YearDate left join
    select YEAR(JDT1.RefDate) as year,sum(JDT1.Debit - JDT1.Credit ) as currentaset from JDT1,OACT
    where JDT1.Account = OACT.AcctCode
    and OACT.AcctCode = '11'
    group by YEAR(JDT1.RefDate)
    )currentasset on YearDate.year = currentasset.year left join
    select YEAR(JDT1.RefDate) as year,sum(JDT1.Debit - JDT1.Credit ) as Inventoryaset from JDT1,OACT
    where JDT1.Account = OACT.AcctCode
    and OACT.AcctCode = '11.05'
    group by YEAR(JDT1.RefDate)
    )Inventory on YearDate.year = Inventory.year left join
    select YEAR(JDT1.RefDate) as year,sum(JDT1.Debit - JDT1.Credit ) as currentliability from JDT1,OACT
    where JDT1.Account = OACT.AcctCode
    and OACT.AcctCode = '21'
    group by YEAR(JDT1.RefDate)
    )currentliability on YearDate.year = currentliability.year  left join
    order by YearDate.year
    So if i view the data in sql server it should be like this
    Year   CurrentRatio   quickRatio
    2006               501                 100
    2007              600                  200
    2008             700                   300
    2009             900                   400
    I want to make a crosstab with the column is year . the Year is dynamic according to the selection
    So if i select the year from  2007 to 2009
    It should be like this in report
    2007                2008              2009
    CurrentRatio                 600                  700                  900
    QuickRatio                    200                   300                 400
    How can i make it in Crystal report ?
    I have use the template in crosstab crystal report, but there is not suitable.
    Can i make manually. ?
    Thanks in advance
    Regards
    KK

    Hi kevin,
    thanks for your respond . Actually, it's work.
    But i have some issue again.
    How can i make a grouping
    So the grouping per Item
    For example                                                                               
                                                          2006                 2007                 2008
    Group 1               Item A                5                        6                       7
                                Item B                7                        8                       9
    Group 2              Item C                  9                       0                      0
                               Item D                 8                        8                      9
    And another question, Is there always have row summary ? It seems that after the 2008 column, there is a total column, Can I remove this ?
    Thanks in advance
    regards
    KK
    Edited by: kah kian on Jun 2, 2011 4:17 PM

  • Convertion from Bex Reports to Crystal reports

    Hi all
    we are integrating BI with BO, i have a task to convert all existing BEx reports into Crystal Reports. I knew nothing how to do this, can any one please explain in detail steps how to convert BEx reports into crystal reports.
    For example any documents or t-codes how to start and finish the task.
    Thanks

    Post your question BEX and/or B1 and classic SAP data source issues to the Integration Kit forum

  • Unable to Run Report on Crystal Reports Server 2008

    I have a weird issue with one particular report. The report is quite basic in which it dumps all of our patients via a single table from SQL Server. There are no parameters or select experts. The report has been written to group by the patient's SSN. I then have a formula written that hides all of the patients that only appear once under that SSN. Basically, the report is only displaying patients with duplicate SSN. The report works fine inside of Crystal Reports 2008. There is approximately 137,000 rows and after the formula to only show duplicates, it shows about 900 records. This report takes only 6 seconds to run inside of Crystal Reports 2008. However, when I upload the report onto Crystal Reports Server 2008, the report starts to load and then I get a message from Internet Explorer that says  "Stop Running this Script." If I continue to let the script run, Internet Explorer grows to use 3.6GB of memory and the report never loads. I am not sure why this is the only report that is having a problem. Is there some maximum number of groups that Crystal has?

    I have checked the following directories and I haven't been able to see any errors related to my problem. I checked C:\Windows\system32\logfiles and C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\logging. However, if I schedule the report, it works just fine. I just can't run the report on demand without receving the "Stop Running Scripts" error.

  • Report in Crystal reports has different values in Infoview

    I have uploaded a Crystal Report into BO Enterprise using the CMC.
    The logging into the Infoview to view the report and the results are different to those in the report when run against the same data in Crystal reports.
    It is pulling up data, but not the correct figures. I dont know where it is getting its data from.
    Any help would be appreciated.

    I deleted the ODBC connection and recreated it with a new name.
    I then relinked the report in crystal reports, and it suddenly decided to give updated values.
    Thanks

  • How to set DbConnections when scheduling a crystal report using Crystal Reports Server Java SDK?

    Post Author: Manjula
    CA Forum: JAVA
    Hi,
    Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:&#91;Database Vendor Code:6550&#93;.
    Would be thankful if someone could answer my point as applicable.
    Here is the code attached.
    ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
    for(int i=0; i<dbLogonSize; ++i) {
    IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
    dbLogon.setDatabaseName("DBname");
    dbLogon.setUserName("usrname");
    dbLogon.setPassword("pwd");
    Thanks in advance.

    Post Author: Manjula
    CA Forum: JAVA
    Ted,
    Thank you for your valuable information.
    First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
    On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
    And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
    So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
    Would be greatful if you answer my question and provide me some guidance.
    Thanks in advance.

  • Problem deploying OLAP report to Crystal Reports Server

    I have developed a simple OLAP cube report using Crystal Reports Developer (11.0.0.1.1282). The report correctly previews and shows values against the cube that I have chosen as the datasource. The datasource is not my local computer but another computer (on the same network) that contains an Analysis Services 2005 cube. Crystal Reports Server (11.5) is installed on the same computer that contains the datasource.
    Using the CMS I uploaded the OLAP cube report to the server. After that was finished I changed the "When viewing report" radio button to "Use same database loging as when report run" in the Process/Database setcion. I logged into the InfoViewer and navigated to the report and executed it. When the report executes I get the following error:
    Crystal Reports: Print Engine Error
    Unable to retrieve Object.
    Crystal Reports: Print Engine Error
    I wanted to make sure that the server was running correcly as it is a fresh install. So I created a standard report that connects to a SQL Server 2005 datasource and displays the contents of a table. When I uploaded this report to the Crystal Report Server it rendered correctly.
    What do I need to do to make the OLAP cube report render correctly?

    I'm not sure about using OLAP with CR on the server, maybe someone else will have more input on that.
    When using OLAP on the server I recall that you must install PTS (it was like OLAP - ODBC) but it didn't require any config just to be installed on the server.
    You mentioned CR 11.0 what version is the server? I don't believe SQL 2005 analysis services was ever tested with XIR1 (version 11). You can check the supported platforms by clicking the business obejcts link above and selecting articles, then your version.
    Do you have olap intelligence? That was a seperate product on version 11 that was used to create .car reports off of OLAP.
    Regards,
    Tim

Maybe you are looking for

  • Session Replication and Session Timeout -- Urgent

    WLS -4.5.1 SP 11           OS - both NT and Sol           HI All           The session does not seems to timeout when running the Weblogic servers in           clustered mode with in-memory session replication on.           This problem seems to be t

  • Mac OS 10.4.8 - 10..4.10 crash apps on print

    The second time I print from an application (without shutting it down) inevitably causes a crash. Can anyone figure out what this message from Console means: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.

  • QTEK 9100 better known as wizard Windows  Mobile 5 Phone

    I made a big mistake buying a moblie Phone QTEK 9100 better known as Wizard in other countries than Switzerland. This This is a Windows Mobile 5.0 Device with all you can think except that it does not work at all with my Mac.It is not compatile with

  • Problems while printing

    I have an application deployed with Java Web Start. Once running on the client machine when I try to print an image to a printer in the local network I get an image with inverted colors. The strange thing is that when I run the same application from

  • Font tag in textArea Component

    We have a TextArea that is created dynamically reading in XML data with the textFormat set to Arial font as the default. When we publish it the font tag for a subscript and superscript fonts is not displaying even though we have embedded the fonts. I