Crystal Reports 2008 - Report Load error - Memory Leak Error?

Hello
<br>
We have a problem with Crystal Reports 2008 with .NET 2.0.
<br>
CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
<br>
The problem is that during high amount of report producing, errors in eventlog pops up and the production of reports using <br>
Crystal Reports stops.
<br>
Below are examples of the three most common event logs.
<br>
We have tried to implement a cleanup method both as a destructor (with a global ReportDocument rdoc variable) and using direct call to cleanUpDoc() method when finished with loading doc:
<br>
~IOServerClass()
<br>
<br>
            cleanupDoc();
<br>
<br>
<br>
        private void cleanupDoc()
<br>
<br>
            try
<br>
<br>
                if (rdoc != null)
<br>
<br>
                    rdoc.Close();
<br>
                    rdoc.Dispose();
<br>
                    rdoc = null;
<br>
<br>
                this.CleanGlobalEvents();
<br>
                System.GC.Collect();
<br>
<br>
<br>
<br>
The doc is loading using the "normal" method (in-process).
<br>
<br>
try
<br>
<br>
                    rdoc = new ReportDocument();
<br>
                    rdoc.Load(fullpathandreport); 
<br>
<br>
               catch (Exception ex)
<br>
<br>
                cleanupDoc();
<br>
<br>
...process doc....
<br>
cleanupDoc();
<br>
<br>
Furthermore we have tried during Scalable tests of the system - but cannot produce the below errors ourselves. Only the customer can.
<br>
Please help with solving this problem.
Is the above advisable to do?
Should the document be loaded in another way?
Is it a memory leak?
<br>
Regards
Kristian
<br>
<br>
event logs:
<br>
<br>
#1
<br>
<br>
Event Type:     Error
Event Category:     None
Event ID:     1102
Date:          12-02-2010
Time:          10:22:05
User:          N/A
Description:
IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
Source=CrystalDecisions.CrystalReports.Engine
Message=Load report failed.
Stacktrace=   at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
   at xxx.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
InnerSource:Analysis Server
InnerMes:
Error in File 321 {19463E3B-D404-45EB-88AE-5722A7FF9E90}.rpt:
The request could not be submitted for background processing.
InnerStack:
   at
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
DocumentPath, Int32 Options)
   at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
<br>
<br>
#2
<br>
<br>
IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
Source=CrystalDecisions.CrystalReports.Engine
Message=Creating an instance of the COM
component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} from the IClassFactory failed
due to the following error: 8007000e.
Stacktrace=   at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep, Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 289
<br>
#3
<br>
<br>
IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
Loading reportfile=C:\Inetpub\wwwroot\xxx\reports\340.rpt
Source=CrystalDecisions.CrystalReports.Engine
Message=Load report failed.
Stacktrace=   at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
   at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008
\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
InnerSource:CrystalDecisions.ReportAppServer.ClientDoc
InnerMes:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
InnerStack:
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
DocumentPath, Int32 Options)
   at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
Edited by: kristians on Feb 16, 2010 2:57 PM

Hi;
First, ensure you have the latest service pack / hot fix for your version of Crystal Reports, and that the client has the same updates as well. Fix Pack 2.4 is the current latest, and can be downloaded from our downloads section.
One of the errors is the Background Processing error, so have a look at the following article:
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33&overridelayout=true
Regards,
Jonathan
Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup

Similar Messages

  • Crystal Reports 2008 - Report off of Active Directory

    Hello,
    I have found a few articles on how to do this, but they don't seem to follow my wizard.
    Can someone provide a tutorial on how to create a Crystal Reports 2008 report against active directory?
    I have been able to do the following so far:
    1) Create new OLE DB (ADO) connection
    2) From Provider, choose OLE DB Provider for Microsoft Directory Services.
    3) The fields I have are Data Source, User ID, and Password.
       - I do not have a field for "LOCATION" that is referenced in documentation I have found on here.
    4) I enter my server.domain.com:389 for active directory, a valid username and password.
    5) It seems to create the connection, and wants me to ADD COMMAND. I haven't been able to find a command that actually works online. Does anyone have one? I.e.: Employee and Supervisor names.
    Thank you,
    Lin

    backing up a step or two, make sure that the username you are using has a domain alias infront of it, something like "mydomain\myusername" should be the correct format. even if you don't get an error when you create the connection it may be incorrect. when entering in a command is the only time it actually tries to authenticate against the AD server. If you make a mistake when entering in the original connection (anytime before the add command part) remember that you will need to exit out of Crystal Reports and come back in. the connection can not be remade or edited once entered.
    Now, as for what to put into the query, you will probably need to talk with your windows AD administrators. the one I used for my organization was something like this (replace the stuff between the <> marks with your data):
    SELECT samaccountname, sn, givenname, mail FROM 'LDAP://OU=<yourOU>,DC=<yourdomain1>,DC=<yourdomain2>'
    remember you can not use * to get data, it seems to take what ever properties you directly name. if you need names of properties or items to call, I'd recommend a quick google search on LDAP SQL queries.
    I hope this helps

  • *Crystal Reports 2008 connection to oracle 11g database error IM003*

    Hi ,
    I am getting the following error when connecting to Oracle 11 g database using Crystal Reports 2008.
    _Logon Failed:Details: IM003:Specified driver could not be loaded due to system error 127 ( Oracle in OraClient11g).
    Datebase Vendor Code:160.
    The Login and Pw that I am using are correct.
    *Could you please let me know any steps that i need to do to resolve this problem.
    Thanks!*

    Hello,
    I haven't seen that error in years... There was a version of Oracles client that did not put the client install into the PATH statement.
    Add the Oracle ...\Bin folder to your System Environment variables and then it should work.
    Thank you
    Don

  • Crystal Report 2008 results "Password did not match error" in SQL Server Log

    Hi,
    I am trying to develop some crystal reports using Crystal Report 2008 SP4 to connect to SQL server 2008 through RDO (ODBC). My problem is that anytime Crystal Report is trying to establish a connection with SQL Server, first it tries to connect with the wrong password and results the following error message in SQL Server log:
    Login failed for user 'peyman'. Reason: Password did not match that for the login provided. [CLIENT: 192.168.2.198]
    The login name 'peyman' is the right one as I have quoted the same in setting up ODBC System DSN using "SQL Server Native Client 10". But somehow Crystal Report is taking its chance and trying to connect before prompting me for the password. After this error logged to SQL server side, I can see Crystal Report pops up the prompt to enter DSN password. After supplying password to this prompt, Crystal Report works fine and pulls the data and renders the report without having any more incorrect password error logged to SQL Server.
    The attached file shows the step I am taking to regenerate the issue. I need this to be fixed as anytime uses any of these reports and tries to render it with crystal runtime engine the same error message raises in SQL Server side and logged in the log file.
    Thanks,

    Hi Peyman,
    This is the way it should work, In CR designer when you open the report it does nothing. As soon as you hit the Refresh button then CR tries to use the connection saved with the report. It assumes what is saved with the report is a valid server and connection info. CR simply tries to verify the server is still active.
    If you don't want it to fail in CRD then before opening any report Click the File, Log on Database option and connect. Now when refreshing reports it won't log the failed.
    In the SDK it does the same thing, it assumes the Server info is the same and does try to connect to verify the Server does exist. It only takes a few milli-seconds to do this
    To stop this from happening set the log on info first then it won't log the attempt to connect, it's checking to see if Trusted is allowed.
    TIMESTAMP    THREAD_ID    FILENAME    LINE_NUMBER    LOGGED_DATA    LEVEL
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.440    57320    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.968    57208    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.999    57208    .\QESession.cpp    444    Set Product View Locale: 1033    20
    2014-6-2 8:30:12.4    57320    .\qecommon.cpp    117    This value is write-only. File Name: ".\QEProperty.cpp". Line: 145    1
    2014-6-2 8:30:56.278    57208    .\odbcapi.cpp    301    Beginning COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\odbcapi.cpp    335    Ending COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\connect.cpp    2170    SQLDriverConnect succeeded: DSN = 192.168.13.172, User ID = sa, Password = ********    10
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 916    1
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    1184    Beginning CQERowset::readFirstRecord    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2149    Beginning CQERowset::restart    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2370    Beginning CQERowset::execute    20
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    514    Query Targets: sqlncli10, ODBC3SQLServer    10
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    525    Successfully built query:    SELECT "Orders"."Customer ID", "Orders"."Employee ID"   FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.353    57208    .\odbcapi.cpp    875    Beginning COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\odbcapi.cpp    884    Finishing COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\rowset.cpp    220    SQLExecDirect succeeded:  SELECT "Orders"."Customer ID", "Orders"."Employee ID" FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Customer ID is using client buffer    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Employee ID is using client buffer    10
    Notice it doesn't try to connect first if I set the log on info first using code.
    So nothing we can do to stop SQL server from logging this info. Check with the DBA, possibly they can "filter" out the application attempts to connect or change your work flow in the app.
    If you have a Preview Button to view the report then simply add your Database log on info prompt there if Connectioninfo.Trusted is not true:
    mainSecureDB = rpt.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
    if mainSecureDB = false then prompt the user for log on info and set accordingly, if it is true the it should not fail when it connects.
    This is simply a matter of changing your App work flow...
    Thanks
    Don

  • Crystal Reports 2008 to BOBJ 4.0 Migration error

    Hi,
    We are runnign BusinessObjects 3.1. We are also running Crystal Reports 2008 in VM Windows environement
    I am trying to migrate CR to BusinessObjects 4.0 but getting error:
    "Import file parsing exception occured: 'Element type "io:Integer" must be followed by either attribute specifications, "> or "/>.' (FWM 04009)
    Here are the steps I take and more information.
    CR are using connection to Oracle DB
    I log on to BOBJ 3.1 system and create BIAR ful and put it on shared drive.
    Log on to BOBJ 4.0 and launch Upgrade Management Tool and select optopn BIAR to Live.
    After selecting BIAR file when I click next above mentioned error comes. No mater what option I seledt. These reports are not using any Universe.
    I will appreciate your help.
    Thanks
    Bashir Awna

    Moved to BOE Admin forum.
    I suggest you create a case in SMP and work with a Rep to debug the issue.
    Don

  • Windows 2008 R2 Hyper V : Memory leak

    OS : TSE 2008 R2 64 bits Hyper V
    RAM : 16 Go
    CPU : 2 * 4 core
    Oracle Client : 11.2
    Hello,
    We have a memory leak problem on TSE 2008 R2 server with Hyper V and Oracle 11G client.
    The used memory is never released until the server crash.
    (The database is on another server with TSE 2008 R2, and no virtualization.)
    Someone has encountered this problem ?

    VSWLR wrote:
    Oracle Client : 11.2
    (The database is on another server with TSE 2008 R2, and no virtualization.)
    Moderator Action:
    This post has been moved from the Sun Servers General Discussion forum to the Database General Discussion forum.
    It is not a hardware question. Memory leak issues are always an OS, an OS configuration, or an application issue.

  • Applet load and memory leak

    what are some methods to load an applet faster that is on the local machine? also, are there any applications to test for memory leaks? and are there ways to invoke garbage collection with code? thanx in advance.

    Applet on the local machine will load faster because file is already there
    use System.gc() to do a garbage collection

  • Need to count the number of groups in a Crystal Reports 2008 report

    I have created a report with three levels of grouping. There are several items in each level.  I want to count the number of groups.  I have tried countdistinct but it counts the number of items in the lowest level of grouping and I want the number of items in the higher  levels.  This is a distribution data base.  I have the data grouped by date, by truck on each date, and by "run" or load on each truck on each date.  I want to count the total number of groups of truck and run, which is the second level of the grouping.  Any ideas? I am fairly new to Crystal.

    Hi Debbie,
         To count the number of groups please try the folling steps:
    1) Create a formula @reset and place this formula in the page header
        whileprintingrecords;
        numbervar i:=0;
    2) Create another formula @evalgroup place this in the group header where you want to count the values.
        whileprintingrecords;
        numbervar i:= i+1;
    3) Create another formula @display and place this in report footer.
        whileprintingrecords;
        numbervar i;
    In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
    Hope this helps!!!
    Regards,
    Vinay

  • Converting Crystal Report 2008 report into webi

    BO XI R2 SP1
    Crystal 2008
    Windows 2003
    I was wondering if it is possible to convert reports built in Crystal 2008 into webi using some mechanism within BO. Please help if  you know how to do that.
    Thanks!

    Sorry.There is no way to do this. The RCT only converts Deski documents to Webi.
    PS: This question was previously asked and answered [here|Converting Crystal Reports to Webi;.

  • Crystal reports 2008 sp3 : An error has occurred while attempting to load t

    Hello,
    Please forgive me for posting in the CR .NET forum because we are using the full Crystal Reports 2008 product and I did not see a category for it.  If there is a better forum for this question, please let me know or feel free to move it.
    We are having trouble deploying our crystal reports 2008 reports to a Windows Server 2008 R2 server in an aspx application...
    I have been working on this issue for 4-days and cannot seem to make any progress, so I would really appreciate your help.
    Our Environment:
    Development Computer (32-bit, WinXP)
      VS2008 (fully updated, was not installed with its Crystal Reports feature)
      Crystal Reports 2008 SP3 (downloaded and installed "cr2008_sp3_fullbuild")
    Database Server (64-bit)
      "SERVER2" is a Microsoft SQL Server 2008 server, fully updated
    Web Server (64-bit)
      "SERVER3" is a Microsoft Server 2008 R2 Web server.
    We have an application that is installed on the Web server and it pulls data from the database server.
    The webpages are accessing the database properly.  There is a ShowReport.aspx webpage that has the
    CrystalReportsViewer on it.  We send parameters and logon information to ShowReport.aspx.  ShowReport
    works properly on our development computer and the report looks good, but it fails on the web server.
    We downloaded CRRuntime_12_3_mlb.msi (X86) from SAP/CR and installed it on the web server without any issues.
    Our application pool on the web server for this application is set to 32-bit mode.  When I launch the
    application, it works properly with the database and displays data on web pages, but when I try to
    view a report on ShowReport, I get the following error message:
    An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.
    According to everything that I have read, I have properly matched the DLLs: On the development computer, "cr2008_sp3_fullbuild" was installed; On
    the web server, "CRRuntime_12_3_mlb.msi (X86)" was installed.  They are both Crystal Reports 2008 and not .NET.  CR.NET was not installed on our development computer, so our application was built with full Crystal Reports 2008 SP3.  On our development computer, .ENGINE is 12.0.2000.0 and
    the same version is on the web server.
    So, I am completely at a loss as to why we are encountering this error.  Help, Please!!!
    Thank you in advance,
    Mike

    Hi Mike,
    Did you set your project for X86 mode only? If not do so and rebuild and deploy your app.
    Thank you
    Don

  • 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

  • Memory Leak in Crystal Report XI

    We are using Crystal Reports XI Licensed Developer version for web based application. The generated reports are getting accessed by multiple users from web interface. After continuos access of reports, at some point it reaches the maximum limit of Application pool and it stops the application.
    From number of web forms, we found that crystal reports are not releasing systems memory and it keeps adding extra load on memory after a single report generation or there is memory leak. Below are the code snippets to initialize and dispose of report object.
    a. Initializing a new report obj
    protected ReportDocument _selectedRpt = new ReportDocument();
    b. Disposing obj in page_unload event
    /// <summary>
    /// Page_Unload Event handler.
    /// </summary>
    /// <param name="sender">Sending control or event.</param>
    /// <param name="e">Generic event arguments.</param>
    protected void Page_Unload(object sender, EventArgs e)
         _selectedRpt.Close();
         _selectedRpt.Dispose();
    Temporary Solution:  For its temporary resolution, we are recycling application pool twice a day for smooth processing of reports, but recycling also destroying application session.
    Please suggest a solution, which can help to run crystal reports correctly without any memory leak.

    Helena, CR XI R2 is not supported in .NET 2008. See [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/WhichCrystalReportsassemblyversionsaresupportedinwhichversionsofVisualStudio+.NET] wiki for more details.
    Re. your unanswered post. Can you provide a link? I search for unanswered posts, but do not see one from you.
    Remember that this is a community forum only, not support as such. If this is an important issue and you wish to discuss it with technical support, you can create a phone case here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Crystal Reports 2008 SP2 Install Error

    When I try to install Crystal Reports 2008 SP2 I receive the following error...
    The feature you are trying to use is on a CD-ROM or other removable disk that is not available.
    Insert the 'Crystal Reports 2008 SP1' disk and click OK.
    SP1 was installed via the upgrade utility that launches with the software.  I found the package folder in C:\Documents and Settings\%username%\Local Settings\Temp but it did not contain the MSI SP2 is looking for.
    I've tried installing SP2 by both letting the update utility attempt to automatically install it and by just downloading it from the update utility and running the installation manually.
    Anyone experience this issue?
    -Chris
    Edited by: chris.murphy on Oct 20, 2009 10:18 PM

    Hi Chris,
    This is not a support site but a public place for all users to help each other. If you would like to talk to a support Engineer then please purchase a case.
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
    Try downloading SP1 and installing it from your local hard driver and then install SP2. I'll mention this issue to the install team and see what they say about your issue.
    Thank you
    Don

  • Crystal Report 2008 SP3 and BO XI 3.1 conflict

    Hi every body,
    We have a BOE system:
    BO XI 3.1
    Oracle db 10g
    All running successful and can create some types of WebI report.
    But we also want reports with Crystal Report.
    1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
    2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
    3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
    We set rights for Oracle DB user again. But still error: cannot fetching.
    4> We searched the solution for this problem on the internet. But not worked, no answer.
    Can somebody help me bring back the BOE system state again ? pls   :"<
    T______T

    Hi Paul,
    I hope I read your question right!
    Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
    Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
    Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
    Regards
    Rim Geurts

  • PrintMode="ActiveX" & Crystal Reports 2008

    Using CR XI.5, we were having our users print crystal reports in our .NET web application using a CrystalReportViewer and setting the PrintMode="ActiveX".
    To do this, we had to add this to our Web.Config:
    <configSections><sectionGroup name="businessObjects"><sectionGroup name="crystalReports"><section name="reportMappings" type="CrystalDecisions.Shared.ReportMappingHandler, CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/></sectionGroup></sectionGroup></configSections>
    <businessObjects><crystalReports><reportMappings><add reportName="ClassLabels.rpt" path="Reports\ClassLabels.rpt"/><add reportName="ClassStarted.rpt" path="Reports\ClassStarted.rpt"/><add reportName="ClassStatus.rpt" path="Reports\ClassStatus.rpt"/><add reportName="inactivestudents.rpt" path="Reports\inactivestudents.rpt"/><add reportName="NewClassLabels.rpt" path="Reports\NewClassLabels.rpt"/></reportMappings></crystalReports></businessObjects>
    Since we upgraded to Crystal Reports 2008 last night, we are getting errors in our app.  I tried upgrading the control Version number in the Web.Config, but I am getting an error saying it can't find CrystalDecisions.Shared.ReportMappingHandler.
    An error occurred creating the configuration section handler for businessObjects/crystalReports/reportMappings: Could not load file or assembly 'CrystalDecisions.Shared, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    After removing the above code out of the web.config, I am getting an error when trying to print from IE that says
    IE Security Warning
    Windows has blocked this software because it can't verify the publisher.
    Name: PrintControl.cab
    Publisher: Unknown Publisher
    Any ideas?  I just created a brand new app with a new crystal report and was able to recreate the error.  Thanks in advance for your help.

    We are using Visual Studio 2008 actually.
    Like I mentioned, I created a brand new app with a brand new CR 2008 report and got the error as well so I don't believe the issue to be in the actual reports.
    I installed the CRRuntime_12_0_mlb.exe from a download last week of cr120_redist_install.zip.
    When I add the code below to my Web.Config, the app builds properly and the dialog boxes load properly on my local system.
    <configSections>
            <sectionGroup name="businessObjects">
                <sectionGroup name="crystalReports">
                    <section name="reportMappings" type="CrystalDecisions.Shared.ReportMappingHandler, CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                </sectionGroup>
            </sectionGroup>
        </configSections>
        <businessObjects>
            <crystalReports>
                <reportMappings>
                    <add reportName="myreport.rpt" path="myreport.rpt"/>
                </reportMappings>
            </crystalReports>
        </businessObjects>
    But when I upload that code to my Windows 2003 server, I get the IE Script Error mentioned above.

Maybe you are looking for

  • In-Line Objects

    As a long-time Word user whose patience with Word's quirks has runout, I am quite new to Pages. I am having problems getting an object to move with the text as I edit documents. I use graphical research models to explain hypotheses. These models basc

  • IPhones Held for Ransom...  Has anyone heard of this?

    A news report from the L.A. Times. "Apple users around Australia are reporting that their mobile devices are being held for ransom by a hacker who has remotely taken control of their gadgets. Multiple users on Twitter and Apple's online forum said a

  • How to choose which playlists goes onto ipod

    I want to put songs onto my ipod but not my "music" playlist, I have a playlist that I want put onto my ipod but just not all my music, does anyone know how I can choose which playlist gets put onto my ipod? Thanks

  • How to hide bounding box over selected parts in 3d annotation?

    Please let me know if it is possible to hide bounding box over selected parts in 3d annotation?

  • Registering a new mac mini..

    what do i type in the  "Register this Mac " box