Crystal Reports 2008: "convert DB null values to default"

All:
Quick question on CR 2008;
Which default value will be set when you enable u201Cconvert DB null values to defaultu201D using report option in CR - based on Database default value setting or Crystal Report's?
Thanks.
Sathish.

So it is Crystal Reports settings NOT database default value settings that Crystal Reports uses, correct?
Thank you!

Similar Messages

  • Convert Database NULL Values to default

    Hi Friends,
    I have two doubts. Any help on this is appreciated -
    1. Convert Database NULL Values to default / Convert Other NULL values to default ( from File Menu -  Report Option ), can any one please tell that Default Values are the values from respective Database or Crystal Reports itself?
    2. Can anybody please provide the site - link, document covering details of Crystal Reports performance optimization?
    Thanks in advance !!
    Regards,
    Ashish B

    Hi Ashish,
    Here are the few tips to enhance the performance of Crystal Reports.
    1. While you are using subreports, always try to use on demand subreport when appropriate.
    2. If you are creating linked subreports, try to base the link on an indexed field in the subreport.
    3. If you are linking subreports with formula fields, try to keep the formula field in the main report and use a database field in the subreport.
    4. Try to create proper indexed field in database, so that the data access will be faster.
    5. Donu2019t use multiple data sources in reports. CRYSTAL REPORTS allows this situation, but it degrades performance.
    6. Try to create SQL expression fields. Since they are evaluated in database server side, so the performance can be enhanced.
    7. Always use server side processing or server side grouping. To do so, choose Database | Perform Grouping On Server from the pull down menu.
    8. Donu2019t use Crystal Reports formula languageu2019s built-in functions, such as ToText, in your selection criteria.
    9. Donu2019t base record selection on formula fields.
    There are a number of factors that affect the processing speed of reports in Crystal Reports. For more information, search for the document u2018Tips to Improving Report Processing Speedu2019 which may improve your reportu2019s performance.
    Hope it helps!!
    Regards,
    Alpana

  • Crystal reports 2008 Set optional parameter value

    Hi,
    I'm working with .net Visual Studio 2008 C# and Crystal reports 2008 (Crystal.Decisions) and when I try to set a parameter to optional and set its value to no value, it returns the error: "Invalid parameter name", here is my code:
    foreach (CrystalDecisions.Shared.ParameterField param in Report.ParameterFields)
                            if (!param.HasCurrentValue &&
                                !Report.DataDefinition.ParameterFields[param.Name].IsLinked())
                                switch (param.ParameterValueType)
                                    case ParameterValueKind.NumberParameter:                                  
                                        param.IsOptionalPrompt = true;
                                        param.CurrentValues.IsNoValue = true;                                  
                                        break;
    I'm doing this because some of the parameters can be left null, and in this case I don't want to show the parameter prompt.
    In past versions of Crystal (such as Crystal Reports 11.5) we had the chance to left the parameter value null and did not showed the parameter prompt dialog, and this behavior repeats in a lot of reports.
    thanks in advanced

    Please don't post the same question more than once. This is a public forum so be patient.
    Install SP4 and test again.
    Try these samples:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Don

  • Crystal Reports 2008 SP3 Additional parameter values are needed

    I recently upgraded to Crystal Reports 2008 SP3, and now when I try an export a report from the Crystal Reports Designer, I get the error "Additional parameter values are needed before this report can be saved or viewed with data.  Click 'Ok' to enter the missing values or 'Cancel' to proceed without data".  I am trying to export the report to Crystal Reports format.  The report is getting data from a MS SQL 2005 stored proc. I tried building a new simple report (just took all the fields in the result set and put them in the details section) using the same stored proc, and get the same error when I try to export.  
    FYI, before I try to export I always preview the data in the report, so the parameters are defiantly set correctly.
    This was working correctly in Crystal Reports 2008 SP2.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • How to set Default DateTime values in Crystal Reports 2008

    Hi All,
    I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.
    I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.
    "In CR 2008 you would set the time portion to 00:00:00 in this way:
    1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank
    2) Set this to 00:00:00
    This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."
    I found one solution in SAP forum and I have added the below lines in Record Selection formula,
    {@FromDate} = date(@CurrentDate)+time(00,00,00)
    {@ToDate} = date(@CurrentDate)+time(23,59,59)
    When I run the report, I still getting the empty values in the input parameters screen.
    Am I missing anything? Kindly help
    Thanks,
    Ramesh Kumar G.

    See the following for samples:
    Java (Crystal Reports for Eclipse) SDK - Business Intelligence (BusinessObjects) - SCN Wiki
    BusinessObjects Enterprise / SAP BusinessObjects Business Intelligence Platform 4.x Java SDK Applications
    Business Objects / BI Unmanaged Java RAS SDK Sample Applications
    Developer Help Files:
    Crystal Reports SDK
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Converting a binary string into a JPEG image in Crystal Reports 2008

    Hi Gang
    Iu2019m having problems converting a binary string into an image in Crystal Reports 2008
    I have JPEG images stored in ECC.  ECC stores the data in binary format.
    Iu2019m using the ECC function module SKWF_PHIO_CONTENT_ACCESS_GET to retrieve the data.  This function module has an export table, FILE_CONTENT_BINARY, which returns several lines of data.  Each line contains a maximum of 1,024 characters.
    When I drop the T_ FILE_CONTENT_BINARY.LINE field into my Crystal Report detail section, I wind up with a report that displays all the lines in FILE_CONTENT_BINARY table.  (in my case, 19 lines are displayed.)
    I created a formula to collect all the data into a single string.
    whileprintingrecords;
    stringvar data:= data & {SKWF_PHIO_CONTENT_ACCESS_GET.T_FILE_CONTENT_BINARY.LINE}
    I added the formula to the detail section and itu2019s doing a great job collecting the data.
    I then inserted a picture object in the report footer, opened the format editor, navigated to the u201Cpictureu201D tab, and inserted a formula for the u201Cgraphics locationu201D.
    whileprintingrecords;
    stringvar data:=data;
    data
    My clever idea turned out to be a disappointment . . . . my picture object is blank.
    Does anyone have a solution for converting a binary string into a JPEG image?

    Save the JPEG in a format CR supports. Refer to the help file for the file types.

  • Converted to Crystal Reports 2008 and now have an issue with deployment

    Post Author: lwager
    CA Forum: Deployment
    I have converted my application to Crystal reports 2008 and I have that as a prerequisite in my set up program but everytime I try to install the software package on the client's machine I get this error when it is trying to install Crystal Reports
    Verifying file integrity of C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msiWinVerifyTrust returned 0File trustedError: Setup has detected that the file 'C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msi' has changed since it was initially published.
    Does anyone know why I am getting this error?  Thanks in advance for your help.

    I'm having the same problem ! Can someone help me with this problem ????

  • Database Logon Failed which created by Crystal Report 2008

    this time i meet the famous error again which is database logon failed.
    i created a crystal report 2008 starting from blank report, then connect with odbc
    i use 2008 method
    objRpt.SetDatabaseLogon(db_username, db_password, odbc_name, database_name);
    2008 method will get database logon failed even set database location and verify database again
    then i use 8.5 method and try again for 2008 report. it said field name is unknown for one of formula
    then i drag field again for formula and set database location and verify database again
    it said the same error.
    then i uninstall 8.5 crytal report software in window 7 deployment machine, and do above again, it said the same error
    //'Create a new Stored Procedure Table to replace the reports current table.
            CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
            //'boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
            PropertyBag boMainPropertyBag = new PropertyBag();
            //'boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
            //'In the main property bag (boMainPropertyBag)
            PropertyBag boInnerPropertyBag = new PropertyBag();
            //'Set the attributes for the boInnerPropertyBag
            boInnerPropertyBag.Add("Connect Timeout", "15");
            //boInnerPropertyBag.Add("Data Source", "MyDataSource");
            boInnerPropertyBag.Add("Data Source", "10.1.1.191");
            boInnerPropertyBag.Add("DataTypeCompatibility", "0");
            boInnerPropertyBag.Add("General Timeout", "0");
            //boInnerPropertyBag.Add("Initial Catalog", "MyCatalog");
            boInnerPropertyBag.Add("Initial Catalog", database_name);
            boInnerPropertyBag.Add("Integrated Security", "False");
            boInnerPropertyBag.Add("Locale Identifier", "1033");
            boInnerPropertyBag.Add("MARS Connection", "0");
            //boInnerPropertyBag.Add("OLE DB Services", "-5");
            //boInnerPropertyBag.Add("ODBC", "-5");
            boInnerPropertyBag.Add("ODBC", "Cheque");
            boInnerPropertyBag.Add("Provider", "SQLNCLI");
            boInnerPropertyBag.Add("Tag with column collation when possible", "0");
            boInnerPropertyBag.Add("Trust Server Certificate", "0");
            boInnerPropertyBag.Add("Use Encryption for Data", "0");
            //'Set the attributes for the boMainPropertyBag
            boMainPropertyBag.Add("Database DLL", "crdb_ado.dll");
            //boMainPropertyBag.Add("Database DLL", "p2sodbc.dll");
            //boMainPropertyBag.Add("QE_DatabaseName", "VEPILOT");
            boMainPropertyBag.Add("QE_DatabaseName", database_name);
            //boMainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
            boMainPropertyBag.Add("QE_DatabaseType", "ODBC");
            //'Add the QE_LogonProperties we set in the boInnerPropertyBag Object
            boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
            boMainPropertyBag.Add("QE_ServerDescription", "MyServer");
            boMainPropertyBag.Add("QE_SQLDB", "True");
            boMainPropertyBag.Add("SSO Enabled", "False");
            //'Create a new ConnectionInfo object
            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
            //'Pass the database properties to a connection info object
            boConnectionInfo.Attributes = boMainPropertyBag;
            //'Set the connection kind
            boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
            //'*EDIT* Set the User Name and Password if required.
            boConnectionInfo.UserName = db_username;
            boConnectionInfo.Password = db_password;
            //'Pass the connection information to the table
            boTable.ConnectionInfo = boConnectionInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables = objRpt.ReportClientDocument.DatabaseController.Database.Tables;
                CrystalDecisions.CrystalReports.Engine.Tables tables = objRpt.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    if (!string.IsNullOrEmpty(table.Name))
                        //boTable.Name = table.Name;
                        //boTable.QualifiedName = database_name + ".dbo." + table.Name;
                        //boTable.Alias = table.Name;
                        boTable.Name = "sp_ChequeIssueDetRpt";
                        boTable.QualifiedName = database_name + ".dbo.sp_ChequeIssueDetRpt";
                        boTable.Alias = "sp_ChequeIssueDetRpt";
                        objRpt.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                objRpt.VerifyDatabase();
    http://sourceforge.net/projects/aspchequesprint/files/ChequeIssueDet.rpt/download

    No subreport, only a stored procedure with final two lines are
    print @m_sql
    exec (@m_sql)
    After use generated code in the link above
    Error at boReportDocument.VerifyDatabase();
    Inner Exception : no error
    Message "Logon failed"
    ErrorID : CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    HelpLink : null
    stacktrace :  CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()\r\n   at viewReport.Page_Load(Object sender, EventArgs e) 於 d:
    Data
    My Documents
    Visual Studio 2008
    WebSites
    Cheques
    viewReport.aspx.cs: row 1302\r\n   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n   at System.Web.UI.Control.OnLoad(EventArgs e)\r\n   at System.Web.UI.Control.LoadRecursive()\r\n   於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    TargetSite : {Void VerifyDatabase()}
    string reportPath = report_path + "ChequeIssueDet.rpt";
                boReportDocument = new ReportDocument();
                //**EDIT** Change the path and report name to the report you want to change.
                boReportDocument.Load(reportPath, OpenReportMethod.OpenReportByTempCopy);
                //Create a new Stored Procedure Table to replace the reports current table.
                CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable =
                new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
                //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
                PropertyBag boMainPropertyBag = new PropertyBag();
                //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
                //In the main property bag (boMainPropertyBag)
                PropertyBag boInnerPropertyBag = new PropertyBag();
                //Set the attributes for the boInnerPropertyBag
                boInnerPropertyBag.Add("Database", database_name);
                boInnerPropertyBag.Add("DSN", "Cheque");
                boInnerPropertyBag.Add("UseDSNProperties", "False");
                //Set the attributes for the boMainPropertyBag
                boMainPropertyBag.Add("Database DLL", "crdb_odbc.dll");
                boMainPropertyBag.Add("QE_DatabaseName", database_name);
                boMainPropertyBag.Add("QE_DatabaseType", "ODBC (RDO)");
                //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "Cheque");
                boMainPropertyBag.Add("QE_SQLDB", "True");
                boMainPropertyBag.Add("SSO Enabled", "False");
                //Create a new ConnectionInfo object
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
                new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
                //Pass the database properties to a connection info object
                boConnectionInfo.Attributes = boMainPropertyBag;
                //Set the connection kind
                boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
                //**EDIT** Set the User Name and Password if required.
                boConnectionInfo.UserName = db_username;
                boConnectionInfo.Password = db_password;
                //Pass the connection information to the table
                boTable.ConnectionInfo = boConnectionInfo;
                //Get the Database Tables Collection for your report
                CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
                boTables = boReportDocument.ReportClientDocument.DatabaseController.Database.Tables;
                //For each table in the report:
                // - Set the Table Name properties.
                // - Set the table location in the report to use the new modified table
                boTable.Name = "sp_ChequeIssueDetRpt;1";
                boTable.QualifiedName = database_name+".dbo.sp_ChequeIssueDetRpt;1";
                boTable.Alias = "sp_ChequeIssueDetRpt;1";
                boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                //Verify the database after adding substituting the new table.
                //To ensure that the table updates properly when adding Command tables or Stored Procedures.
                boReportDocument.VerifyDatabase();
                //**EDIT** Set the value for the Stored Procedure parameters.
                string m_curUser = "";
                int spid = Convert.ToInt32(Request.Cookies["login_cookie"]["spid"]);
                queryString = "select * from v_All_Session where SPID=" + spid.ToString();
                //string _connectionString = ConfigurationManager.ConnectionStrings["ChequeConnectionString"].ConnectionString;
                using (SqlConnection connection = new SqlConnection(_connectionString))
                    SqlCommand command = connection.CreateCommand();
                    command.CommandText = queryString;
                    connection.Open();
                    using (SqlDataReader datareader = command.ExecuteReader())
                        if (datareader.HasRows == true)
                            while (datareader.Read())
                                if (datareader["UserID"] != System.DBNull.Value)
                                    m_curUser = datareader["UserID"].ToString();
                        datareader.Close();
                    connection.Close();
                boReportDocument.SetParameterValue("@UserID", m_curUser);
                if (string.IsNullOrEmpty(Session["fm_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@fm_CoCode", Session["fm_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["to_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@to_CoCode", Session["to_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BankACNo", Session["fm_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BankACNo", Session["to_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BatchNo", Session["fm_BatchNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BatchNo", Session["to_BatchNo"].ToString());
    Edited by: Mathew_666 on Jul 19, 2011 4:27 AM
    Edited by: Mathew_666 on Jul 19, 2011 4:28 AM

  • 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

  • For PrintControl.cab in crystal reports 2008 How can i configure Web.config in VS2005

    hi,  Now i am using crystal report 2008 evalution  with VS2005. In my ASP.net Application Viewiing reports using Crystalreportviewer PrintMode=ActiveX (not in PDF).If i am trying to print using Printcontrol.cab..in the client machine the activeX control is not installing in client. Its works good with crystal report bundle with 2005. with crystal report 2008 its not working. I want to know how i configuer web.config and others. Help me Pls.
    Instead of these code
    <configSections>
      <sectionGroup name="businessObjects">
        <sectionGroup name="crystalReports">
          <section name="printControl" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />
        </sectionGroup>
      </sectionGroup>
    </configSections>
    <businessObjects>
      <crystalReports>
        <printControl>
          <add key="url" value="http://myserver/PrintControl.cab" />
        </printControl>
      </crystalReports>
    </businessObjects>
    new version=??? Publictokenkey=?????
    Thank u in advance

    The workstation machine needs to be logged in as someone with administrative access.

  • Crystal Reports 2008 - passing a parameter in the Command Object

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

  • Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5

    Hello,
    My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports.  As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
    The issue is that the runtime engine incorrectly returns the report selection formula.  I have included sample code showing what I mean.
    To reproduce;
    1. Create a simple report that has a date range filter like: 
      ({Orders.Order_Date} >= {?START_DATE})  
      AND ({Orders.Order_Date} <= {?END_DATE})
    2. Create a test app as follow that loads a report using the following code:
    ReportDocument rpt = null;
    try
      rpt = new ReportDocument();
      rpt.Load("TestReport.rpt");
      this.txtMessage.Text = string.Format(
        "ReportSelectionFormula:{0}{1}",
         Environment.NewLine,
      rpt.RecordSelectionFormula);
    catch (Exception ex)     
      this.txtMessage.Text = ex.ToString();     
    3.  Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
    4.  Execute the app.
    At this stage, the screen shows
    ReportSelectionFormula:
    (   (  NOT  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  NOT  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    The expected value is:
    ReportSelectionFormula:
    (   (  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected. 
    Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack?  Is there a Fix Pack expected to be released soon?  It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
    Thank you.
    -Carlos.

    Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]

  • Crystal Reports 2008 - Changing Table Locations

    Hello,
    we have several reports which we use by different customers. The customers use different name spaces (table locations) for the same data. To use the same reports with different table locations, we wrote a piece of software replacing the connection strings and table locations. 
    Example:
    A report should be used in a test environment as well as in a production environment:
      The original SQL is (using a DB2 database on a AS400):
        SELECT alias.name FROM as400.production.users alias
      The modified SQL looks like:
        SELECT alias.name FROM as400.test.users alias
    Up to now we used Crystal XI and developed using RDC. We solved the above described problem by reading the report SQL string, replacing the table location in this string and assigned it back to the report object. Modifying the SQL string has the advantage that it works fine also for reports which contain a SQL command.
    Since Crystal Reports 2008 this is not possible anymore (no RDC, no direct way to modify the report SQL string).
    My first approach was to use the CrystalDecisions.CrystalReports.Engine.Table object. First I just wanted to see what really was the content of the Location and Name property:
    for (int i = 0; i < rdReport.Database.Tables.Count; ++i)
      Table rt = rdReport.Database.Tables<i>;
      Console.WriteLine("Table Nr : {0}", i);                   
      Console.WriteLine("  Table Loc  : {0}", rt.Location);
      Console.WriteLine("  Table Name : {0}", rt.Name);
    My problem with this is that the output for the report with the SQL in the above example is:
    Table Nr: 0
      Table Loc : users
      Table Name: alias
    So obviously not the real table location and table name is returned, but instead the table name for the table location and the alias for the table name. Unsurprisingly setting the location had not the originally desired effect.
    Furthermore if the report was designed using a SQL command, the location and in the name property contain the string COMMAND. Therefore the table object doesn't seems to be the solution to my problem.
    Thanks to the help of a user in this forum here, I figured out how to read the SQL string of a report. Unfortunately I did not found a way to assign it back to the report.
    Has anybody here an idea how to solve my problem? I'm open for every kind of hint.
    Thanks in advance,
    Ron

    My solution looks like this:
    ReportDocument rdReport = new ReportDocument();                   
    rdReport.Load(sReportName, OpenReportMethod.OpenReportByTempCopy);
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rcDocument = rdReport.ReportClientDocument;                   
    for (int i = 0; i < rdReport.Database.Tables.Count; ++i)
        CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable rctTable = rcDocument.DataDefController.Database.Tables<i>;
        if (rctTable.ClassName == "CrystalReports.CommandTable")
            Console.WriteLine("Processing CommandTable {0}",rctTable.Name);
            Console.WriteLine("  Old Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  Old Alias:          {0}\n" , rctTable.Alias);
            CrystalDecisions.ReportAppServer.DataDefModel.CommandTable tbOldCmd = (CrystalDecisions.ReportAppServer.DataDefModel.CommandTable) rctTable;
            CrystalDecisions.ReportAppServer.DataDefModel.CommandTable tbNewCmd = new CrystalDecisions.ReportAppServer.DataDefModel.CommandTable();
            tbNewCmd.Name = tbOldCmd.Name;
            tbNewCmd.Alias = tbOldCmd.Alias;
            tbNewCmd.CommandText = sNewSql;
            tbNewCmd.ConnectionInfo = tbOldCmd.ConnectionInfo.Clone(true);
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbAttr = tbNewCmd.ConnectionInfo.Attributes;
            // set dlls
            pbAttr["Database DLL"] = "crdb_ado.dll";
            pbAttr["QE_DatabaseName"] = "NL67S021OUD";
            pbAttr["QE_DatabaseType"] = "OLE DB (ADO)";
            pbAttr["QE_ServerDescription"] = "192.0.5.24";
            pbAttr["QE_SQLDB"] = "True";
            pbAttr["SSO Enabled"] = "False";
            // set connection string                  
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbLogOnProp = (CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag)pbAttr[sAttrLogOnProp];
            pbLogOnProp.RemoveAll();
            // strangely comma seperated values instead of semicolon seperated values are needed here
            pbLogOnProp.FromString("Provider=IBMDA400,Data Source=" + sServerName + ",Initial Catalog=" + sDBName + ",User ID=" + sUserId + ",Password=" + sPwd + ",Convert Date Time To Char=TRUE,Catalog Library List=,Cursor Sensitivity=3");
            tbNewCmd.ConnectionInfo.UserName = sUserId;
            tbNewCmd.ConnectionInfo.Password = sPwd;
            rcDocument.DatabaseController.SetTableLocation(tbOldCmd, tbNewCmd);                           
        else
            Console.WriteLine("Processing Table {0}",rctTable.Name);                           
            Console.WriteLine("  Old Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  Old Alias:          {0}\n", rctTable.Alias);
            CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable rctNew = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
            rctNew.Name = rctTable.Name;
            rctNew.Alias = rctTable.Alias;
            rctNew.QualifiedName = sDBName + ".V41TSTDBF.CRGUOPF";
            rctNew.ConnectionInfo = rctTable.ConnectionInfo.Clone(true);
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbAttr = rctNew.ConnectionInfo.Attributes;
            // set dlls
            pbAttr["Database DLL"] = "crdb_ado.dll";
            pbAttr["QE_DatabaseName"] = "NL67S021OUD";
            pbAttr["QE_DatabaseType"] = "OLE DB (ADO)";
            pbAttr["QE_ServerDescription"] = "192.0.5.24";
            pbAttr["QE_SQLDB"] = "True";
            pbAttr["SSO Enabled"] = "False";
            // set connection string                  
            CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag pbLogOnProp = (CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag) pbAttr[sAttrLogOnProp];
            pbLogOnProp.RemoveAll();
            // strangely comma seperated values instead of semicolon seperated values are needed here
            pbLogOnProp.FromString("Provider=IBMDA400,Data Source=" + sServerName + ",Initial Catalog=" + sDBName + ",User ID=" + sUserId + ",Password=" + sPwd + ",Convert Date Time To Char=TRUE,Catalog Library List=,Cursor Sensitivity=3");
            rctNew.ConnectionInfo.UserName = sUserId;
            rctNew.ConnectionInfo.Password = sPwd;                         
            rcDocument.DatabaseController.SetTableLocation(rctTable, rctNew);
            Console.WriteLine("  New Qualified Name: {0}", rctTable.QualifiedName);
            Console.WriteLine("  New Alias:          {0}\n", rctTable.Alias);
    Console.WriteLine("\nSetting parameter {0} to value {1}", rdReport.ParameterFields[0].Name, iDataId);
    rdReport.SetParameterValue(0, iDataId);
    Console.WriteLine("\nShow SQL: ");
    CrystalDecisions.ReportAppServer.Controllers.RowsetController rsController;
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rdClient = rdReport.ReportClientDocument;
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRGroupPath rdGroupPath = new CrystalDecisions.ReportAppServer.DataDefModel.GroupPath();
    string temp;
    string sql;
    rsController = rdClient.RowsetController;
    sql = rsController.GetSQLStatement(rdGroupPath, out temp);
    Console.WriteLine(sql);
    Console.WriteLine("Printing");
    PageMargins pmMargins = rdReport.PrintOptions.PageMargins;
    pmMargins.bottomMargin = 350;
    pmMargins.leftMargin = 350;
    pmMargins.rightMargin = 350;
    pmMargins.topMargin = 350;
    rdReport.PrintOptions.ApplyPageMargins(pmMargins);
    rdReport.PrintOptions.PrinterName = sPrinterName;
    rdReport.PrintToPrinter(1,     // copies
                            false, // collated
                            0,     // start page
                            0);   // end page
    rdReport.Close();
    Regards,
    Ron

  • Error while dynamically setting logo image in Crystal Report 2008

    Hi,
    We have embedded Crystal Report 2008 JRC in our web application which is an Enterprise Archive (EAR) deployed on WebSphere Application Server.
    The RPT files bundulled in the archive displays a logo which is dynamicalli picked up by the RPT files from a configured location. Due to this the Report generation crashes when travesed to the sub reports/ groups within RPT. We have observed that this problem never occures if the logo is hard coded within the RPT files.
    The report crashing causes another big problem, it crashes the Applciation Server too. This is major concern to us and we need a resolution to this problem.
    Thanks in advance
    Alok Potdar

    FULL Stack Trace is as follows. We have not pasted in our earlier post...............
    3XMTHREADINFO      "WebContainer : 4" (TID:0x16AAE100, sys_thread_t:0x14B1F114, state:R, native ID:0x000015F4) prio=5
    4XESTACKTRACE          at sun/awt/color/CMM.cmmLoadProfile(Native Method)
    4XESTACKTRACE          at java/awt/color/ICC_Profile.getInstance(ICC_Profile.java:784)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.setImageData(JPEGImageReader.java:630)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readImageHeader(Native Method)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readNativeHeader(JPEGImageReader.java:588)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.checkTablesOnly(JPEGImageReader.java:343)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.gotoImage(JPEGImageReader.java:465)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.getImageMetadata(JPEGImageReader.java:885)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.a(SourceFile:896)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.if(SourceFile:873)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/JavaImage.do(SourceFile:183)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/CrystalImage.createImage(SourceFile:50)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.new(SourceFile:101)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.<init>(SourceFile:71)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedReportObject.a(SourceFile:148(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/w.for(SourceFile:105(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:428(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:250(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.a(SourceFile:887(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.e(SourceFile:784(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.for(SourceFile:242(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:243(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:210(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:185(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:230(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:503(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:452(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:369(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ah.a(SourceFile:70(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ReportColumnFormatter.a(SourceFile:86(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.a(SourceFile:332(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.for(SourceFile:177)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.do(SourceFile:727)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.formatPage(SourceFile:226)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/requesthandler/ReportViewingRequestHandler.byte(SourceFile:219)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.do(SourceFile:1909(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.if(SourceFile:661(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.a(SourceFile:167(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.a(SourceFile:529(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.call(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/common/ThreadGuard.syncExecute(SourceFile:95(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.for(SourceFile:525(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.int(SourceFile:424(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.request(SourceFile:352(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.a(SourceFile:54(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.execute(SourceFile:67(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent$a.execute(SourceFile:716(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/CommunicationChannel.a(SourceFile:117(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent.a(SourceFile:537(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ds.a(SourceFile:186(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.a(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.getPage(SourceFile:767)
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/AdvancedReportSource.getPage(SourceFile:324)
    4XESTACKTRACE          at com/crystaldecisions/reports/reportengineinterface/JPEReportSource.getPage(SourceFile:149)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:158)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:127)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bt.a(SourceFile:47)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bw.broadcast(SourceFile:93(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/report/web/event/am.a(SourceFile:53)
    4XESTACKTRACE          at com/businessobjects/report/web/a/t.if(SourceFile:2104)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:300)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:202)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:135)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.a(SourceFile:607)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.processHttpRequest(SourceFile:342)
    4XESTACKTRACE          at com/ibm/_jsp/_CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
    4XESTACKTRACE          at com/ibm/ws/jsp/runtime/HttpJspBase.service(HttpJspBase.java:87)
    4XESTACKTRACE          at javax/servlet/http/HttpServlet.service(HttpServlet.java:856(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1143(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:591(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:481(Compiled Code))
    4XESTACKTRACE          at com/ibm/wsspi/webcontainer/servlet/GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    4XESTACKTRACE          at com/ibm/ws/jsp/webcontainerext/AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/CacheServletWrapper.handleRequest(CacheServletWrapper.java:90(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/WebContainer.handleRequest(WebContainer.java:748(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/WebContainer.handleRequest(WebContainer.java:1466(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/channel/WCChannelLink.ready(WCChannelLink.java:119(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleNewInformation(HttpInboundLink.java:387(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpICLReadCallback.complete(HttpICLReadCallback.java:102(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/tcp/channel/impl/AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:143(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncFuture.completed(AsyncFuture.java:136(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.complete(ResultHandler.java:196(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.runEventProcessingLoop(ResultHandler.java:751(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler$2.run(ResultHandler.java:881(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1473(Compiled Code))
    NULL          
    1XMTHDINFO     All Thread Details
    NULL           -
    NULL

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

Maybe you are looking for

  • SharePoint Online video - Lightbox

    Greetings, I have some videos in a document library(Asset library) that I am looking to show using a jQuery Lightbox instead of using the standard VideoPlayer.aspx page, by retrieving a bunch of links from a SharePoint list using JSOM. My intention i

  • Calling an exe using web.show_document

    hi all, I want to call acrobat.exe using web.show_document. The exe is in my local system. Client_host('C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe c:\sql.pdf'); I want to replace this with web.show_document How can i achieve this?? thx in

  • How to Reverse Carry Forward Balances

    Dear Friends, Please let me know how to reverse carry forward balances for customers? there is some difference in carry fwd balances how to make adjustments. Thanks in advance. Regards, JD

  • Grouping  windows to bring to the front

    I am curious if anyone knows a way to link or group the windows of certain applications to appear, say when only ONE of the applications is selected(clicked) from the dock. part of me got very used to virtual windows on unix based systems. i am tryin

  • Best Way to Print multiples in CS4

    Ok, I have been hating this for a long time, so thought there might be a better way to do it. I frequently get a list from my boss of a bunch of photos to print 4x6 (Epson R1900) there might be 10 or 100 different photos. Most of the time, I don't ne