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...

Similar Messages

  • How to Pass parameters to Crystal report 10 based on Oracle Stored Procedur

    Hi,
    I use the following code to pass the parameters:
    Rep.Tables[0].ConnectBuffer := Connection_Str;
    Rep.Tables[0].AliasName := 'REP';
    Rep.Connect.Propagate := True;
    Rep.ParamFields.ByName('Lang', '').CurrentValue := IIF(BiDiMode = bdRightToLeft, '2', '1');
    Rep.ParamFields.ByName('SESSION_ID', '').CurrentValue := IntToStr(Session_id);
    Rep.WindowState := wsMaximized;
    Rep.Show;
    The 1st parameter 'Lang' which created from crystal report pass well,
    but the 2nd parameter 'SESSION_ID' which created from Oracle Stored Procedures give the following Error:
    Error: 202 Parameter Name could not be found u2013 ParamFields.ByName
    However in MS SQL Server the above code work fine with the 2 Parameters.
    Any one has solution,

    Hello,
    Click on the businessobjects Tab above and then select Samples and dowload the sample app you for your SDK. There are a few samples for changing/setting Parameters.
    The Parameter collection has all parameters.
    Thank you
    Don

  • How to setup a JNDI connection from Crystal report 12 (2008) ?

    I've CR 12 (2008)
    I've a report actually bind to datasource via DSN to a sql server.
    Now we need to migrate this connection to JDBC.
    So i downloaded microsft sql driver for jdbc and copied as
    C:\Program Files (x86)\Business Objects\Common\4.0\java/lib/external/sqljdbc4.jar
    I edited CRConfig.xml. adding this full path and file name at <Classpath>
    The parameters i entered are:
    URL: jdbc:sqlserver://10.1.2.40:1433;DatabaseName=CPR;username=selyon;password=......
    class name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    in the second page i entere my usernmae, my password and the db name,
    but when click on 'finish' CR tell me 'unable to fine JNDI driver'.
    What's the problem now

    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 ...

  • PostgreSQL ODBC connection from Crystal reports, currency domain

    Hello,
    I'm attempting to get Crystal reports working with PostgreSQL with an
    ODBC connection, via psqlODBC. I can successfully establish the
    connection easily. However, I have a domain called "currency", that
    handles currency values:
    CREATE DOMAIN currency
    AS numeric(10,2);
    ALTER DOMAIN currency OWNER TO manager;
    fields of currency appear as "strings" in Crystal reports, and they
    lack fixed precision ( the value 1.00 appears as 1, for example). Why
    might this be? How can I get it to appear as a numeric type, which I
    can find the sum of, etc?
    Thanks,
    Sternocera

    If the currency field is appearing as a string in the crystal then you can convert it to currency by creating a formula using the function CCur().
    Try creating a formula like this
    CCur({currency field})
    Now you can calcualte the sum on this formula.
    Regards,
    Raghavendra

  • How to map currecny from Crystal Reports

    Im using JRC to load and view crystal reports.ie loading crystal reports that are created (not by me) using Crystal Reports v 10. My work is just load those rpt files using JRC thick client.
    rpt files are bound to .mdb (MS Access) database and DB is password protected. One of the table in database has currency data type. I'm creating a POJO class to implement the table structure. To match with Currency type, Im using BigDecimal type in my pojo class. when i open the .rpt file in crystal report designer, it shows with default currency symbol (i.e $ and £) But the when i load the same report via JRC, It doesnot show the symbol at all.
    When I change this to String and pass symbol, it is coming up properly. But in some places, the reports use sum function of 2 curency fields. So in this case, string cannot be used.
    If not bigdecimal, then what can i use to map with currency.

    Hi ,
    We are also facing similar issues, if you found any solution please send info to kapilkashyap yahoo com.
    Regards,
    Kapil Kashyap

  • Crystal report developer 10 vs. oracle 10g

    Dear all,
    Is there any compatability between crystal report 10 and oracle 10g?
    I setup an ODBC data source connecting to oracle 10g DB which works properly in crystal report 8.5 however not working in crystal report 10.
    Am I missed something?
    Thanks,
    Rachel.

    Install Oracle client on the machine and use the Oracle Server native connection option.
    Alternatively,you may try using some other driver (OraHome or Microsoft Driver for Oracle databse) rom the available choice.
    OLEDB connection can also be tried.
    You may specify the exact error message (and at what stage you are getting it) if the above options do not work or they are not feasible for you.
    Thanks

  • How to create PDF from Crystal Report instead of CRT

    Hi
    How can we view the reports as PDF within SAP Portal (instead of viewing crt-Files with BO-iView-template)?
    I know CRs as PDF from SAP NW IdM - reports are created as PDF there.
    We use CR 2008 SP2 with SAP_BW as datasource. We'd like to view the reports in SAP Portal.
    Regards
    Kanan

    Moved to Integration Kit forum

  • How to Insert data from an XML file into an Oracle 10g table

    Hello,
    Please can you help me as I have hit a brick wall with this problem.
    We are running version 10g Oracle and we will start receiving XML files with employee data that needs loading into a table, this is the XML file:
    <?xml version="1.0"?>
    <RECRUITS>
    <RECRUIT>
    <FIRST_NAME>Gordon</FIRST_NAME>
    <LAST_NAME>Brown</LAST_NAME>
    <SHORT_NAME>GORDONBROWN</SHORT_NAME>
    <APP_NO>00002</APP_NO>
    <STATUS>M</STATUS>
    <DATE_FROM>21-JUL-2006</DATE_FROM>
    <RESOURCE_TYPE>P</RESOURCE_TYPE>
    <TITLE>Mr</TITLE>
    <DATE_OF_BIRTH>28-DEC-1983</DATE_OF_BIRTH>
    <SOCIAL_SEC>AB128456A</SOCIAL_SEC>
    <PARTTIME_PCT>1</PARTTIME_PCT>
    <SEX>M</SEX>
    <ADDRESS_TYPE>1</ADDRESS_TYPE>
    <ADDRESS>A HOUSE SOMEWHERE HERE</ADDRESS>
    <ZIP_CODE>PE3 LLL</ZIP_CODE>
    <PLACE>BOROUGH</PLACE>
    <COUNTRY_CODE>UK</COUNTRY_CODE>
    <PROVINCE>UK</PROVINCE>
    <EMAIL>[email protected]</EMAIL>
    </RECRUIT>
    (FYI - there may be more than 1 employee in each file so all of the above will be repeated X amount of times)
    </RECRUITS>
    To make things simple we have created a table which mirrors the XML file completely to load the data into, the SQL i have used is thus:
    CREATE TABLE RECRUITMENT
    FIRST_NAME VARCHAR2(30),
    LAST_NAME VARCHAR2(30),
    SHORT_NAME VARCHAR2(30),
    APP_NO NUMBER,
    STATUS VARCHAR2(1),
    DATE_FROM DATE,
    RESOURCE_TYPE VARCHAR2(1),
    TITLE VARCHAR2(4),
    DATE_OF_BIRTH DATE,
    SOCIAL_SEC VARCHAR2(9),
    PARTTIME_PCT NUMBER,
    SEX VARCHAR2(1),
    ADDRESS_TYPE VARCHAR2(1),
    ADDRESS VARCHAR2(30),
    ZIP_CODE VARCHAR2(8),
    PLACE VARCHAR2(10),
    PROVINCE VARCHAR2(3),
    EMAIL VARCHAR2(20)
    Every method we try from the numerous documents and so called "user guides" have failed, please can somebody show me the PL/SQL i need to get this files data into the above table?
    We need to be able to do this purely through SQL*PLUS as we hope - if we ever get it working manually to create a procuedure that will encapsulate everything so it can be run over and over again.
    The XML file is sitting in the XMLDIR and is called REC.XML.
    Please help : (

    Hi, I have got some material for inserting data into oracle table from xml file, this might help you.
    Create XML Document Table
    create table XML_DOCUMENT_TABLE
    FILENAME varchar2(64),
    XML_DOCUMENT XMLTYPE
    (This will be as per your record details).
    Inserting record to Oracle Table
    declare
    XML_TEXT CLOB := '<smsnotification>
                   <messageid> 256427844 </messageid>
              <protocolid> CO0NPS2KHQ </protocolid>
              <notifiedon> 1156123007416 </notifiedon>
              <status> 3PBI: Invalid </status>
    <additionalinfo> Customer account not active </additionalinfo>
    <carrierid> 1175 </carrierid>
    </smsnotification>';
    begin
    insert into XML_DOCUMENT_TABLE values ('Receipt.xml',XMLTYPE(XML_TEXT));
    end;
    Select Statement
    select extractValue(XML_DOCUMENT,'/smsnotification/messageid') Messageid,
    extractValue(XML_DOCUMENT,'/smsnotification/status') Status,
    extractValue(XML_DOCUMENT,'/smsnotification/carrierid') CarrierID
    from XML_DOCUMENT_TABLE;

  • How can i export excel 2003(Version 11) from Crystal Report 8.5

    how can i export report to excel 2003(Version 11) from Crystal Report 8.5

    We i can only see below formats
    Acrobat Format (PDF)
    Character-separated values
    Comma-separated values (CSV)
    Crystal Reports (RPT)
    Crystal Reports 7.0 (RPT)
    Data Interchange Format (DIF)
    Excel 5.0 (XLS)
    Excel 5.0 (XLS) (Extended)
    Excel 7.0 (XLS)
    Excel 7.0 (XLS) (Extended)
    Excel 8.0 (XLS)
    Excel 8.0 (XLS) (Extended)
    HTML 3.2
    HTML 4.0 (DHTML)
    Lotus 1-2-3 (WK1)
    Lotus 1-2-3 (WK3)
    Lotus 1-2-3 (WK5)
    ODBC - AddressBook
    OBDC - CRGUP
    OBDC - CROR8V36
    OBDC - CRSS
    OBDC - CRXMLV36
    ODBC - dBASE Files
    ODBC - Excel Files
    ODBC - MS Access Database
    ODBC - Visio Database Samples
    ODBC - Visual FoxPro Database
    ODBC - Visual FoxPro Tables
    OBDC - Xtreme Sample Database
    Paginated Text
    Record style (columns no spaces)
    Record style (columns with spaces)
    Report Definition
    Rich Text (Exact Format)
    Tab-separated text
    Tab-separated values
    Text
    Word for Windows document
    XML
    there is no format with "Microsoft Excel 97-2000 (XLS)"
    what should i do?

  • Error connecting to database from Crystal Report

    Hi,
    I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008
    I have a batch that generates report (via export) then this batch will send the exported report via email.
    I am encountering this error when reading report from BO Server
    Error: CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    While when trying to read the report from physical file within the server, it will give me this error
    Error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ] ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    The report is working in our SIT environment but it is not working in our UAT environment.
    I have tried the following:
    1) running the batch (that generates the report) in SIT environment to call SIT database
    Working fine
    2) running the batch (that generates the report) in SIT environment to call UAT database
    Will give the above error
    3) running the batch (that generates the report) in UAT environment to call UAT database
    Will give the above error
    4) running the batch (that generates the report) in UAT environment to call SIT database
    Working fine
    For reading report from BO Server, I have tried viewing the report directly and scheduling the report directly from BO Server and it works fine.
    Also I have tried to 'verify database' on the UAT report, but it seems it didn't solve the issue.
    Does anyone have any idea how to solve this? Or what could cause this?
    Appreciate your help.
    Thanks.

    Here's how I connect to the database
    when reading report from bo server:
    Dim enterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
                Dim enterpriseService As CrystalDecisions.Enterprise.EnterpriseService
                Dim infoObjects As CrystalDecisions.Enterprise.InfoObjects
                Dim infoObject As CrystalDecisions.Enterprise.InfoObject
                Dim infoStore As CrystalDecisions.Enterprise.InfoStore
                Dim query As String = ""
                query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_NAME LIKE '" & reportName & "'"
                'Create a session manager
                Dim sessionMgr As New CrystalDecisions.Enterprise.SessionMgr
                'Log into BusinessObjects Enterprise
                enterpriseSession = sessionMgr.Logon(cu.BOXIUser, cu.BOXIPwd, cu.BOXIServer, cu.BOXIAuthentication)
                'Create the infostore object
                enterpriseService = enterpriseSession.GetService("InfoStore")
                infoStore = New CrystalDecisions.Enterprise.InfoStore(enterpriseService)
                infoObjects = infoStore.Query(query)
                If (infoObjects.Count > 0) Then
                    infoObject = infoObjects(1)
                    crDoc.Load(infoObject, enterpriseSession)
                    crDoc.SetParameterValue("@batchID", batchID)
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
                    Dim CrPDFFormatOptions As New PdfRtfWordFormatOptions
                    Dim CrExcelFormatOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = reportFile
                    CrExportOptions = crDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = IIf(reportFormat = IAConstant.PDF, _
                                                ExportFormatType.PortableDocFormat, _
                                                IIf(FINRptFormat = IAConstant.EXCELONLY, _
                                                ExportFormatType.ExcelRecord, ExportFormatType.Excel))
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = IIf(reportFormat = IAConstant.PDF, _
                                             CrPDFFormatOptions, CrExcelFormatOptions)
                    End With
                    crDoc.Export()
                Else
                    Throw New ApplicationException(Constant.APP_ERR & " - Report not found")
                End If
    The error is thrown when trying to export --> crDoc.Export()
    The username and password are correct because it is the same username and password that the batch used to extract the data in the initial stage.
    Here's how my batch works:
    1) Extract and massage data directly from .net SP (this is working fine)
    2) Obtain the report then use the same connection string (for physical path report) or use the report connection string (for bo server report), this report is using Stored Procedure (the problem starts here)
    For reading report from bo server, I have also checked that the connection from the report itself is correct, because we can schedule/view the report from bo server successfully.
    SQL Driver, is it the SQL Native Client you are saying? It's SQL Native Client 10.
    I think we are using Business Objects Enterprise XI 3.1 Client Tools SP2 in our apps server.

  • Error While connecting  to SAP R3 from crystal reports

    Hi Experts,
    I am trying to connect to a SAP R3 from crystal reports, it gives below mentioned error.
    Logon failed.
    Details: CMALLC: rc= 27 > Connect from SAP gateway to RFC server failed
    Connect_PM GWHOST=10.11.12.13, GWSERV=SAPGW12, SYSNR= 12
    Location SAP-gateway on host xyz/sapgw12
    Error timeout during allocate
    TIME Wed Nov 18..
    Release 700
    Component SAP Gateway
    Version 2
    RC 242
    Module gwr3cpic.c
    LINE 1872
    Detail no connect of TP sapdb12 from host 10.11.12.13 after 20 sec
    COUNTER 6
    Please help me to solve this error.
    Regards,
    Ganesh

    Hi
    please ask your network admins if there is a firewall between your CR Designer installation and your SAP R/3 system.
    I assume that you have imported the necessary trsansports in your SAP R/3 system.
    Which kind of driver do you use for the connection to SAP R/3?
    Regards,
    Stratos

  • Connecting to Universe from Crystal Report XI

    Hello all,
    I am trying to connect to a Universe from my Crystal Report. I get an error "Service CDZHome not found" when I try to select the Universe datasource.
    I read elsewhere that I will need Crystal 2008 for this. I tried this with a trial version of 2008 and it does work fine.
    I came across the link below which indicates that it should work for Crystal XI also. Though there are some limitations.
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f&overridelayout=true
    We are not ready to move to Crystal 2008 yet. So I need to make it work with Crystal XI. And as per the documentation I should be able to. Any help or pointers will be much appreciated.
    Thanks,
    Sanjay

    1. Crystal report version - 11.0.0.2495
    2. BOE Server version - SAP BusinessObjects Edge Series 3.1  (Product: 12.1.0 © 2008 Business Objects)
    3. Tried with Sample universes (eFashion, Activity etc). Also tried with a universe based on SQLServer database. All of these work with Crystal 2008 Designer.
    4. Thru' the BOE explorer window in the Designer
    5. Its happening to all universes
    6. Unfortunately I don't have BOE installed on any other box. I am currently evaluating BOE for our organization.
    Thanks,
    Sanjay

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • How to disconnect the database connection using crystal report

    Post Author: cp_pramodu
    CA Forum: Crystal Reports
    Hi All,
    We have developed an application using .Net and Crystal Reports 10 for generating Adhoc reports from Business system (db sybase 12). We are using the below mentioned script for opening rpt files.
    Try
           ReportDocument1.Load(sReportName)
           For Each table In ReportDocument1.Database.Tables
                  ' Get the TableLogOnInfo object.
                  logonInfo = table.LogOnInfo
                  ' Set the server or ODBC data source name, database name,
                  ' user ID, and password.
                  logonInfo.ConnectionInfo.ServerName = sReportServerName
                  logonInfo.ConnectionInfo.DatabaseName = DBName
                  logonInfo.ConnectionInfo.UserID = UserName
                  logonInfo.ConnectionInfo.Password = Password
                  ' Apply the connection information to the table.
                 table.ApplyLogOnInfo(logonInfo)
    Next
    'Me.Cursor = Cursors.WaitCursor
    Me.CrystalReportViewer1.ReportSource = ReportDocument1
    'Me.Cursor = Cursors.Default
    Catch ex As Exception
    'Response.Write(ex.Message)
    Finally
    Me.Cursor = Cursors.Default
    'ReportDocument1.Close()
    'ReportDocument1.Dispose()
    End Try
    Each time user opens the report a new connection is established to the database, can we disconnect the connection established from crystal reports, while closing crystal report. At the same time i want to setup an Idle time for these connections. In database level, i will not be able to set idle time in database level, as it affect our electronic channels.
    Waiting for a reply.
    Thanks & Regards,
    Pramodu. C. P

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • Unable to connect to defined CMS from Crystal reports Enetrprise

    Hi all,
    I am using SAP Crystal Reports for Enterprise XI 4.0 (SP2 Patch 6). We have 2 independent Intelligence & Processing Tiers installed with their own CMS services. However, temporarily we are using only 1 common WAS Netweaver 7.3 for both CMS (when we connect to CMC/BI Launch pad we juts type different CMS name). Both of them are on same patch level, etc.
    My problem is that when I try to connect to BO Enterprise (BI 4.0) from Crystal reports, I am unable to specify to which CMS it has to connect - since it take the Server name and not the CMS name. It automatically connects me to only 1 of the CMS while there is no chance to connect to another (it might have somewhere recorded the CMS name). is there a chance to choose between those 2 CMS to which Crystal should connect?
    Thanks!
    Erik.

    Erik,
    You should specify the name of the server where BOE is installed. You can use the FQDN or even the IP address and the port name.
    Regards,
    Julian

Maybe you are looking for

  • Using Thread.sleep()

    When I put Thread.sleep() in my code, the debugger says I need to catch it. How do I do that?

  • Business Objects XI 3.1 Connection to Oracle 10

    I am new to the world of Business Objects and In Universe Designer, when I try to create an Oracle OCI connection, I get the following error: CS:DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dat

  • Dim display on Touch 300

    Hi! The display on my Touch 300 lost about 50% och it's brightness a few days ago. Is there som way to adjust the brightness? 

  • Netweaver 7.4 with Oracle

    Hi All, I'm currently trying an installation of NW 7.4 running an Oracle DB on a Linux virtual machine. I have scanned through the SMP looking for proper installation guides and software, but it seems like in can only be done if NW uses Sybase, HANA

  • Error Msg during Restore to Factory Setting

    I was performing a restore to factory settings on my imac, OSX 10.6.8. About 15-20mins into a restore it errors out saying could not complete b/c of the disc. I tried a 2nd time and it errored out again. Removed the disc, and now when I power up it g