Unable to close JDBC connection in crystal reports

Hi,
I have configured crystal reports to use a connection acquired from a datasource created in weblogic server to generate a report. I was hoping that by calling ReportClientDocument.close() i would be closing the connected used to generate the report but that doesnot seem to be the case. I run into a situation where all my connections from the connection pool are being held by the reports and therefore get an exception in the application.
Can anyome please let me know if calling ReportClientDocument.close()  will ensure that the database connection used for generating the report is closed? If no, please let me know what needs to be done in the code to ensure that a connection acquired for generating a report is closed.
Thanks in advance
VAMSI

Hi Sanjay,
Once connected right click on the connection an try adding filtering. Check off all except Tables and if you still don't see anything try adding table filtering to see if they show up now.
Thank you
Don

Similar Messages

  • How to close database connections in Crystal Reports

    I am using the following code to connect to database. I can either pass JNDIName or I can provide values for others by leaving JNDI name empty.
    If i use JNDI name, it will use a connection from the connection pool of App Server (in my case Weblogic), but it is not releasing the connection after use. Connection remains even if I logoff from the application. If i keep my max connections as 15 in weblogic, after clicking the page with crystal report 15 times all will remain active and users will not be able to login to the application.
    If i use connectionString and others without using JNDI Name, it directly connects to database. So it creates a connection in database server directly without using connection pool of weblogic. If i check weblogic, it shows no connection in use as expected, but if i check database, i can see the no. of connections increasing everytime a user clicks a crystal report page.
    When the connection touches the maximum allowed connection in server, every application using the same server goes down
    How can I close the connection which was created for the viewing the report?
    String reportName = "/reports/BankBalance.rpt";
    ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
    if (clientDoc == null)
             clientDoc = new ReportClientDocument();
             clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
            // Open report
            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
           String connectString = ""; // jdbc:sybase:Tds:DBSERVERNAME:9812/DBNAME?ServiceName=DBNAME
           String driverName = "";    // com.sybase.jdbc3.jdbc.SybDriver
           String JNDIName = "DS_APP";
           String userName = "";
           String password = "";
           // Switch all tables on the main report and sub reports
           CRJavaHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
         // logon to database
          CRJavaHelper.logonDataSource(clientDoc, userName, password);
    // Store the report document in session
    session.setAttribute(reportName, clientDoc);
                   // Create the CrystalReportViewer object
                          CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
         String reportSourceSessionKey = reportName+"ReportSource";
         Object reportSource = session.getAttribute(reportSourceSessionKey);
         if (reportSource == null)
              reportSource = clientDoc.getReportSource();
              session.setAttribute(reportSourceSessionKey, reportSource);
         //     set the reportsource property of the viewer
         crystalReportPageViewer.setReportSource(reportSource);
         crystalReportPageViewer.setHasRefreshButton(true);
         crystalReportPageViewer.setToolPanelViewType(CrToolPanelViewTypeEnum.none);
         // Process the report
         crystalReportPageViewer.processHttpRequest(request, response, application, null);

    the sample shows how to clear RAS and Enterprise resources after viewing report.
    1. If you use unmanaged RAS - as I can see you using setReportAppServer, then remove the enterprise related stuff : instantiating and cleaning code.
    The sample code is meant to give you an idea on how you can release the resources after done with viewing report. In your case all you need to do for cleaning is call close() on ReportDocumentObject. The sample will need to be modified for your requirements.

  • Jdbc Connection And Crystal Reports

    Hi there;
       A tipical jdbc connection , that i found in my "googles" was something like this;
          PropertyBag connInfoProperties = new PropertyBag();
          connInfoProperties.putBooleanValue("Trusted_Connection", false);
          connInfoProperties.put("PreQEServerName", SERVICE);
          connInfoProperties.put("Server Type", "Oracle Server");
          connInfoProperties.put("Database DLL", "crdb_oracle.dll");
          connInfoProperties.put("ServerName", "");
          connInfoProperties.put("Server", SERVICE);
       And so - one .....
    But What I'm looking for is some thing is about passing one connection aready stabilished ; I mean , I want to prepare my connection envirorment before I pass it to crystal;
    Some thing like this connection "getConnection" result function; how can i pass it into crystal report?
    final class GetConnection {
      /** Uses JNDI and Datasource (preferred style).   */
      static Connection getJNDIConnection(){
        String DATASOURCE_CONTEXT = "java:comp/env/jdbc/blah";
        Connection result = null;
        try {
          Context initialContext = new InitialContext();
          if ( initialContext == null){
            log("JNDI problem. Cannot get InitialContext.");
          DataSource datasource = (DataSource)initialContext.lookup(DATASOURCE_CONTEXT);
          if (datasource != null) {
            result = datasource.getConnection();
          else {
            log("Failed to lookup datasource.");
        catch ( NamingException ex ) {
          log("Cannot get connection: " + ex);
        catch(SQLException ex){
          log("Cannot get connection: " + ex);
        return result;

    //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("File Path ", @"C:\CrystalReports\sc.xml");
                boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
                //Set the attributes for the boMainPropertyBag
                boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
                boMainPropertyBag.Add("QE_DatabaseName", "");
                boMainPropertyBag.Add("QE_DatabaseType", "");
                //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
                boMainPropertyBag.Add("QE_SQLDB", "False");
                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 = "";
                boConnectionInfo.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 = rptClientDoc.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 = "Orders";
                boTable.QualifiedName = "Orders";
                boTable.Alias = "Orders";
                rptClientDoc.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.
                rptClientDoc.VerifyDatabase();
                MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    You'll have to adjust for your driver.
    Thank you
    Don

  • Connecting to crystal report via JDBC

    Hi,
    I am new to Crystal Reports. I want to connect to MSSQL Database using JDBC drivers. I was wondering if there is a way I can use JDBC drivers for connection with Crystal Reports when designing the report ? 
    Thanks
    Sherif

    Hi Sheriff,
    I am not aware of CR 9 as it is out of support. But in CRXIR2 and CR2008 you can simply do it while creating new report. In the wizard you just need to select JDBC(JNDI) option under Create new connection.
    After that just specify the connection url and JDBC class name.
    I would suggest you to upgrade your product to CR2008 as it has excellent new features which would realy help you with the same.
    Regards,
    Nilesh Benke

  • Has anyone Connected a Crystal Report directly to a Microsoft Project file (MPP)?

    Post Author: Brian Morris
    CA Forum: Data Connectivity and SQL
    Iu2019m aware I can save Microsoft Project Files (MPP) to an Access Database, Excel document etc. and there are ways to connect to a Microsoft Project Server.
    I wanted to know if anyone has managed to connect directly to one though. Currently we use MPPs to report project status and other deliverables, and itu2019s been an annoyance to have to save the project file then export the data over into a new excel document when ever we have changes (since not all users have project or need all the data in the file).
    Preferably, a user should be able to save that project file and anyone that has the Crystal report should be able to run the report against the MPP file. In addition to this, it would be extremely helpful in getting a formalized and nicely formatted report when running reports against rational and MMP files, thus giving an alternative from SODA reports in Microsoft word, which doesnu2019t always work well.
    Thanks!

    Post Author: Brian Morris
    CA Forum: Data Connectivity and SQL
    Ok, I answered my own question on the connection issue, but I'm having issues with the predefined fields that enter into the report. The Database Expert shows the correct table names, but when I select them and look at the fields, they are all showing fields that are part of the "Project" table. when I use "Add Command" and use SQL to do a "Select * From TableName" ,where TableName is the name of the respective table, I get the data I'm looking for. Has anyone else run into this error? Is the error on Crystal Reports side or the Data provider's OLE DB driver? Has anyone with a fully patched system encountered the same errors?
    Current SetupCrystal Version: 11.0.0.1282CR Professional; Product Type:FullOLE DB Driver: Microsoft Project 10.0 OLE DB Provider
    I have pasted my findings below, hopefully other people won't have the same issues I did trying to find this information. if anyone else wants to test and see if they get the same issues I did it would be greatly appreciated.
    Connecting a Crystal Report XI to a Microsoft Project File (MPP)
    Prerequisites (as I know them)
    -          Have an installation of Crystal Reports on the machine (a given)
    -          Have Microsoft Project 2000/2003 installed OR  the Microsoft Project OLE DB provider which is installed with Microsoft Project (NOTE: Microsoft 2007 supposedly no longer supports OLE DB and requires an OLAP cube be made or a SOAP connection be used, which I donu2019t deal with personally)
    Creating the connection
    Start Crystal Reports
    Click u201CBlank Reportu201D on the start page
    in the u201CDatabase Expertu201D window, under u201CAvailable Data Sourcesu201D, Select u201C+u201D next to u201CCreate New Connectionu201D
    Select the u201C+u201D beside u201COLE DB(ADO)u201D
    If a u201COLE DB (ADO)u201D  window does not come up, double click u201CMake New Connectionu201D 
    In the u201Cprovider:u201D box Select the u201CMicrosoft Project 10.0 OLE DB Provideru201D
    The name may be different depending on the version of project you install and the patch you have on the machine
    Select u201CNext >u201D
    Under u201CDatabase:u201D copy/paste in the path and project file name
    I donu2019t believe the other fields u201CData Source:u201D, u201CUser ID:u201D, or u201CPasswordu201D need to be filled out, and in fact, I got an error when entering in data into them
    Example: u201CC:\Projects\Project Name\Current Schedule.mppu201D
    Select u201CNext >u201D
    In the Advaned information window, verify the project Name is the path of the project.
    I have not found the use of u201CEnterprise Modeu201D (default: 0), u201CAlways Loadu201D (default: 0), u201COLE DB Servicesu201D(default: -5), or u201CEnterprise RUID Listu201D (default: blank), removing them or changing them did cause errors though.
    Click u201CFinishu201D
    Adding in Tables and extracting data
    You now have a connection to the project File you listed. There is an issue Iu2019ve found though that all the tables you see listed are filling their fields in from the u201CProjectu201D Table, rather then their respective tables (Example: u201CAssignmentsu201D is pointing at u201CProjectu201D rather then the obvious connection u201CAssignmentsu201D). You can, however, use the u201CAdd Commandu201D and select the table you want with just a little SQL code:
    Select *
    From Assignments
    After creating the command, highlight it and hit u201CF2u201D. You should be able to edit the name and change it from u201CCommandu201D to something more meaningful. At the current time Iu2019m unsure if the issue with the default tables all pointing toward the project table is an error on the provider side or Crystal Reports end, and if one of the new patches will fix it. I will update this document accordingly when I have more information and do more testing. I will note however, there is no way to change which table these preset fields point to.
    Thank you for your time.

  • Why we need ABAP if we can connect With Crystal Reports to SAP R/3

    Hi,
        I am new to Crystal reports.I came to know that we can connect SAP R/3 by using SAP InfoSet,SAP Table Cluster and Function connectivity in Crystal Reports.So we can generate reports for SAP R/3 database with out need of ABAP.So why we need to go ABAP module.Is there any disadvantages if we dont use ABAP to generate reports or we can use always Crystal Reports to generate Reports for R/3 database?

    Hi,
    it is correct that you can built a Crystal Report without the need to use ABAP, but we have lots of customers that have invested over the years into ABAP Routines and Crystal REports is able to leverage those as well. So with Crystal Reports you have the choice to leverage existing ABAP Functions as a source for reporting - which might help to leverage complex processing on the backend - or to use InfoSets and tables.
    regards
    Ingo

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • Connection between Crystal Report and SAP ECC

    Hi. can you help me please.
    I'm testing the connection between Crystal Report and SAP ECC. I tried using the tables,
    but by making the links between foreign keys does not bring data. The other way I tried was using an ABAP function module,
    but using this way, Crystal will only works like a Presentation Layer because all the work was did it in ABAP;
    besides that shows the limitation that I can not pass as input a table.
    what is the best practice for reporting on SAP ECC using Crystal Report?
    Thanks.

    Hi,
    Crystal Reports is able to leverage tables, ABAP functions, SAP query and InfoSets.
    what is the issue when using the tables ?
    ingo

  • How do we create a jndi connection in crystal reports XI

    how do we create a jndi connection in crystal reports XI when the data soiurce is configured on websphere 6.1

    You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
    As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
    If you are still having issues then post another message.
    Geoff

  • Database Connector Error when I connect SAP Crystal Report to dbase

    When I connect SAP Crystal Report to dbase the error is "Database Connector Error", only when exist a field the type memo. I need to used this type of field, somebody that known how can I resolve this problem or some idea?
    Thanks a lot for your help.

    Hi,
    there are sevaral SAP Notes for your problem. Can you specify the databaseof the source?
    i.e. MS SQL Server -> Note 1212769
          dbase -> Note 1209347
    regards
    -Phil

  • SAP B1 Closes when Running the Crystal Report

    Hi SAP Expert,
    I have a problem during running the customized report i've created in Crystal. I created a stored procedure please see my code below. The Crystal Report is running during development but when i exported to SAP B1 and run the report. The SAP Business One will terminated. Any help please...
    CREATE PROCEDURE [dbo].[SP_ACTUALPURCHASESV3]
         -- Add the parameters for the stored procedure here
         @FROM DATETIME,
         @TO DATETIME
    AS
    BEGIN
         SET NOCOUNT ON;
         SET @FROM = CAST(CAST(MONTH(@FROM) AS NVARCHAR) + '/' +
                        CAST(DAY(@FROM) AS NVARCHAR) + '/' +
                        CAST(YEAR(@FROM) AS NVARCHAR) + ' 00:00:00:000' AS DATETIME)
         SET @TO = CAST(CAST(MONTH(@TO) AS NVARCHAR) + '/' +
                        CAST(DAY(@TO) AS NVARCHAR) + '/' +
                        CAST(YEAR(@TO) AS NVARCHAR) + ' 23:59:59:000' AS DATETIME)
         SELECT
              (SELECT DocEntry FROM OPOR WHERE OPOR.DocNum = PDN1.BaseRef) as  PODocentry,
              PDN1.BaseRef AS PONum,
              OPDN.DocEntry,
              OPDN.DocNum,
              OPDN.DocType,
              (select ocrd.lictradnum from ocrd where ocrd.cardcode = opdn.CardCode) as LicTradNum,
              OPDN.CardCode,
              OPDN.CardName,
              OPDN.DocDate,
              CASE WHEN PDN1.WhsCode IS NULL THEN PDN1.AcctCode ELSE PDN1.WhsCode END AS WhsCode,
              CASE WHEN PDN1.WhsCode IS NULL THEN (SELECT OACT.AcctName FROM OACT WHERE OACT.AcctCode = PDN1.AcctCode) ELSE (select OWHS.WhsName from OWHS where OWHS.WhsCode = PDN1.WhsCode) END AS WhsName,
              CASE WHEN PDN1.ItemCode IS NULL THEN 'N/A' ELSE PDN1.ItemCode END AS ITEMCODE,
              PDN1.Dscription,
              PDN1.Quantity,
              PDN1.unitMsr,
              PDN1.Price,
              PDN1.PriceBefDi,
              PDN1.PriceAfVAT,
              CRD4.WTCode,
              OWHT.RATE,
              (case when pdn1.quantity > 0 then (pdn1.Price * pdn1.Quantity) else PDN1.Price end ) * (OWHT.rate/100) as EWTVALUE
         FROM OPDN JOIN PDN1 ON OPDN.DOCENTRY = PDN1.DOCENTRY left join CRD4 on OPDN.CardCode = CRD4.CardCode left join OWHT on OWHT.WTCode = CRD4.WTCode
         WHERE OPDN.DocDate BETWEEN @FROM AND @TO  and OPDN.CANCELED = 'N'
         --WHERE OPDN.DocNum = 2542
         ORDER BY OPDN.DocDate
    END

    Hi,
    Does it means we are allowed to create stored Procedure inside the Company Database. We only use selecting and joining tables and somehow some complex sql procedures to meet our requirements.
    Thanks, but my question is if there's nothing wrong with it why my SAP B1 Closes when previewing the Crystal Report. Im running on Windows 7 64-bit, i will not imagine that the capacity of memory of my Terminal Unit is not enough because my memory is 8GB. I run crystal report but it shows the record, but when running the Cystal Viewer inside SAP B1 it illegally terminated.
    Thanks for clarifying the creation of Stored Procedure.
    Ben

  • Crystal Reports's JRC. How to close JDBC connection?

    Hi!
    I have simple CR JRC application under Oracle AS 10.1.2.0.2, made from Crystal's sample codes.
    It works fine, but there is little problem: after closing vievwer's page JDBC connections stays alive.
    How can I close them?
    Here is my 2 jsp:
    ---------- Page1.jsp -----------------
    "<%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="com.crystaldecisions.reports.sdk.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%
    // open the report rpt file
    String REPORT_NAME = "directs_q_d1.rpt";
    String Login =request.getParameter("p1");
    String Password =request.getParameter("p2");
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(REPORT_NAME, 0);
    reportClientDoc.getDatabaseController().logon(Login,Password);
    ParameterFieldController paramFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue("", "reportname", new String("DIRECTS_QUARTERLY"));
    session.setAttribute("reportSource", reportClientDoc.getReportSource());
    reportClientDoc.close();
    response.sendRedirect("CrystalReportViewer.jsp");
    %>
    and
    ----------- CrystalReportViewer.jsp ------------------------
    <%//Crystal Report Viewer imports.%>
    <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page import="com.crystaldecisions.reports.sdk.*" %>
    <%
    //Refer to the Viewers SDK in the Java Developer Documentation for more information on using the CrystalReportViewer
    //API.
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setHasRefreshButton(false);
    viewer.setEnableDrillDown(false);
    viewer.setDisplayGroupTree(false);
    viewer.setHasToggleGroupTreeButton(false);
    viewer.setHasViewList(false);
    viewer.setHasLogo(false);
    //Get the report source object that this viewer will be displaying.
    Object reportSource = session.getAttribute("reportSource");
    viewer.setReportSource(reportSource);
    //Render the report.
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    viewer.dispose();
    %>
    -------------------------------------

    Oh, i'm sorry :) It was a "time-out" tag in CRconfig.xml. Tipic closed.

  • How to configure jdbc/jndi connection in crystal report 10

    Post Author: effy
    CA Forum: Data Connectivity and SQL
    i have tried to configure jdbc/jndi connection , i have both
    drivers  data base side and  crystal report side but i
    can't  configure it.  so please help if u know
    something. 

    Sorry, but I'm not on a home pc, I'm working on a virtualized pc with a long chain of permissions ... so I cannot simply download and run an utility...
    Instead... I think (I WAS thinking) someone from SAP can tell me this info ... Probably I'll buy a paid assistance ticket... But really it's a strange thing that a simply connection from a (so) paid software need a so difficult problem solving routine..
    I edited my environment variales: JAVA, PATH; CLASSPATH; JAVA_DIR, and a long list of others ... to ALL point to ALL of directory containing used jars...
    .. I asked my SysAdmin to edit CrConfig.xml and it's done ... classpath are rights, jdbc infos are also ok, ...
    .. but none ...

  • Unable to Access BI InfoSet in Crystal Reports using SAP Info sets driver

    Hi,
    I am looking to develop a report on top of BI InfoSet in Crystal Reports. However using the the SAP InfoSets driver I am only able to visualize 'Classic InfoSet' and 'SAP Query'. It does not show the option to import the regular InfoSet as a datasource. I am unable to access the InfoSet built by the db join on InfoCubes that is available in SAP BW System.
    Can anybody help.
    Thanks,
    Amogh

    Hi all,
    i know this discussion is abaout 2 years old, but i faced a similar problem. I try to get access to the regular InfoSets (SQ02) within a direct connection between SAP and Crystal Reports. Which components and tools did i need to get a connection?
    look here: http://scn.sap.com/thread/3365060
    Thanx for your help!
    Best Regards
    David

  • Can I pass username & password in JDBC URL in Crystal Reports 2008?

    Hi,
    I tried to put this URL in the CRConfig.xml file : jdbc:postgresql://hostname:5432/db_name?user=user_name&password=pw
    Without the user and password parameters, it works fine but I always have to enter the database information when I create a new report or refresh an existing report.
    With the parameters, when I create a new report, if I click on "Create new connection", Crystal Reports freezes. If I click on the connection in "My connections", then I get an "Invalid argument" error message.
    How can I configure the database information so that I don't always need to enter it manually?
    Thanks,
    Marianne

    Hi Marianne,
    We don't recommended you do that. The text is in the clear so anyone could use your log on info. You may be able to add your user name to the Report by editing the connection properties from the Set Location dialog box but to add your password would give anyone who opened your report your log on info.
    And the info would be passed to the DB over the network in the clear so someone could hack your info.
    Thank you
    Don

Maybe you are looking for

  • My imported AVI file doesn't play audio in Premiere Pro CS5 nor Encore CS5

    Hi there, I've been trying to find a solution for my "audio" problem for a few days now, but no luck... First of all I'd like to mention that I work on a Mac. I have an AVI file that plays perfectly fine in Quicktime (audio and video). However, when

  • How to get Main meters and Sub meters in sap isu

    Hi, I have a requirement to collect number of main meters that linked with submeters. Can anyone suggest me a table where i can get the main meters and submeters list. Scenario : A Premise may consist of more that one installation of same division. O

  • HAVING ISSUE WITH BOSE SPEAKERS

    3.5mm jack seems to be defective on the back of my Desk Top Imac Can the port be changed at the apple stores without leaving the computer

  • How to embed mpg files?

    Hi How would I embed large (~300MB) mpeg files into a Director presentation to be played off DVD? I have a menu screen and when each menu option is clicked it goes to a frame which has the embedded movie in it. As I posted earlier, this really slows

  • Does anybody have "4MOT/1/40000002: Left_Middle-Front" in AHT?

    Apple Support could not tell me what this error means. I don't experience anything wrong (except the idle whine) with my MPB but I am concerned if this error could harm my device! Does anybody know more about this! Maybe it is because of the firmware