Get error when passing a server name to Crystal Report

I am developing a desktop application using VS 2012 with CRforVS_13_0_9 and CRRuntime_64bit_13_0_10 installed.  The database is SQL Server 2012 Express.  I use SQL OLEDB in Crystal Report to connect the SQL database.  Here is part of the codes.
Dim crTableLogoninfo As New TableLogOnInfo
Dim crConnectionInfo As New ConnectionInfo
Dim crTables As Tables
Dim crTable As Table
With crConnectionInfo
.ServerName = Login.sServer
.DatabaseName = Login.sDatabase
.UserID = Login.sDBUserID
.Password = Login.sDBPassword
End With
Try
crTables = CReport.Database.Tables
For Each crTable In crTables
crTableLogoninfo = crTable.LogOnInfo
crTableLogoninfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crTableLogoninfo)
Next
CrystalReportViewer1.ReportSource = Nothing
CrystalReportViewer1.ReportSource = CReport
I get an error "Failed to open connection -- Database vendor code 17" when I run a Crystal Reports through my application.  The problem is Crystal Reports does not like the server name which is passed.  The purpose for passing a server name is to connect to different server if needed.  I am not 100% sure the error occurs after VS 2012 or SQL Server 2012 express was updated.
Any ideas how I can fix this problem?
Thanks,
John

Hi John
First, you want to check the error code in your database documentation. The error is being passed from the db client through the report engine totally unmodified. Googling the error will also be a good idea.
And, seeing as you are using SQL Server 2012, make absolutely sure that the SQL Native 11 client is installed.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Get error when preview marketing documents by using crystal report layout

    Hi experts,
    I want to switch to using Crystal Report for marketing documents layout.  I have import Sales Quotation u2013 Generic (CR) layout which provided by XX-1.2.b1p package. I can preview added records but it doesn't work on drafting documents and saved drafts. The system prompt u201CThe system cannot find the path specifiedu201D and u201CObject reference not set to an instance of an objectu201D. On the same server, it was working fine in our other company database. I don't think this is the problem of database location setting in Crystal Report.  Can anyone give me advices, thanks!
    Regards,
    Ivan

    Hi! Rahul,
    Thank you for your reply first. Your method doesn't work in my case.  Can you tell me the steps of creating a new layout for added records and draft documents.  I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
    1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
    2. Insert "CardName" field to report > Create DocKey@ parameter and  set it equal to DocEntry in select expert record function
    3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
    Regards,
    Ivan

  • Get error when passing server name to Crystal Reports in Visual Studio 2012

    Hello,
    I work on Visual Studio 2012 with Crystal Report 13.0.12 (both developer and run-time). When I pass the name of the server to the Crystal Reports, I get an error -- Failed to open the connection.  Database Vendor Code 17.  I use SQL OLEDB as the provider.  It worked before.  Not sure what has happened.
    Any help is much appreciated!!!
    John

    Hi,
    See this: Failed to open the connection - database vendor code 17
    --dj

  • Error when opening a BW query with Crystal Reports

    Hi all,
    I am having problems when opening a BW query with Crystal Reports, the strange thing is that it only happens with
    the bo user I have created. If I use a user that already exists and that has SAP_ALL authorization it works.
    I don't know if this could be an authorizations issue, but I have created a role with all the authorizations stated in the manual.
    The error I am getting is the following:
    "An error occurred while generating a new report template. Error in UNKNOWN.RPT file"
    Does anyone know what this could be?
    Thanks

    Well,
    I cannot access the system now. But I think it is not an issue of authorization, because I assigned all the good user's role to the bo user,
    and even with that, it still don't work.
    Thanks

  • Getting error when passing variable to Matlab script

    Hi
    I am using LabVIEW 2013 Version 13.0f2 (32bit) and MATLAB R2014b (Version: 8.4.0.150421) in Windows 7 Professional  Version 6.1 (Build 7601: Service Pack 1).
    I am trying to pass measured data to a matlab script to plot but I get errors.
    I have made a small program to make the problem easyer to solve and I get this error
    Error 1050 occurred at LabVIEW:  Error occurred while executing script. Error message from server: ??? Reference to a cleared variable A.
    . in MatlabTest.vi
    I tried the solution mentioned in http://digital.ni.com/public.nsf/allkb/4475BC3CEB062C9586256D750058F14B though it was intended for an older version. This gave me this error instead
    Error 1048 occurred at LabVIEW:  LabVIEW failed to get variable from the script server. Server:"??? Undefined function or variable 'num'.
    " in MatlabTest.vi
    The problem occures when I try to access the input, in other words I can have inputs to my script as long as I do not use them.
    How can I solve this?
    Attachments:
    MatlabTest.vi ‏7 KB

    Thank you so very much.
    I shold of cours have realised that that was what happened but I always use the three clearing lines (close all, clear all, clc) in the beginning of a script to make sure that no old and irrelevant data corrupts my script and did not think about when the inputs were generated.
    Again, Thank you!

  • Getting error when passing objects using IntelliJ  7.0

    Hi All,
    i have just started working in Web Services using Axis 2 in IntelliJ IDE. i am getting this error when i pass objects:
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.i have used rpc/literal, i tried with other combinations but not working.
    i have created two class called "address" and "user" and i want webservice client to pass "address" object to a "user" method.

    Hi,
    Try populating the ltab_extensionin as the code given below:
    Maybe it can help you.
    Constants: c_flag_bape_vbak TYPE  char10 VALUE  'BAPE_VBAK', " Constant
                     c_flag_bape_vbakx TYPE char10 VALUE  'BAPE_VBAKX'," Constant
      wa_bape_vbap-vbeln             = space.
       wa_bape_vbap-posnr            = wa_order_items_in-in_linenumber.
       MOVE c_flag_bape_vbak TO wa_extensionin-structure.
       MOVE c_flag_bape_vbap TO wa_extensionin-structure.
       CALL METHOD cl_abap_container_utilities=>fill_container_c
         EXPORTING
           im_value       = wa_bape_vbap
         IMPORTING
           ex_container = wa_extensionin-valuepart1.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
       MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
       wa_extensionin-valuepart1+0(10) = space.
       wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
       wa_extensionin-valuepart1+80(3) = abap_true.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
    Regards,
    Shweta

  • Getting error when passing custom fields to BAPI extension

    Hi ,
    I have problem with standard BAPI_PO_CREATE1 bapi function.
    ERROR DETAILS
    when FM:- BAPI_PO_CREATE1 first time executed  getting error  "Check item number 30 in table EXTENSIONIN" and PO not creating.
    when using function key reverse(cntl+f12) in BAPI_PO_CREATE1 in same execution ,po document  creating ,but data is not papulating custom field.
    CODE USING IN MY PROGRAM
    DATA : 
           ltab_extensionin TYPE TABLE OF bapiparex,
           wa_extensionin TYPE bapiparex,
           wa_BAPI_TE_MEPOITEM type BAPI_TE_MEPOITEM.
    wa_bapi_te_mepoitem-po_item = wa_itab-item.
    wa_bapi_te_mepoitem-zvsart  = wa_itab-ship_type.
    move 'BAPI_TE_MEPOITEM' to wa_extensionin-structure.
    move wa_BAPI_TE_MEPOITEM to  wa_extensionin-VALUEPART1 .
    APPEND wa_extensionin TO ltab_extensionin.
       CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = wa_pohead
          poheaderx        = wa_poheadx
          testrun          = ' '
        IMPORTING
          exppurchaseorder = v_po_number
        TABLES
          return           = itab_return
          poitem           = itab_poitem
          poitemx          = itab_poitemx
          poschedule       = itab_posched
          poschedulex      = itab_poschedx
          poshipping       = itab_poshipping
          poshippingx      = itab_poshippingx
          extensionin      = ltab_extensionin.
    Could one of u help me ?? .
    Regards,
    Nayak

    Hi,
    Try populating the ltab_extensionin as the code given below:
    Maybe it can help you.
    Constants: c_flag_bape_vbak TYPE  char10 VALUE  'BAPE_VBAK', " Constant
                     c_flag_bape_vbakx TYPE char10 VALUE  'BAPE_VBAKX'," Constant
      wa_bape_vbap-vbeln             = space.
       wa_bape_vbap-posnr            = wa_order_items_in-in_linenumber.
       MOVE c_flag_bape_vbak TO wa_extensionin-structure.
       MOVE c_flag_bape_vbap TO wa_extensionin-structure.
       CALL METHOD cl_abap_container_utilities=>fill_container_c
         EXPORTING
           im_value       = wa_bape_vbap
         IMPORTING
           ex_container = wa_extensionin-valuepart1.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
       MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
       wa_extensionin-valuepart1+0(10) = space.
       wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
       wa_extensionin-valuepart1+80(3) = abap_true.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
    Regards,
    Shweta

  • Getting error when i add measure in web i report

    Hi experts,
    I created an expression in universe and then exported to CMC. if i use this measure in webi report i am getting an MDX query error.

    Hi rajinish,
    we have complex calculations in webi report. now i would like to move all the calculations at universe level. for that i created one calculated key figure and moved in web i report i didn't get any error but if i am trying to add one more calcuted key then i am getting error..
    webi calculation
    =Count([L01 Maintenance Order Key] Where([L01 Maintenance Order Order type (Key)]="PM10"))
    now i calculated above formula in universe like below
    SELECT BOX
    <EXPRESSION>
    @Select(Maintenance Order\L01 Maintenance Order Key)
    </EXPRESSION>
    WHERE BOX
    L01 Maintenance Order Order type (Key)="PM10"
    PLEASE GUIDE ME IF I AM MISSING ANYTHING..

  • CDZHome Error when trying to connect universe from Crystal Reports XI R2

    I am getting the below error message when I am trying to connect a universe from Cyrstal Reports.
    CDZHome not found on server, IRAPPS437.WebIntelligenceProcessingServer
    I am using below versions:
    Universe - Business Objects XI 3.0 Enterprise Edition
    Crystal Reports - Cyrstal Reports XI R2 SP4.
    If you notice the error is related to Web Intelligence when I am not doing anything related to Web Intelligence. So I suspect that Cyrstal Reports XI R2 is not compatible with BO XI 3.1 or Vice Verse.
    Any input on this is appreciated.
    Cheers,
    Kanna

    Hello All, I am working on BO version migration. Presently we have BO XI 3.1 in which we have Java process through which we gets connected to BO server and generates an report.
    as we need to move to migrate BO version to SAP Business Objects BI Platform 4, we need to accomodate connecting to new BO server. I have upgraded all JAR which has been given by "SAP Business Objects BI Platform 4" installation still i am getting below exceptions and one of them is almost same as this POST so thought od posting my question here rather than opening an new POST.
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServiceConnection: Unable to connect to service CDZHome from server LONWS20055.WebIntelligenceProcessingServer via CMS LONWS20055.EUROPE.NOM:6400 (FWM 01006)

  • Error when exporting to other format from crystal report

    Hi,
    I have been facing an error "Method 'IRCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version = 11.0.3300.0, Culture-neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overriden." while trying to export the crystal report to another format (e.g. pdf and excel) from an application from a software vendor.
    For your information, the machine OS that is running the application is Window 7. Before I did the installation of the application, it already has Visual Studio 2005 and Crystal Report XI Release 1 installed in the Window  7 system. After I had the above error, I went to search more information on the website and found out that I need to upgrade to Crystal Report XI Release 2 from the search results. However, after I upgraded from Crystal Report XI Release 1 to Crystal Report XI Release 2 and apply service pack 6, I still faced the same error when I tried to export. I even tried to uninstall Visual Studio 2005 and Crystal Report XI Release 2 but I'm still facing the same above error while exporting. I also tried to reinstall the application from software vendor but the same error come out.
    Your help is highly appreciated. Thanks!!
    Regards,
    Jennifer

    Good morning Jennifer
    When you say:
    " I also tried to reinstall the application from software vendor but the same error come out."
    I wonder if the app you are trying to install is from a 3rd party vendor / developer? If it is, installing CR XI r2 (11.5) will not resolve the issue for you. From the error, the app was compiled with CR XI R1 (11.0) and the only way to get that app to use CR XI r2 will be to recompile it with CR XI r2 assemblies. E.g.; you will have to have access to the source code and then recompile the app, ensuring that you are referencing CR XI r2 assemblies. Or am I missing something here?
    Ludek

  • Error when i try to print in Crystal Report

    Hi , im student from mexico, i have a truble with Crystal Report so u can help me ? plz
    my problem with Crystal Report is when i try to print
    check my code
        repComandaGeneral.Load("C:\Users\Usuario\Documents\DozRES - comandas\RepTicketCGeneral.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)                repComandaGeneral.SetDatabaseLogon("root", "1234", "localhost", "dozres") ' Login base de datos
                    'Dim MiConexion As New ConnectionInfo
                    'Dim myTables As Tables = repComandaGeneral.Database.Tables ' Informe.Database.Tables
                    'MiConexion.ServerName = "192.168.1.254"
                    'MiConexion.DatabaseName = "dozres"
                    'MiConexion.UserID = "root"
                    'MiConexion.Password = "1234"
                    'For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                    '    Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                    '    myTableLogonInfo.ConnectionInfo = MiConexion
                    '    myTable.ApplyLogOnInfo(myTableLogonInfo)
                    'Next
                    repComandaGeneral.SetParameterValue(0, "Value")
                    repComandaGeneral.SetParameterValue("cm_id", cm_id)
                    repComandaGeneral.PrintToPrinter(1, False, 0, 0)
                    repComandaGeneral.Close()

    The "database vendor error 556" indicates that the query to the database returned with error 556.  It's vendor specific.  Look up your database vendor's documented error codes, to see what 556 indicates.
    Doing a bit of googling looks like the issue is that the ODBNC datasource does not exist. Remember that there are 32 bit and 64 bit ODBC datasources. If your app is 32 bit, the DSN must be 32 bit, if it is compiled as 64 bit the DSN must be 64 bit.
    See KBA 1505620 - How to create a 32 bit ODBC data source on a 64 bit Operating System
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Getting error when starting managed server from administration server

              When i start one of my managed server in the cluster i get the following error
              The WebLogic Server did not start up properly.
              Exception raised: java.lang.ArrayIndexOutOfBoundsException
              java.lang.ArrayIndexOutOfBoundsException
              at com.bea.utils.misc.ProcessUtil.base64ToBytes(ProcessUtil.java:552)
              at com.bea.utils.misc.Process.validate(Process.java:1231)
              at com.bea.utils.misc.Process.isValidSignature(Process.java:518)
              at com.bea.utils.misc.ProcessManager.memCheck(ProcessManager.java:647)
              at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:278)
              at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:335)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:197)
              at weblogic.Server.main(Server.java:35)
              Reason: Fatal initialization exception
              Please tell if somebody know it
              

    Do you have any other products from BEA other than WLS?
              I can't seem to find the following (com/bea/utils/misc) from WLS source
              line ?
              Kumar
              Ritesh Kapoor wrote:
              > When i start one of my managed server in the cluster i get the following error
              > The WebLogic Server did not start up properly.
              > Exception raised: java.lang.ArrayIndexOutOfBoundsException
              > java.lang.ArrayIndexOutOfBoundsException
              > at com.bea.utils.misc.ProcessUtil.base64ToBytes(ProcessUtil.java:552)
              > at com.bea.utils.misc.Process.validate(Process.java:1231)
              > at com.bea.utils.misc.Process.isValidSignature(Process.java:518)
              > at com.bea.utils.misc.ProcessManager.memCheck(ProcessManager.java:647)
              > at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:278)
              > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:335)
              > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:197)
              > at weblogic.Server.main(Server.java:35)
              > Reason: Fatal initialization exception
              >
              > Please tell if somebody know it
              >
              >
              

  • External programs get error 1006 using local server name

    I have a brand new Solution Manager EHP1 installation on Windows 2003sp2/SQL.
    The installation succeeded ok, but I cannot configure STMS.
    The reason appears to be that external commands (i.e. tp) are not working correctly.
    If I execute in SM49 the external command 'ENV' and use the default host, it fails with error 1006
    If I specify the target host and use the 'short' name of the host, e.g. SAPSMT it fails with the same error
    If I specify the target host and use the fqdn of the host e.g. SAPSMT.saproot.local it works ok.
    If I specify the target host as 'localhost' it also works ok.
    The 'HOSTNAME' command responds with SAPSMT
    There is only a single NIC, so its not anything to do with multiple NICs.
    I'm running the latest kernel and sapxpg now and it still acts the same.
    Type 3 RFC destinations to SAPSMT work ok.
    I can't really get anything else to fail: just external commands with the short name (or default) as the target.
    Has anyone seen this before and have a solution or workaround?
    I am almost sure it will be a windows configuration problem, but I can't see what it could be.
    Thanks, Andy.

    Hi Pradi,
    there are no entries in the HOSTS file related to this.
    I do think this is the right area: here is the output of niping, which is suggesting that the address lookup of the ip address goes to the fully qualified domain name rather than the hostname.
    E:\usr\sap\SMT\DVEBMGS00\exe>niping -v -H SAPSMT
    Hostname/Nodeaddr verification:
    ===============================
    Hostname of local computer: SAPSMT                        (NiMyHostName)
    Lookup of hostname: SAPSMT                                (NiHostToAddr)
        --> IP-Addr.: 10.115.227.36
    Lookup of IP-Addr.: 10.115.227.36                         (NiAddrToHost)
        --> Hostname: SAPSMT.saproot.local
    Lookup of hostname: SAPSMT                                (NiHostToAddr)
        --> IP-Addr.: 10.115.227.36
    Lookup of IP-Addr.: 10.115.227.36                         (NiAddrToHost)
        --> Hostname: SAPSMT.saproot.local
    If I add the hostname SAPSMT to the hosts file (together with the alias as you suggested), it then gives:
    E:\usr\sap\SMT\DVEBMGS00\exe>niping -v -H SAPSMT
    Hostname/Nodeaddr verification:
    ===============================
    Hostname of local computer: SAPSMT                        (NiMyHostName)
    Lookup of hostname: SAPSMT                                (NiHostToAddr)
        --> IP-Addr.: 10.115.227.36
    Lookup of IP-Addr.: 10.115.227.36                         (NiAddrToHost)
        --> Hostname: SAPSMT
    Lookup of hostname: SAPSMT                                (NiHostToAddr)
        --> IP-Addr.: 10.115.227.36
    Lookup of IP-Addr.: 10.115.227.36                         (NiAddrToHost)
        --> Hostname: SAPSMT
    However, having made this change and restarted, I still get the problem.
    Thanks for the help, by the way.
    Andy

  • Getting error when i am creating and tesing data server in ODI

    Hi,
    Getting error when i am creating and tesing data server in oracle (Physical Architecture) in topology manager ODI.
    Please anybody help me on this.
    Java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1563)
         at java.awt.Component.setVisible(Component.java:1515)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Thanks,
    Krish

    So are you getting the same error when you try from the installed agent or the tool (Local agent)? Is your agent on the same machine or different machine. If so, does that particular machine can connect to the database?
    Also, are you using the same JDBC driver that you are using in SQLDeveloper? Same URL?
    Typically, connection refused error appears with wrong instance or wrong port. Try telnet-ing the in the database server and db port. See what happens there!!! The java stack that you provided here is not an SQL exception, it is related to socket creation. It has less to do with JDBC and more to do with physical resources like machine, port and permission.

  • Getting error when i am creating and tesing data server in oracle (Physical

    Hi,
    Getting error when i am creating and tesing data server in oracle (Physical Architecture) in topology manager.
    Please anybody help me on this.
    Java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1563)
         at java.awt.Component.setVisible(Component.java:1515)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    HI,
    check the jdbc url.
    The datbase and the listener to which you are connecting are suppose to be up and running.
    For testing try and connect using sqlplus from the machine you are trying to make a connection,
    Reshma

Maybe you are looking for

  • Sharing two or more iTunes library

    Hello, I have just bought an Apple TV2, but I have all my films in an external hard drive. I have created a new iTunes Library on the external drive, and I tried to make a second shared library (my Mac and now the external hard drive). How can I see

  • Blank messages in Apple Mail, only message header seen

    Blank messages in Apple Mail, only message header seen. But not all messages.. and not for mails from apple domain. I am using, 1. OS X 10.6.8 2. Mail Version 4.6 (1085) Tried all suggestions available in the web. Did not help.. Any solution, thanks

  • OSB 10.4 on OEL 6.2

    Hi, does anyone have an idea when OSB will be supported on Oracle Enterprise Linux 6.2 ? Kindest regards, Gio

  • Problem installing adobe XI pro in vista

    I am not finding the adobe acrobat xi pro app in download application manager to install it as part of creative cloud in my vista

  • Fireworks drop down menu problem in explorer 7 help

    I created a fireworks drop down menu for my website which usually shows the 'up' label, in this case January, February etc once activated, but now this only shows when the mouse moves over it and then the 'down' state shows correctly. Has anyone expe