Report fails to generate on Crystal Reports Server

Post Author: cmilkosk
CA Forum: General
Hello all!
I have a case open with BO on generating a report from a Crystal Reports Server (CRS).  The report works fine when running in Crystal Reports on my PC, but after I send it to the Crystal Reports Server, it fails with a message like:"Failed to open the connection.
C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\metrixdb.reportjobserver\~tmp9bc512965895e0.rpt"This error appears to be telling you that it is trying to connect to
the CRS's reportjobserver process and having a problem, but the service is up according to the Central Config Manager. I tried starting and stopping it, but it didn't make a difference.  This happens for different reports sent to the server.  One common thing that I've noticed is that the reports that connect to the CRS's local SQL Server 2005 database are the ones that are failing.  So, my CRS resides on the same host as the SQL Server 2005 database (which also houses the CRS SQL DB).  Interestingly, reports scheduled that connect to a remote SQL Server 2000 database work fine.  It could be the simplest report that I am running off of the CRS/SQL Server 2005 host, and it still fails every time. Tech support so far hasn't been much of a help. They suggested that I upgrade my Crystal Reports software on my PC to R2, but that didn't fix the problem.Has anyone had any trouble like this before?  If so, have you found out what the cause was?I'm beginning to wonder if it is related to SQL Server 2005 or potentially just that it is connecting to a local database.Note - my CRS's software version appears to be 11.5.3.438.  I'm not sure if I am running CRS R1 or R2 (how can you tell?).Anyone have any ideas?Thanks,Chris

Post Author: cmilkosk
CA Forum: General
Anyone have any ideas?  Tech Support doesn't seem to be helping much. Chris

Similar Messages

  • "Load report failed" after upgrading to Crystal Report for VS 2010

    I switched to Visual Studio 2010 few months ago. Today, I needed to update my Crystal Report reports, so I installed the Crystal Report for Visual Studio 2010 on my local server. I updated my reports and it works fine on my local server.
    On my remote server, I installed the Crystal Report runtime engine for Framework 4.0 (note that my project use the framework 3.5) and published my project. But now I got the following error when I want to create a report "Load report failed". I double-checked the path of my report and its permissions (note that it was working before the update).
    Am I missing a step ?
    Thanks for your help.
    Edited by: David1111_ on Mar 1, 2011 6:08 PM
    Edited by: David1111_ on Mar 1, 2011 6:09 PM

    Googling 'FILE LOCKED WITH ONLY READERS' I came up with the following:
    http://forum.sysinternals.com/topic21378.html
    So, no, that does not appear to be the issue.
    However my assertion - given that the correct dlls are loading - is still that either the report is not there (do you see it loaded in Process Monitor?) or the process has no access to either the actual rpt or the temp files that the print engine creates. Those really are the only reasons for report load errors.
    This being a web app, try a simple win app - as a test. All you need is the viewer and CrystalreportViewer1.ReportSource = <path to report> (use a saved data report). Compile, throw the exe on the server. Run. What happens there?
    - Ludek

  • 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

  • Cannot Extract Embedded Font in PDF Report Generated Using Crystal Reports XI

    The issue is that sometimes the PDF reports generated by Crystal Report XI are not showing the fonts properly. Arial font is used in the Crystal report template(.rpt file) for field label and data elements. When the report is opened in Adobe Reader, it displays the message - "Cannot extract the embedded font 'AAAAAA+ArialBold'. some characters may not display or print correctly." Other PDF Readers like Foxit show blank spaces instead. I tried to change the font to Courier New, Times New Roman etc but still getting the same message.
    The issue is consistent when the application is deployed in Windows server. When deployed in Unix server the issue happens very occasionally. The font files are available and installed in the UNIX box.
    Please tell me why this error message is shown and also tell me how to get it fixed.

    Hi Scot
    Just replied to your email re. conf call.
    In the meantime.
    1st question.  
        Some of our developers are creating the reports under crystal 2008, while some are 2011.
        Could this be a problem, when they are run by the SDK?
        Should we upgrade all our developers to crystal 2011?
    The version of CR a report is created in should not matter at all. I am 100% certain this is not the issue.
    2nd question
        When the report is run, to create the pdf... why would it actually embed the font on the pdf?
        if they weren't embedded.. wouldn't it just pull up the proper font, if the user's pc had that font on their
        pc?
        if it does the common fonts aren't embedded, we would just have to worry about the things like
        barcode 3 of 9
    I can not answer this as that essentially is the way the product is designed. It may look like a limitation, but there are no work-arounds and I would not consider this to be a bug. Perhaps an enhancement, but a pretty faint hope there. And even if, enhancements take very, very low priority and take long, long time before implementation.
    3rd question
        Would the fonts, just need to be installed on the server?   we've seen some indication, that they
        also need to be in a java sub-directory
    The fonts must be on the server as that is where the report engine does it's work, then the report is streamed to the user's browser. E.g.; there is no work done on the browser. Also, the process must have rights to access the fonts.
    One last point. You mention deployment to Linux. Linux is not supported. Please see: SAP Crystal Reports, Developer Version for Microsoft Visual Studio - Supported Platforms
    I suspect this is more an issue with CR not working with the framework for Linux.
    - Ludek

  • Failed to Install the Crystal Reports 2008

    Post Author: cechow
    CA Forum: Crystal Reports
    Hi,
    I am facing some error message when installing the Crystal Reports 2008 that I have purchased. I am currently working on a Windows XP Pro SP2, 1 GB RAM, 60 GD Free Space to install the Crystal Reports but failed. The error stated on the Crystal Reports installation screen is "Crystal Reports 2008 Setup has Failed".
    Thanks.
    Adrian

    Post Author: cechow
    CA Forum: Crystal Reports
    Basic Template
    Product: Crystal Report 2008
    Version:
    Patches Applied: I'm not sure what patches need to be installed
    Operating System(s): Windows XP Professional SP2
    Database(s): SQL Server 2000 sp3a
    Error Messages:  Failed to INstall the Crystal Reports 2008.Steps to Reproduce: When I entered the CR disc in the CD ROM, there was no auto-run, then i decided to browse into the CD and execute the Setup.exe which then prompt the error above. Please advise.Is there some Pre-requisites that I need to install, any JRE or some other application?

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports for Eclipse vs. Crystal Reports Developer

    We are developing a Java web application for internal use.  Since we have some people at the company who are familiar with Crystal Reports, we'd like to have them write reports that we can display through our application.  Crystal Reports Server seems like overkill for this project, but the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/JRC_SDK/">JRC</a> sounded like a good fit.
    I have been evaluating <a href="http://www.businessobjects.com/products/reporting/crystalreports/developer/default.asp">Crystal Reports Developer</a> and trying out the <a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp">JRC samples</a>.  The samples don't use the tag library.  Instead, they show how to set session variables and redirect to a viewer JSP which contains a bunch of Java code to use the CrystalReportViewer.
    The samples are so much more complex than the code created by Crystal Reports for Eclipse, which simply uses the tag library:
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName="myreport-viewer" reportSourceVar="myreport" isOwnPage="true">
    <crviewer:report reportName="myreport.rpt" />
    </crviewer:viewer>
    I assume that I should be able to use the same tag library approach without using Crystal Reports for Eclipse, but I haven't seen any tutorials on it.  I'm trying to understand whether I should purchase Crystal Reports for Eclipse instead of Crystal Reports Developer.
    This is the difference, as I understand it:
    Crystal Reports Developer gives you the stand-alone Crystal Reports Designer and the right to run the JRC on an internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.40434600">$595</a>.
    Crystal Reports for Eclipse Standard provides a free report designer built into Eclipse.  It also includes the JRC for use on an internal server.
    Crystal Reports for Eclipse Professional provides "a more powerful runtime engine" with the right to run it on one internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.52068100">$495</a>.  Is this the same JRC provided with Crystal Reports Developer?
    If the "powerful" JRC is the same as Crystal Reports Developer's JRC, could I install Crystal Reports for Eclipse Standard to take advantage of the Eclipse integration and the built-in designer, but use the more powerful JRC from Crystal Reports Developer, which would also give me the stand-alone designer?

    <p>Hi there,</p><p>     If you are planning on deploying a JRC application then you should definitely be using Crystal Reports for Eclipse for your runtime engine. It is the latest version of the JRC and includes many updates not available in Crystal Reports Developer.</p><p>As for "power" the JRC included in CR Developer is on par with the JRC available in the Basic edition of Crystal Reports for Eclipse. The Professional edition of Crystal Reports for Eclipse provides the most powerful version of the JRC available.</p><p>With the release of Crystal Reports for Eclipse, Business Objects is setting the groundwork for separating Developer needs from the Report Author needs.</p><p>A professional report author will require a professional report design tool. For these users we are recommending that they purchase Crystal Reports Professional.</p><p>The developer, on the other hand, generally needs the SDKs and a toolkit to assist with building applications. We believe that these should be available at no cost to the developer, only charging when the application is deployed (in this case a CR4E Pro license). This is different from the current model with Crystal Reports Developer where we have combined a professional report designer plus the required runtime.</p><p>So, to summarize, definitely use Crystal Reports for Eclipse for your application runtime and have your report authors puchase Crystal Reports Professional. If you need a more powerful engine, access to technical support or plan to deploy on multiple servers then I would recommend purchasing the Crystal Reports for Eclipse Professional license for your development purposes.</p><p>As for some tutorials on creating viewer pages, the integration in Eclipse provides a very simple way of accomplishing this. I would suggest reading the section titled "<strong>Creating a New Viewer Page</strong>" in our Getting Started Guide found at the following URL:</p><p><a href="/node/320"><strong> http://diamond.businessobjects.com/node/320</strong></a></p><p>Let me know if you have some follow-up questions. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><strong><br /><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>           </p>

  • 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]

  • PDF Export Output in Crystal Reports Developer 10 vs. Crystal Reports Developer XI

    <p>Hi -- First post here, so forgive newbish behavior (at least for today)</p><p>Quick question:</p><p>Why does my output differ (margins and image size) for the same report exported to PDF via Crystal Reports Developer 10 vs. Crystal Reports Developer XI?  It&#39;s the same report with the same data and same design.  When XI is compared to 10, the output in XI seems to remove an extra 1/4-inch on the left, right, top, and bottom margins and makes my images shrink by about a factor of 25%.</p><p>While not the end of the world, it would be nice to get an explanation as to why this happens.</p><p>Thanks in advance,</p><p>Amasis</p>

     I personally haven't noticed that myself but I'm sure it will have been reported to Customer Care if it's a more persistent issue. Have you tried looking this up in the Knowledge Base?
        - Kathryn Webster (Report Design Consultant)Â
               Kat&#39;s News: http://diamond.businessobjects.com/blog/279

  • Crystal Reports XI (11.0) vs Crystal Reports XI R2 (11.5)

    Are there documented difference or compatability issues between Crystal Reports 11.0 components and Crystal Reports 11.5 components?  We are using Crystal Reports XI 11.0 Professional edition, and we have an integrated 3rd party software that has compatability concernts with our version of Crystal XI 11.0. 
    We are wondering if there is any documented component incompatabilities between the compontents of 11.5, and 11.0.  The 3rd party software company states that they are using 11.5 components.
    Thank you for your time.  I am a first time poster, and appreciate any assistance given.

    Hello,
    1st XI R2 is still supported and you can upgrade to R2 for free. Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Once you get it installed go to the keycode page and request an XI R2 keycode to enable all functionality.
    Check the Businessobjects tab above for more info on the differences.
    Thank you
    Don

  • How to avoid the parameters accepting screen generated by crystal report

    Hi ,
    I designed one rpt file which will take one parameter and trying to run that file from java servlets. But I am getting one problem. I am passing parameters from jsp and setting those to the crystal report but, instade of generating the report, it is generating one jsp page which is having text feild , after enter the parameter value onece I submit this page then only I am getting required output.
    anybody please help me in this. Below I am placing my code.     
                   ReportClientDocument reportClientDocument = new ReportClientDocument();
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   ServletContext cxt = req.getSession().getServletContext();
                   String fileName = "C:/Documents and Settings/Administrator/Desktop/lib-so/ix_sample2.rpt";
                   try
                        String realPath = fileName;
                        reportClientDocument.open(realPath, 0);
                        viewer.refresh();
                        viewer.setReportSource(reportClientDocument.getReportSource());
                   catch(Exception e)
                        System.out.println("inside catch block...");
                        e.printStackTrace();
                   IReportSource reportSource = reportClientDocument.getReportSource();
                   Fields oFields = new Fields();  
                   ParameterField portfolio = new ParameterField();
                   portfolio.setName("Portfolio");
                    Values oValues = new Values();
                      ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
                       oParameterFieldDiscreteValue.setValue(new Integer(16));
                       oValues.add(oParameterFieldDiscreteValue);
                       portfolio.setCurrentValues(oValues);
                       portfolio.setReportName(fileName);
                       oFields.add(portfolio);
                          viewer.setOwnPage(false);
                               viewer.setParameterFields(fi);
                       try {
                             viewer.processHttpRequest(req, res, cxt, res.getWriter());
                             viewer.dispose();
                       catch (ReportSDKExceptionBase e) {
                             e.printStackTrace();
    thanks,
    Mallikarjun
    Edited by: mallikarjuna.ch1 on May 17, 2009 9:58 AM

    Thanks a lot for worthful suggetion Neeraj.
    I got resolved my problem. I have one more issue, please give a clarification about that.
    my doublt is,
    For parameterized rpt file running purpose I need to set the database details . every jar file is placed in application lib only. And my CRConfig.xml file also placed bellow.
                  <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <timeout>1</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GCPT0-0JY1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>D:\inventex\crystal_report\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>$</Classpath>
         <IORFileLocation>$</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
         <JVMMaxHeap>64000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:sqlserver://10.0.0.65:1433;DatabaseName=reportmanager</JDBCURL>
         <JDBCClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</JDBCClassName>
         <JDBCUserName>malli</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    still it is showing "Error finding JNDI name (sql server) " error. I am solving this problem setting these paramers through program.

  • Drop down boxes ok in Crystal Reports but not ok in Crystal Reports Server

    I have the following problem with "dynamic dropdowns"
    Initially, I have a Crystal Report (.rpt).  It has two dynamic drop downs. They work
    in both Crystal Reports Designer (preview)  and Crystal Reports Server (right-click-View).
    The first drop down is the result of a rather complex sql query. The second drop down
    is a child of the first.
    I make a small change to the sql "WHERE" clause using the Crystal Reports Designer. It works fine in preview.
    I save (Enterprise mode) to Crystal Server. I use Business View Manager to configure
    the _DC_n object.  (I did notice that the .._DC_n gets incremented by one.)
    The _DF object seems to know about the updated sql so I do not have change it.
    However, when I go to back to Crystal Reports Server, and right-click-View, the
    "dynamic dropdown" is not working properly.  I can not make sense
    of what has been retrieved.
    Please tell me what is most likely to have gone wrong here?  The Business View Manager
    seemed to knew about the sql change. But Crystal Reports Server has
    not responded to the change in the same way as Crystal Reports Designer.
                       ...thank you, Stan

    When you publish a report to Crystal Server, the dynamic prompts are no longer handled in the report itself.  Instead depending on how they're published, they either go away or they're published to the "repository" and managed through the "Business View Manager" (BVM), which is available as part of the Client Tools install.
    To get the dynamic prompt into the repository, you have to check the "Enable Repository Refresh" checkbox at the bottom of the "Save As" screen after you log in to CRS.  However, doing it this way is NOT best practice, especially if you're using the query from the report to provide the data for the prompt.  If you do this for all of your reports, you get a LOT of bloat in the repository objects and it makes the job of migrating from one version of CRS to another MUCH more difficult!
    What I've done in the past to get a simple "sample" prompt published is create a report that just contains the data that I want to have in the dynamic parameter using a single table - this is usually what I call a "lookup" table that has a "code" field and a "description" or "name" field.  I then create a dynamic parameter in that report that just pulls the data from the single table.  I'll publish the report to my favorites with the Repository Refresh enabled.
    I then run the BVM and look for the following objects (default location is under "Cascading Dynamic Prompts":
    <prompt name>_DC - This is the Data Connection for the prompt.  Edit this, enter the password, and set it to "Never Prompt" for the password.  NOTE:  This DC can be reused by multiple prompts.  If you continue to add prompts through publishing Crystal Reports with prompts, you will get MANY of  these that all point to the same database!
    <prompt name>_DF - This is the Data Foundation for the prompts.  When you create a new one, you need to select an existing DC and then either one or more tables or write a command to provide the data for your prompt.  It works much like the Database Explorer in Crystal.  The one that was just saved has all of the information required for the prompt.
    <prompt name>_BE - This is the Business Element.  When you create one, you have to select and existing DF and one or more fields.  You can also create a filter on the data.  This is used to generate the SQL that will be run to provide the data for the prompt.
    <prompt name>_ BV - This is the Business View.  When you create one, you have to select the Business Element.  I'm not sure of the exact purpose of this, but you have to have one in order to set up the "List of Values".
    <prompt name> - This is the List of Values (LOV).  This defines what fields are available for the prompt itself.
    You can create folders to organize these objects so that its easier to maintain.
    To use a LOV that you've defined in BVM to feed data to new dynamic prompts, do the following:
    1.  Connect to CRS from Crystal.
    2.  Create/Edit your prompt.
    3.  Set the prompt to be dynamic.
    4.  Under "Choose a Data Source", select "Existing" and select the LOV from the drop-down list.
    5.  Update the properties in the parameter.
    When viewing or scheduling a report, the dynamic prompts will run through the Crystal Reports 2013 Report Application Server in CRS (it will be named differently if you're not on CRS 2013, but will have "Report Application Server" in the name.)
    -Dell

  • Logon failed. Details: mscorlib (Crystal report error during print &export)

    Hi,
    I'm encountering the problem that the crystal report is working fine in the staging server I developed.
    However, after I transported to live server the report having problems when printing and exporting.
    Below is the error message prompts to me.
    Logon failed. Details: mscorlib : Could not find file 'C:\Inetpub\wwwroot\rptPrintSummaryConfineSpace.xml'. Error in File C:\WINDOWS\TEMP\rptPrintSummaryConfineSpace {2D72226E-816A-4D9B-BF93-C9077001F09C}.rpt: Unable to connect: incorrect log on parameters.
    I hit this error when I click OK button on export or print option page.
    My temp folder at windows is given full permission for IIS_WPG and ASPUSER.
    Please help to resolve my problem thank you very much.

    What version of Crystal Reports?
    What CR Service Pack are you on?
    What is the database?
    How are you connecting to the databse (ODBC, OLE DB, etc.)?
    - Ludek

Maybe you are looking for

  • Purchase Order Interface Error

    Can any body help me out to resolve the issue. After inserting in the PO interface tables (PO_HEADERS_INTERFACE , PO_LINES_INTERFACE, PO_DISTRIBUTIONS_INTERFACE ) when I run request ( Import Standard Purchase Orders) following error occured. And no e

  • Adobe Form Fields to database (either Excel or Access)

    i have a pdf form created from adobe acrobat XI pro that works perfectly.  When submitted, it emails directly to me, which I manually add to a database file stored in Excel.  I'm trying to find a simple way to have the data automatically added to an

  • Problème installation et configuration d'un système d'acquisition de donnée sous MAX

    Bonjour, je suis un nouveau utilisateur de labview ( version d'évaluation 2010). J'ai téléchargé sur ni.com des exercices et le troisième exercice me fait utiliser MAX (Measurement & Automation Explorer v4.7) Il est écrit qu'aprè avoir lancé MAX :

  • HT4859 how do i get my storage out of icloud and back into my ipad

    how do I get my  ibrary games & photo's out of Icloud on my Ipad back into my restored Ipad

  • Report for WT & GL

    Hello Experts, One query......... Do we have any report from which we can fetch the details of Wage types assign against the GL ????? Like which  GL account is assign to which Wage type? Regards,