Problem connection to SQL Server using DG4MSQL gateway.

I am getting the following error trying to use a SQL gateway on Windows platforms:
TNSPing seems fine (which seems like listener is fine).
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from DG4MSQL
The dg4msql gateway (32 bit box, 11.2.0) exists on a separate machine from the 64 bit Oracle database (10.2.0.4)
and is trying to call a MS SQL 2005 database. The listener starts and stops fine and TNSPing from the database box returns OK.
Thanks for any advice in advance and sorry for the length of the post but I tried to show all the relevant parts. I am a newbie for sure.
The Oracle_Home is on: C:\product\11.2.0\tg_1 and that is included as the first part of the path statement (C:\product\11.2.0\tg_1\bin).
LISTENER.ORA File (running on the gateway server box)
=============================
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = clickimrs.blackfoot.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER = C:\product\11.2.0\tg_1
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4msql)
(ORACLE_HOME=C:\product\11.2.0\tg_1)
(PROGRAM=dg4msql)
initdg4msql.ORA file (exists in C:\product\11.2.0\tg_1\dg4msql\admin on gateway box)
====================================
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[MG-FM]/MG-FM/Blackfoot_OasisFM
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
TNSMAMES.ORA (running on the database server box)
=======================================
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=CLICKIMRS.blackfoot.com)(PORT=1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
SQLNET.ORA (running on the database server box)
=====================================
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
My create dblink statement:
====================================
create public database link dg4msql connect to "Axiom" identified by "ax" using 'dg4msql';

listener status from listener on Gateway machine:
==============================================================
C:\Documents and Settings\tiefentr>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-OCT-2010 13:24
:06
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=clickimrs.blackfoot.com)
(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 20-OCT-2010 11:47:47
Uptime 0 days 1 hr. 36 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\product\11.2.0\tg_1\network\admin\listener.ora
Listener Log File c:\product\11.2.0\tg_1\diag\tnslsnr\clickimrs\listener
\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=clickimrs.blackfoot.com)(PORT=1521))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
===================================================================
TNSPING from HOST machine housing Oracle DB:
C:\Documents and Settings\tiefentr>tnsping dg4msql
TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-OCT-2
010 13:20:21
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=CLICKIMRS.black
foot.com)(PORT=1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (60 msec)

Similar Messages

  • Problem connecting to SQL Server from JDeveloper 10g using jdbc third party

    I am using Oracle 10g Jdeveloper and I tried to setup a database
    connection to SQL Server using various Drivers for JDBC as Merlin, jtds, inet.tds, etc.
    (I had no problem to set up a connection to an Oracle Database using the
    Oracle JDBC driver).
    When I am testing the connection throughout the wizard, I do receive
    this error message: "Unable to find driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver".
    I m not understanding from last 3 days where to place the corresponding JAR files so thaI may not get the Error.
    When I hit n trialed at various directories of the JDeveloper as </rootDir/jdbc/lib>
    </rootDir/lib>
    </root/jdev/my Work/Application1/Project1/public_html>
    </root/jdev/my Work/Application1/Project1/public_html/web-inf/>
    when I tested the connection I do received:
    "Unable to find driver:
    xxx.xxx.xxx.xxxxxxx Unable to find driver:
    Obviously it can't locate the Micrososft JDBC driver but I can't
    figure out why.
    I tried all kind of things without any success. Is somebody can help
    me and took me beyond this.
    I m trying to build DataSource connection from JavaBeans.
    Please make me out of this cave. I m not finding any of the way to do this.
    The last code I tried is
    try {
    Class.forName("com.inet.pool.PoolDriver");
    com.inet.tds.TdsDataSource tds = new com.inet.tds.TdsDataSource();
    tds.setServerName( "local" );
    tds.setDatabaseName( "bluff" );
    tds.setUser( dbUserName );
    tds.setPassword( dbPassword );
    DataSource ds = tds;
    Connection con = ds.getConnection(dbUserName,dbPassword);
    Statement stmt;
    ResultSet rs = null;
    Thanks,

    you are confusing me at least as your error is discussing the microsoft driver yet you are configuring the inet datasource.
    I do not use JDeveloper, but you need to make sure that whatever is servicing your web app/JavaBean has access to the driver. Not sure why you are not doing a JNDI look up of the resoure, but because you are not you can stick the driver jar in the lib directory within the WAR bundle. I would suggest that you add the driver to the lib/ext or the lib directory which is loaded at boot time for your web container and then use JNDI to look up your DataSource to reduce your coding maintenance headaches.

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • Connection with SQL Server using DBCO

    Hi,
    I want to connect to Misrosoft SQL Server using DBCO transaction. I have given the following fields.
    DB Connection = test
    DBMS = MSS
    User Name = user02
    password = test
    Conn. info = MSSQL_SERVER=tcp:10.100.50.36 MSSQL_DBNAME=New_Wisdom
    permanent selected
    Connection Limit = 5
    Optimum Conns = 2
    while executing through the statement as follows,
    EXEC SQL.
    CONNECT :'TEST'
    ENDEXEC.
    I am getting the dump ' An SQL error occurred when executing Native SQL.
    The error 900 occurred in the current database connection "DEFAULT".' Please suggest me what needs to be added or corrected.

    Hi Benito.
    I'm not very familiar with MSS but maybe the following will help a little bit.
    Depending on the version of your SAP system you can use the transaction DBACOCKPIT to add connections to non-SAP databases. There is an test connection button in that transaction, too. You will find some information about that transaction in some whitepapers here in the SDN. For example have a look at this one: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10
    ADBC error 16 is just "something went wrong". Is your SAP system using MSS, too? If not you will need the matching DBSL for it on your SAP system.
    If you have set up an connection you can use program ADBC_TEST_CONNECTION to check if everything is ok. If I remember it correctly in case of errors it allows you to jump into the trace file. There you should find some usefull information.
    Perhaps asking in the Database&OS forum area (there is a MSS forum) might help, too.
    Best regards,
    Jan

  • How to connect MS sql server using ODI

    Hi ,
    i am trying to connect MS SQL server database with ODI .
    I have copied sqljdbc.jar file in drivers folders .i got this driver from MSDN
    While creating data source i have selected com.microsoft.jdbc.sqlserver.SQLServerDriver driver
    i am giving connection string as jdbc:microsoft:sqlserver://hostname:1438;databaseName=siebeldb;user=SIEBEL;password=SI
    ODI java version :1.5.0_20
    i am getting following error :
    com.sunopsis.sql.c: com.microsoft.jdbc.sqlserver.SQLServerDriver
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.r.or.o(or.java)
         at com.sunopsis.graphical.r.or.r(or.java)
         at com.sunopsis.graphical.r.or.g(or.java)
         at com.sunopsis.graphical.r.or.a(or.java)
         at com.sunopsis.graphical.r.or.a(or.java)
         at com.sunopsis.graphical.r.il.actionPerformed(il.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.r.or.q(or.java)
         at com.sunopsis.graphical.r.or.<init>(or.java)
         at com.sunopsis.graphical.frame.a.ji.bx(ji.java)
         at com.sunopsis.graphical.frame.bn.w(bn.java)
         at com.sunopsis.graphical.frame.bn.d(bn.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    any pointers on this will be very usefull.
    regards ,
    MOhan

    HI ,
    i have copied 1.2 driver in my drivers dir and pointed oDI java home to 1.4.2 JRE .
    tried testing connection with above Driver and connection string
    now i got below error
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getDriver(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.r.or.o(or.java)
         at com.sunopsis.graphical.r.or.r(or.java)
         at com.sunopsis.graphical.r.or.g(or.java)
         at com.sunopsis.graphical.r.or.a(or.java)
         at com.sunopsis.graphical.r.or.a(or.java)
         at com.sunopsis.graphical.r.il.actionPerformed(il.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.r.or.q(or.java)
         at com.sunopsis.graphical.r.or.<init>(or.java)
         at com.sunopsis.graphical.frame.a.ji.bx(ji.java)
         at com.sunopsis.graphical.frame.bn.w(bn.java)
         at com.sunopsis.graphical.frame.bn.d(bn.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Problem to connect SQL Server using dg4msql  form Linux machine

    Hi All,
    I have oracle 11g 11.2.0.1.0 on RHEL 4 on one machine and MS SQL Server 2000 on another Windows XP machine. I have to link the oracle database with SQL Server Database. So that we can run queries on SQL Server from Oracle 11 Database.
    For this purpose I have installed Oracle Database 11g Release 2 (11.2) Gateway for SQL Server on oracle machine.
    For the purpose of configuration, I have followed the instructions of Doc ID (437374.1) available from oracle metalink.
    listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /opt/orabase/orahome11g)
    (SID_NAME = orcl)
    (SID_DESC=
    (SID_NAME=dg4msql)
    (ORACLE_HOME=/opt/orabase/orahome11g)
    (ENVS="LD_LIBRARY_PATH=/opt/orabase/orahome11g/dg4msql/driver/lib:/opt/orabase/orahome11g/lib")
    (PROGRAM=dg4msql)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.15)(PORT = 1522))
    ADR_BASE_LISTENER = /opt/orabase
    tnsnames.ora file
    DG4MSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.10.15)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    initdg4msql.ora file
    # HS init parameters
    HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind
    I have created DB link using following statement:
    CREATE public DATABASE LINK dg4 CONNECT TO "sa" IDENTIFIED BY "sa" USING 'dg4msql';
    when I give select statement, It gives following error:
    select * from "Employees"@dg4
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][libssclient24]General network error. Check
    your network documentation. {08001,NativeErr = 11}[Oracle][ODBC SQL Server
    Driver][libssclient24]ConnectionOpen (()). {01000,NativeErr = 11}[Oracle][ODBC
    SQL Server Driver]Invalid connection string attribute {01S00}
    ORA-02063: preceding 2 lines from DG4
    I will appreciate if anyone can help me

    The general DG4MSQL configuration is correct as DG4MSQL is loaded and tries to connect to the SQL Server.
    Is the IP Address and the SQl Server port (HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind) correct?
    Can you ping it from the Oracle gateway machine?
    Can you telnet to it from the gateway machine to the SQl Server: "telnet 172.16.30.51 1433"

  • Problem to connect SQL Server using dg4msql

    Hi All,
    Configured Oracle Database Gateway for MS SQL Server in windows 2003 server 64 bit machine.
    Oracle DB Server: 10.2.0.4.0
    Oracle DB Gateway: 11.2.0.1.0
    I am able to get table row count but if i try to get table column values then getting errors like below
    ========================
    SQL> select count(*) from address@dbsql;
    COUNT(*)
    183
    SQL> select * from address@dbsql;
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    no rows selected
    SQL>
    =======================
    Any body encountered same issue, or any thoughts .
    Thanks,
    -Mani

    Thanks for the clarification with respect to license.
    Below sql is returning results from MS SQL perfectly
    select count(*) from address@dbsql
    describe address@dbsql
    but below sql is returning error.
    SQL> select "pkid" from address@dbsql
    2 /
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    -- CHARACTERSET
    Oracle DB:     UTF8
    MSSQL DB: i don't know how to check!
    -- initMSSQL.ora
    HS_FDS_CONNECT_INFO=BLR2230041,1433//ADS_BI_6003
    HS_FDS_TRACE_LEVEL=DEBUG
    Thanks
    -Mani
    Edited by: Mani.. on Oct 28, 2010 3:27 PM

  • How i connect to SQL server using java?

    hi every body
    i need to connect to a sql server database using java
    i do not know sql driver in java
    plz help me
    thanks

    This is certainly the wrong forum for that question. Search in the JDBC forum. This has been asked and answered many times.

  • How do i connect to SQL server using the JDBC ODBC

    I am attempting to connect to a database on a server over a network. It is running SQL Server 2005. Am i supposed to set the ODBC on my computer or on the server computer and this is the code i am using but i keep getting a class not found exception.
    //Variables for the connection to the second Database static final String JDBC_DRIVER2 = "com.microsoft.sqlserver.jdbc";; static final String DATABASE_URL2 = "jdbc:sqlserver:///*serverName*/;databaseName=Dashboard;" + "user=dashboard; password = **********"; private Connection connection2; public void Connection2() throws Exception{ Class.forName(JDBC_DRIVER2); connection2 = DriverManager.getConnection(DATABASE_URL2); System.out.println("Connected 2"); Statement statement2 = connection2.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); }
    I have the server's actual name in /*serverName*/ so i know that it is not the issue i left it out for business sensitivity.
    I downloaded sqljdbc.jar and have placed it both in my eclipse driver folder and in the project folder itself.
    Any help would be very grateful.
    Thanks Nathan M.

    ODBC has nothing to do with the driver in the code that you posted.
    Class not found has nothing to do with the connection string.
    And the exception stack trace, if you were printing it, would make that obvious because then you would note that
    it isn't getting to that line.
    Class not found exception means that either your class path is wrong, which is a basic part of java not jdbc,
    or that you specified the class name wrong.
    I downloaded sqljdbc.jar and have placed it both in my eclipse driver folder and in the project folder itself.Apparently that isn't sufficient because it still isn't in your class path.

  • Linking to SQL Server using Transparent Gateways

    I want to use the Transparent Gateways to link to a SQL Server DB.
    I downloaded Oracle Enterprise Server from OTN.
    As far as I can tell, the Transparent Gateways are supposed to be bundled with Oracle Enterprise Server, but I can't find them from the Universal Installer.
    Does anyone know how I install the Gateways? Are they included with the downloaded Oracle Enterprise Server? If not, do I need to get the Oracle Enterprise Server CD Pack?
    Thanks
    Mike

    You did create a DUAL table in the Sqlserver database?
    Sybrand Bakker
    Senior Oracle DBA

  • UD Connect to SQL Server  using Remote Cube(URGENT !!!!)

    Hi all,
    Scenario:
    I am new to Remote/Virtual Cubes and I think everyone is new to Universal Data Connect (UD Connect).  I have to create a prototype using Remote Cube to create a front end reporting tool for one of our partners that does not have an SAP system.  So instead of our partner buying a front end tool to do querying on their database we decided to create the solution from our BW system by using Remote Cubes with UD connect since we just upgraded to 3.5 .  The legal limitation prevent us from loading the data on our system so we have to use remote cubes. 
    Question:
    I know RCs  are limited when it comes to the amount of data that they report on and the number of users that can use them but I don't have exact numbers.... I'm quiet certain that no one really know the 'exact' limit but it would help if i know the approx figures I'm working with.  I need to come with with a prototype ASAP so it can be decided if we want to go ahead with this. 
    I would appreciate ANY help from anyone regarding this issue and if you can think of some more issues that i might encounter pls let me know.  It would be great if someone who has gone thru this can guide me as well...Thank you all in advance.
    ML

    Hi,
    1) DB Connect is something like the grandfather of UD Connect (simply put).
    2) Here is some documentation about UDC:
    http://help.sap.com --> SAP NetWeaver --> [release, language] --> SAP NetWeaver --> Information Integration --> SAP Business Information Warehouse --> Data Warehousing --> Data Retrieval --> Data Transfer with UD Connect
    directly:
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/frameset.htm
    3) Customer Call Series recordings, presentations, etc.:
    http://service.sap.com/nw-cc
    (the webex session for UDConnect was on 17th March)
    4) UD Connect uses the 4 Connector types that SAP provides, like XML, ODBO, JDBC and SAP Query. They same connectors are used by the Bi Java SDK, which is included in the Visual Composer by the BI Kit.
    While in the UDC scenario you can either extract or remotely access the data and build structures for it, in the VC scenario you just make remote access to the data.
    Performance in either case depends on the amount of data and the kind of navigation and aggregation you require on the data made on the backend system (your MS SQL Server). And of course from network, load on the systems, etc.
    Servus
    Mario

  • Problem connecting to Sybase Server using Crystal XI-Version-11.0.0.1994

    Dear All,
    I have Crystal Reports XI (Version-11.0.0.1994) and Sybase Adaptive Server Enterprise 12.5  installed in my machine.
    Now Im trying to connect to Sybase Server As ,  File > Log On or Off Server  > Create New Connection > More Data Sources > Sybase. But am not Able to. It takes me to the installation wizard and ends with "No items found" error message.
    How ever Im able to create an ODBC Connection to the sybase server. But I want to create a connection using Sybase Native Driver. Could you anyone please throw some light on this
    Thanks

    Hello,
    Go into Add/Remove Programs and Change and then select Custom install and expand the database drivers. Verify you have selected Sybase, if not select it and then OK.
    If it's there then make sure the client is installed and path to the Sybase Client is in the PATH statement. Sorry I don't recall what it should be but you should see Sybase there somewhere. If not add it, typically it also has a \bin folder.
    Thank you
    Don

  • Database connection to SQL server using ABAP program

    Hi all,
    What do we need to enter in the con_env feild of dbcon table for connecting to the  SQL databse
    I have entered the following string dbname=SAP_DB user=sap password=sap host=145.17.60.87 port=1433
    Is it correct ?
    DATA: tbr(50) type c.
    EXEC SQL.
    CONNECT TO 'SQLDB'
    ENDEXEC.
    IF SY-SUBRC NE 0.
    message s000(zf) with 'Imposible conectar a SQLDB'.
    ENDIF.
    EXEC SQL.
    SET CONNECTION 'SQLDB'
    ENDEXEC.
    EXEC SQL PERFORMING LOOP_OUTPUT.
    SELECT T_DES
    INTO :tbr
    FROM data_table
    ENDEXEC.
    FORM LOOP_OUTPUT.
    write: / tbr.
    ENDFORM.
    where data_table is the database table name
    also i think i will have to create a table in ABAP dictionary with the same structure as data_table but that table will start from 'Z'.
    kindly help

    Hi Sunil,
    I am working on this same problem.  What was the solution you used?
    Thanks
    Shane

  • Problem connecting to Windows Server using RDC with RDP SSL on PowerPC Mac

    At work we use Windows Terminal Server 2003. We have multiple Macs connecting remotely using Microsoft Remote Desktop Connection 2.0. We recently changed settings to require SSL security on all remote connections. Everything works fine with Intel based Macs, but no PowerPC based Mac has been able to connect since enabling SSL. The error message states "you have been disconnected from the Windows-based computer because there were problems during the licensing protocol."
    In the Administrative tools of the Terminal Services Configuration on the server, the Security Layer is set to SSL. If we change the security layer back to RDP Security Layer, the PowerPC based Macs can connect without a problem. The Encryption Level settings seems to have no effect on the connection.
    Does anyone have experience with this problem or know of a solution?
    Thanks in advance!
    David

    You may want to post over in the Microsoft forums for their Mac version of RDC: http://www.officeformac.com/productforums

  • Problem connecting to SQL Server Analysis Services

    Could you please help me?. When i try to import data from analysis services in the administration tool i don't know the URL i must write. Could you describe the steps for the import process for this case?.
    Thanks in advance.

    Hi,
    I have ASSAS and OBIEE on one virtual machine...2003 SP1 Server
    I have followed the instructions from MS and when I enter in the following URL
    http://localhost/olap/msmdpump.dll
    in my browser I get...
    - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap:Body>
    - <soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>XMLAnalysisError.0xc10e0002</faultcode>
    <faultstring>Parser: The syntax for 'GET' is incorrect.</faultstring>
    - <detail>
    <Error ErrorCode="3238920194" Description="Parser: The syntax for 'GET' is incorrect." Source="Unknown" HelpFile="" />
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    I then try to use the URL in the Administration tool to import the cube (note: I do not specify a username or password) I then get the visual studio debugging tool.
    Has anyone see this behavior before??

Maybe you are looking for

  • Upgrade to 8.0.1 with TDM causes crash on startup of app

    I just upgraded to 8.0.1, and Logic will not open. I get through most of the start up, and then get a "quit unexpectedly" error. (Don't you love these informative error messages?) I have tried: 1)Installing ProApps updates. ProApp2007 2 had not been

  • On my Mac OS X ver10.4.11 my Sync is disabled can anyone tell me how to reverse this?

    On my Mac OS X ver10.4.11 my Sync is disabled can anyone tell me how to reverse this? I am not able to sync my iCal with anything. My computer is a Power PC G4.

  • IPhoto unexpectedly quit EXC_BAD_ACCESS (SIGSEGV)- my solution

    General setup: iPhoto 9.1.1 10.6.6 MacBook Air iPhoto Library (about 54GB) that has been upgraded without problems from many Macbook Pros since OS 10.3 or so. Today I had just imported some new photos, created a new album, and shared it to Facebook w

  • Refcursor with query as string

    Hi, Is there any performance difference when creating reference sursor with select statement as string. Case 1: Declare p_Result IN OUT SYS_REFCURSOR, v_Sqlstr VARCHAR2(4000); begin v_Sqlstr := 'select * from emp'; OPEN p_Result FOR v_Sqlstr; end; Ca

  • Server Error (Training from the Source)

    I'm working through 'Training From the Source' book and have come across a server error with Chapter 12 and onwards. I have created a register page and when I press the submit button the page comes back with a server error; Error Type: Microsoft OLE