Crystal Reports - Connecting to databases - Limit to Number of Tables?

I am using CR 2008 and attempting to build a report.  The database I created access to contains over 5000 tables in the db schema.  The list of tables presented in the GUI to build the report is just a portion of the total number of tables.  ('A' to 'O' displays alphabetically).  Is there a limit to the number of tables that can be displayed to build the contents of a report?  If so, what is the limit?  Is there a work around?

Hello,
This is by design and a limit of how CR works due to limitation in your PC resources. CR loads all of that info into memory, if there are too many to list, and typically it's more common when using Oracle due to it's ability have thousands of tables, is in the Database connection right click on the connection and then select Options. You can add filtering to limit what you see.
Only option you have to be able to get to see all tables required for your report. Don't add tables if they are not required or if you can't link them. Work arounds are to create a collection of Stored Procedures or Views so you see just what you need.
Thank you
Don

Similar Messages

  • Opening multiple reports in Crystal Reports for VS causes database connect limit to be reached.  Seems to be no way to force Crystal Reports to close database connection (other than exiting application)

    I am working on upgrading an application that has been in use for many years.  The application is written in VB6 and I have been tasked with upgrading the current application to Crystal Reports for Visual Studio.  I am using Crystal Reports for VS Version 13.0.12.1494.  The system's database is a Sybase SQL Anywhere 16 database with an ODBC connection using integrated login.  Each of the reports has the database connection set up from within the report.  There is only once database server, so each of the reports are pointing to the same DB.  The database server is currently installed as a "Personal Server" with a limit of 10 connections. 
    I have implemented the CR viewer as part of a COM-callable wrapper that exposes a COM interface for VB6 to interact with.  Inside of my viewer component is a Winform that embeds the Crystal's Report viewer.  The COM interface basically maps the basic Crystal apis to methods that the VB6 can call (i.e., Load Report, Set Field Text, Update SQL Query, etc).  This architecture is working as designed and the reports are displaying correctly and responding correctly to changes in queries, etc.
    The issue is that after I open 9 reports, the tenth one will respond with an error indicating that the database connection limit has been reached.  The database connections used by the reports aren't released until after the application is closed.  The application is designed for a secure environment that prohibits the non-administrative user from accessing the systems desktop, so asking the user tor restart the application after 10 reports isn't a viable option.
    I have checked and database connection pooling is turned off for the SQL Anywhere 16 driver.
    I have been digging on this for a few days and have tried adding code in the FormClosed event to close and dispose of the Report Document as follows:
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    reportDoc.Close();
    reportDoc.Dispose();
    GC.Collect();       // Force garbage collection on disposed items
    I have also tried the following (as well as maybe 20 or so other permutations) trying to fix the issue with no success.  
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    foreach (Table table in reportDoc.Database.Tables)
         table.Dispose();
    crystalReportViewer1.ReportSource = null;
    reportDoc.Database.Dispose();
    reportDoc.Close();
    reportDoc.Dispose();
    reportDoc = (ReportDocument)crystalReportViewer1.ReportSource;
    GC.Collect();       // Force garabe collection on disposed items
    Any ideas or suggestions would be greatly appreciated.  I have been pulling my hair out on this one!

    Hi Ludek,
    Thanks so much for the quick reply.  Unfortunately I did not have time to work on the reporting project Friday afternoon, but did a quick test this morning with some interesting results.  I'm hoping if I describe what I'm doing, you can show me the error of my ways.  This is really my first major undertaking with Crystal Reports.
    If I simply load the report, then close and dispose, I don't hit the limit of 10 files.  Note that I do not logon manually in my code as the logon parameters are all defined within the reports themselves.  The logon happens when you actually view the report.  Loading the report doesn't seem to actually log in to the DB.
    What I did was create a very simple form with a single button that creates the WinForm class which contains the Crystal Viewer.  It then loads the report, sets the ReportSource property on the CrystalReportsViewer object contained in the WInForm and shows the report. The report does show correctly, until the 10 reports limit is reached.
    The relevant code is shown below. More than I wanted to post, but i want to be as complete and unambiguous as possible. 
    This code displays the same behavior as my earlier post (after 10 reports we are unable to create another connection to the DB).
    // Initial Form that simply has a button
      public partial class SlectReport : form
            public SelectReport()
                InitializeComponent();
            private void button1_Click(object sender, EventArgs e)
                ReportDocument rd = new ReportDocument();
                ReportForm report = new ReportForm();
                try
                    rd.Load(@"Test.rpt");
                    report.ReportSource = rd;
                    report.Show();
             catch (Exception ex)
                  MessageBox.Show(ex.Message);
    // The WinForm containing the Crystal Reports Viewer
        public partial class ReportForm : Form
            public ReportForm()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
                this.crystalReportViewer1.RefreshReport();
                this.FormClosed += new FormClosedEventHandler(ReportForm_FormClosed);
            void ReportForm_FormClosed(object sender, FormClosedEventArgs e)
                ReportDocument rd;
                rd = (ReportDocument)crystalReportViewer1.ReportSource;
                rd.Close();
                rd.Dispose();
            public object ReportSource
                set { crystalReportViewer1.ReportSource = value; }
    Again, any guidance would be greatly appreciated. 

  • Crystal Reports and Access database connection error

    I had this in a different forum with no hits, so I am trying this one.
    A person that I work with has multiple reports set up that pulls from an Access database that is password protected. When we moved everything over to a new computer, those reports now say that it cannot access the fields inside the database. It never pops up with a login screen either, like it does on the old computer. I played around with the ODBC, with no luck, couldn't get anything to work. I have also tryed relinking the database, but I keep getting connection problems. We are on a network, so her settings should have all moved with the new computer. Along with the database and the reports being on the server, so they were never moved. I am thinking it has something to do with a system file.
    I also found this document on this site, but cannot find the download it mentions, sounds similar to my problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208b8fe5-681e-2b10-d2bb-b201f266d0ab
    Does anybody know how to fix this without the utility mentioned in the above link, or know where I can get the utility??
    We are using Access 2007 and Crystal Reports 7.  The database is not save as an Access 2007 database, but a regular mdb.
    Please Help!

    Post Author: ejthunder
    CA Forum: Crystal Reports
    Hello Chris,
    Crystal Reports does not store the database password with the RPT file.  This is by design (Crystal is not a database security product).  This is true of all versions of Crystal Reports.
    If your users need to see fresh data when opening the reports then they will have to log in by providing at least the password.
    You can send reports with Saved Data that won't try to hit the database, but the data won't refresh either.  To save data with the report go to the File menu and click next to Save Data with Report.  Refresh the report and then save it.  The report will now have saved data and won't try to hit the database when opened.  If the user hits the refresh button then they will get prompted to log into the database.
    I hope this helps.
    EJ

  • Cannot get  SQLQueryString from crystal report if no database connection..

    Hi,
    I am using craxdrt.dll to create a crystal report object.
    I want to get the SQLQueryString used in crystalreport even if i dont have databse connection or even database on my local computer.
    How can I do this?
    Is there any other way to do this without connecting to database?
    I just want to  read its SQLQueryString Property.
    Please Help me.
    I am in need of it.

    The Clear answer is NO, as I said, only way to get the SQL is to connect to a DB of some type.
    As a work around you can get the SQL if you have a dummy database to connect to. But you do need to know what type the report was designed off of or you take the chance of getting incorrect SQL. We can help you a bit here. Using the RDC you can get 2 DB types:
    crSQLDatabase or crStandardDatabase, first one is if the report was designed off a SQL database like
    MS SQL Server or Oracle etc and the second one is if it's based on a PC type like Access or Dbase. Although if it is PC based there may not be any SQL to get unless the PC DB supports SQL queries. If they don't then no SQL can be returned.
    Is there a specific reason why you need to get the SQL?
    Thank you
    Don

  • How to Connect crystal report with multiple databases?

    I Think my question is really clear
    I ask this because i think i already used every way logic in my head
    ConnectionInfo
    IConnectionInfo
    PropertyBag
    DataDefModel
    Etc
    i found Ludek's post about "Ras Connection Info Code" i think this will solve my case but still no luck 
    Dear Ludek i try your suggestion from here  Until the "Ras Connection Info Code" give an Error
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at CodeBuilder_RasConnectionInfo.frmRasConnectionInfo.VBConnectionCode(ReportDocument boReportDocument) in C:\Reza\Development\CodeBuilder-RasConnectionInfo\Form1.vb:line 183
       at CodeBuilder_RasConnectionInfo.frmRasConnectionInfo.btnLoadReport_Click(Object sender, EventArgs e) in C:\Reza\Development\CodeBuilder-RasConnectionInfo\Form1.vb:line 16
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    CodeBuilder-RasConnectionInfo
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Reza/Development/CodeBuilder-RasConnectionInfo/bin/Debug/CodeBuilder-RasConnectionInfo.exe
    Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Runtime.Remoting
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
    CrystalDecisions.Shared
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.0.99
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
    log4net
        Assembly Version: 1.2.10.0
        Win32 Version: 1.2.10.0
        CodeBase: file:///C:/Windows/assembly/GAC_32/log4net/1.2.10.0__692fbea5521e1304/log4net.dll
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    CustomMarshalers
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    i don't know what happen
    is there any way to solve my case??
    actually i only need 3 databases connected in my report
    in each databases i insert about 3 - 8 command
    i'm using VS2010 Ultimate
    CR Version=13.0.2000.0 (ASP.Net)
    SQL Server Standard Edition 10.50.2500.0
    and
    SQL Server Standard Edition 10.50.1600.1 to test move the datasources
    can someone give me an enlightment about my case
    every suggestion would be great
    Thanks
    Zeal

    Just as an FYI. there is a utility that will actually write the code out for you. See KBA 1553921 - Is there a utility that would help in writing database logon code?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports XI String [255] limit with the File System Data driver...

    I was trying to create a Crystal Reports XI report to return security permissions of files and folders.  I have been able to successfully connect and return data using the File System Data driver as the Data Source; however the String limit on the ACL NT Security Field is 255 characters.  The full string of data to be returned can be much longer than the 255 limit and I cannot find how to manipulate that parameter. 
    I am currently on Crystals XI and Crystal XI R2 and have applied the latest service packs but still see the issue.  My Crystal Reports Database DLL for File System data ( crdb_FileSystem.dll ) is at Product Version 11.5.10.1263.
    Is it possible to change string limits when using the File System Data driver as the Data Source?  If so, how can that be accomplished.  If not, is there another method to retrieve information with the Windows File System Data being the Data Source?  Meaning, could I reach my end game objective of reporting on the Windows ACL's with Crystal through another method?

    Hello,
    This is a known issue. Early versions you could not create folder structures longer than 255 characters. With the updates to the various OS's this is now possible but CR did not allocate the same space required.
    It's been tracked as an enhancement - ADAPT01174519 but set for a future release.
    There are likely other ways of getting the info and then putting it into an Excel file format and using that as the data source.
    I did a Google search and found this option: http://www.tomshardware.com/forum/16772-45-display-explorer-folders-tree-structure-export-excel
    There are tools out there to do this kind of thing....
    Thank you
    Don
    Note the reference to msls.exe appears to be a trojan: http://www.greatis.com/appdata/d/m/msls.exe.htm so don't install it.
    Edited by: Don Williams on Mar 19, 2010 8:45 AM

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • Crystal report addon prompt database login screen

    I'm trying to run a crystal report using crystal report add-on 1.0 from SAP, however, I always see the screen that prompts for database login when trying to generate the report.

    Dear Khuen Phan,
    Do you use correct correct connection from Crystal Report design such as OLE DB instead of using ODBC connection?
    Cheers,
    danny

  • Crystal Report Connectivity to Function module

    Hi,
    I have a crystal report which is connected to a Function module in ECC(dev). After the function module moved to Quality I could repoint the crystal database to Quality. Later, some changes were made in the function module fields (eg: change in field length etc) by the field names were kept same. now when i try to repoint the database it says field not found and the report canvas becomes blank. but I can see the fields in the field explorer.
    is there a way to correct the error?
    Thanks, Arka

    Hi Arka,
    When you open the report then log into the DB and then click on Database, Verify Database. This should update the database info and changes in the report. CR keeps track of the DB it's connecting to so if you make s changes you must Verify the database to update the info in the RPT file also. Be sure to save the report.
    Don

  • Crystal Reports 2008 with Database / Universes (BOE 3.1 SP2) Questions

    Hello
    I have a few questions related to options that i can use when i connect to a database like sql server or oracle and i cannot use these options when i connect the report from a universe.
    1) When building a Crystal report that connects to the database through a universe i cant change the option Optional Prompt from False to True this option is disabled. This does not happen when the report is constructed by connecting directly to the database, this functionality is useful when you have multiple parameters in one report.
    2) For cases of reports with multiple parameters (where you can choose more of a list available), under the scenario of the bd direct connection is possible to configure the Crystal Available Values list shows dimensions that have at least some value in Fact Table, through the choice of parameter settings, where you can indicate where you take the value and description separately.Under the scenario universe connection these options are disabled because they are based on the query of the universe, there is an alternative perhaps from the universe to achieve this behavior in Crystal?
    Thanks

    Moved to Universe Designer Forum

  • Crystal Report connecting Multple ECC systems

    Hi,
    I am working on crystal where I compare the data between to two diffrent databases(ECC tables). I am using SAP Table, function mudule option to create connection.
    I have built a main report against ECC system A and imported a sub report built on ECC system B. Now I see that connection in my main report is overwrting the connection in the sub report. If I change the connection in the subreport with set data source location it changes the connection of both sub report and main report. After I deploy this report to infoview, in cmc I see only one database connection.
    Is this a bug or can we have only one connection to ECC system per one crystal report even if it has sub reports?
    Thanks

    Yes that happens automatically, I just checked the same logic with universes built against oracle data source, I could see two coonections in the CMC. Its like its there is this issue when I am connecting to sap tables directly

  • Crystal Reports Connection Types

    I have a web server that houses a db2 database.  For those users who are not on the network, I would like users to run reports from the "cloud" (the internet).  Does anyone know how I can do that?  What connection type I can use?  Any insight would be greatly appreciated.
    TIA,
    Zack H.

    Zack,
    my team has had a bit of experience doing this and it really depends on your setup.
    1) how is your db2 database exposed to the internet when one is off of your network...is it in a DMZ or is it accessible via IP without having to use a gateway like citrix gateway?
    if it is accessible via IP have a look at the Wire Protocol drivers made by data direct.
    /people/crystalreports.team/blog/2008/08/29/datadirect-odbc-drivers-53--for-crystal-reports-2008
    2) how will your users run the reports...as Don mentioned, you have to have a method to serve up the reports first off. or they would have to have a copy of the crystal reports 2008 designer like you do and have a copy of the applicable reports.
    the other thing you can look at if you don't have a setup right now is On Demand to host the reports in the cloud
    http://www.ondemand.com/businessintelligence/
    we have a bunch of machines in a dmz which include businessobjects enterprise to serve up the reports as well as all of the database servers themselves. the reports are accessed by the end users via opendocument hyperlinks and thus secured by infoview. in our case the database itself does not have any open ports to the internet, only infoview does.
    i hope this helps out,
    jw

  • Crystal Reports Web Elements - database write back question

    Hi,
    I have a question about Web Elements. In description of them on SAP site it says they can provide "write-backs to the database". This is something I would really like to see. I have a scenario:
    User sees a long report and sometimes she needs to add a quick note that should be saved into the database. That note can be entered into WETextArea I suppose and WESubmit button click can be an event  trigger for such a write back.
    I would like to see example of such functionality on Crystal Report rpt file.
    Please advise if anybody knows, I would highly appreciate your assistance.
    Regards, Grettir

    hello,
    webelements can be used for the interface to database writebacks...they don't do the writebacks themselves but create the interface to make it easier for an end user to add annotations etc...these values are then passed to a second report or a subreport. using the default prompting interface makes this quite difficult.
    here's where the database writebacks are done...since version 9 of crystal reports there have been command objects. command objects have the ability to use any database syntax that is compliant with the database connection. i.e. if the syntax can go through the odbc layer then you can do this in a command in crystal reports.
    commands will honour database securities so you don't have to worry about someone dropping a table if rights have been properly assigned. a word of caution there to ensure that database rights have been done properly as you don't want all end users to have the ability to write a report that can do database updates.
    commands are also database specific so you would have to check your database online help to see what syntax would be appropriate.
    the workflow would be to have 2 reports, one that had the webelements user interface and one that did the writeback. this user interface report would have the text object and submit button and using open document syntax, the values would be passed to the 2nd report that had the command object. the command object would have a prompt that would take the values from the open document url and then use the values in the write back.
    for example,
    1) the user interface report has one text object called "t1" and one submit button.
    2) the target command object report has a prompt called "t1".
    3) the target report command object has syntax like
    INSERT INTO yourtestable
    VALUES    ('{?t1}')
    SELECT     1
    4) yourtesttable in this case has only one text field
    5) the "SELECT 1" at the end of the command ensures that a dummy value is returned after running the update...to avoid a database error
    6) this syntax would be for sql server
    this is of course a very simplified example.
    if you are at tech ed phoenix, please drop by the business objects test drive area & i will be there. i can show you a bunch of different webelements examples and write back reports etc. until you become quite bored
    i hope that this helps,
    jamie

  • Collation conflict with Crystal Reports & a Primavera database

    I'm new to Crystal Reports 2008 SP3; however, I'm ready to toss it out in relation to Primavera (version 7.0) data connectivity on my SQL Server - Windows 2008 R2 Standard (64-bit).
    I have finally been able to establish a connection to the database (JDBC) - after struggling to get the right driver [sqljdbc.jar] on our SQL Server.
    Now, I'm getting getting an error message relating to a COLLATION SETTING conflict:
    'Failed to retrieve data from the database. Details: SQL Exception: [SQL State:] S0009 [Error Message:] Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the INTERSECT operation. [Database Vendor Code: 468]'
    - Primavera version 7.0 default collation is SQL_Latin1_General_CP1_CI_AS
    - I have searched the web for hints to resolving this error.  Everything is pointing to the collation setting needing to be changed on the SQL Server.
    __ Now, I'm checking on how to verify and change the collation setting on the SQL Server. 
    However, I'm suspecting that there is going to be another error around-the-corner.
    It was my expectation & understanding that linking to various databases was a strong point for Crystal Reports.  I have been working with another IT peer that is successfully using Crystal Reports for Remedy (HelpDesk application).
    Has anyone experienced this situation?  (any help is greatly appreciated)
    Is there something (else) that is real obvious that I'm missing that would be ?

    Don - Thanks for the feedback
    I'm using JDBC bacuse I couldn't figure out how to use ODBC.  The JDBC driver that I'm trying to use is: sqljdbc.jar which I downloaded last week (MS SQL Service JDBC Driver 3.0 ... version 3.0.1301.101 ... date published 04/20/2010).  This driver (sqljdbc.jar) was added to the Classpath in CRConfig.xml.
    I did install Fix Pack 3.3, my laptop has Windows XP Professional 32-bit - I have JAVA version 6 Update 14 as the enable version on my computer.
    I don't understand when you say "use the MS SQL Server Native 10 as your driver" - I cannot find that by itself on the MS Download site.  I keep getting 'MS SQL Server 2008 Feature Pack August 2008' to be downloaded.  I'm guessing that this driver should already be loaded; however, I need to know the specific name to add to the Classpath in CRConfig.xml.
    __ I found an article [SQL Server Natice Client 10.0 ODBC Driver] that stated the ODBC driver is contained in the file sqlncli10.dll
      --  I searched my local harddrive (C:) and it is not found
      --  Would this be stored on SQL server itself?
      -- I'm guessing that I need to download the 'MS SQL Server 2008 Feature Pack' onto my lapttop
    Still grabbing at the air...

  • Crystal Report Connect to DB2 z/OS

    Post Author: pabhijit
    CA Forum: Data Connectivity and SQL
    Hi
    I am trying to make a DB2 connection from the crystal report interface using JDBC(JNDI).Using com.ibm.db2.jcc.DB2Driver as the database class name.
    Database  - Mainframe DB2 z/OSCrystal report version - Crystal Report 11.0Database Class name     - com.ibm.db2.jcc.DB2Driver
    Getting the below error.
    Failed to retreive data from database.Details: SQL Exception: &#91;SQL State&#93; null &#91;Error Message&#93;Invalid argument: unknown column name TABLE_NAME &#91;Database Vendor Code: -99999&#93;
    Can anyone guide what am I missing..?

    Post Author: pabhijit
    CA Forum: Data Connectivity and SQL
    Hi thanks for the response
    Well let me rephrase my issue.
    Usually when we connect to any other DBMS e.g Oracle/Sybase it downloads the schema into the crystal report interface, that makes life simpler while designing report.In my case schema is not getting download when am connection to DB2 z/OS. However I can connect to the DB2 server and can use any SELECT from Table queries from "Add Command" option.

Maybe you are looking for

  • Communication between multiple JVMs

    We have a Java toolkit that is shipped as a JAR file. The toolkit is ported from a C++ DLL running on Windows. Therefore, in both instances (Java and C++), we can't control who loads us or when. I need to communicate between different JVMs running on

  • Error while creating Query based taxonomy.

    Hi, I have created an index and trying to build a query based taxonomy though Taxonomy Query Builder in content management. Earlier I have created another index but after that I have deleted it but still while trying to build a query based taxonomy i

  • How to send "processing" message to user while working

              Here is a complete example of a servlet kicking off long-running task and displaying messages about it's progress (without creating new threads and without using JMS):           Test.java:           import java.io.*;           import java.u

  • Exception on a page with applet

    I get this exception while opening a web page which has applet. load: class StreamingApplet.RTApplet.class not found. java.lang.ClassNotFoundException: StreamingApplet.RTApplet.class      at sun.applet.AppletClassLoader.findClass(Unknown Source)     

  • Macbook pro shipping to apple store?

    When will the apple stores get their new shipments of the new macbook pro? i live in oahu, hawaii.