Is transparent gateway needed to connect to IS Cache database?

Hello,
I have been asked by one of our developers how to create a connection from his Oracle 11.2 database to SQL Server and also InterSystems Cache' databases without having to use Transparent Gateway?
Is this possible, and if so, how can it be done?
(thanks in advance)

Hi,
You say - "I guess it means that Oracle Database Gateway is FREE (per se)" but to make the point again - only the Database Gateway for ODBC (DG4ODBC) is free. The other gateways need a license.
If you run on Windows then many of the Microsoft ODBC drivers are free or included as part of other products so you do not need to pay for them, and also many non-Oracle database providers include an ODCB driver as part of the product, so again you do not need to pay for anything else to use DG4ODBC, for example MySQL.
To interface with a Cache database you can use Dg4ODBC but you need to provide the ODBC driver. There is not a 'dedicated' database gateway for that product. That is why we provide the DG4ODBC which can interface with any non-Oracle database or datastore for which a compatible ODBC driver is available.
This note available on My Oracle Support has information about the install notes on various platforms -
Note.1083703.1 Master Note for Oracle Gateway Products
Regards,
Mike

Similar Messages

  • Transparent gateway to Sybase: connection error

    I have been trying with little success to set up a transparent gateway to a sybase server.
    The gateway is an NT 4 workstation, with an oracle server 8.1.7 installed. The sybase server is an ASE 12.0 on a Solaris 8 box.
    Are these versions of the products supported? In the gateway documentation only Sybase 11 is mentioned...
    Moreover all the examples/schemas given refer to an installation of the gateway on the same machine as the sybase server, whereas in my case the gateway is installed on a separate machine (but it is also stated that this configuration is allowed, provided a sybase client is installed togheter with the gateway).
    From what I can make of the error messages / trace files, the problem lies in the gateway not finding the sybase server. But from the sybase client installed on the gateway machine I can connect to the same remote sybase server without hassles, so the sybase client is configured correctly.
    Thanks for help,
    Gaetano Giunta
    Here's the complete details about the situation:
    Sybase client version:
    Sybase ASE client, version 12.0
    sybase environment variables:
    SYBASE=e:\sybase
    SYBASE_OCS=OCS-12_0
    Sybase server:
    Sybase ASE 12.0 on Solaris 8
    The platform/OS on which the gateway and database reside:
    Windows NT 4.0 + SP6a
    Machine Name: fsiazi08
    Oracle database server:
    Oracle 8i enterprise edition, Version: 8.1.7
    Oracle SID of the Oracle database server
    SID: gate
    Full pathname to directory where the Oracle database server is installed
    ORACLE_HOME: e:\oracle\ora81
    Versions of Net8 Server / client used by the gateway & database
    Net8 Version: 8.1.7
    Net8 Adapter used by the gateway: TCP/IP
    Oracle Transparent Gateway for Sybase:
    Version: 8.1.6
    Full pathname to directory in which gateway resides:
    Path: e:\oracle\ora81\tg4sybs
    Listing of spool log if using SQL*Plus, or the SQL statement and error message received
    SQL*Plus: Release 8.0.5.0.0 - Production on Mon Feb 18 10:27:51 2002
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    SQL> select * from "bdvo"."arcofifo"@pollo
    2 /
    select * from "bdvo"."arcofifo"@pollo
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for SYBASE]ct_connect(): directory service layer: internal directory control
    layer error: Requested server name not found.
    ORA-02063: preceding 2 lines from POLLO
    SQL>
    Listings of key files:
    tg4sybs_agt_pid.trc log file gathered with HS_FDS_TRACE_LEVEL=on
    (0) [Transparent gateway for SYBASE] version: 2.0.4.0.0009
    (0) connect string is:
    (0) YEAR2000_POLICY=-1;CONSUMER_API=1;SESSION_BEHAVIOR_FLAGS=4;PARSER_DEPTH=2000;E-
    (0) XEC_FLAGS = 131080;defTdpName=tg4sybs;binding=(tg4sybs,SYBASE,"sqlbdvlin1");
    (0) ORACLE SYBASE GATEWAY Log File Started at 15-Feb-02 16:54:43
    (0) ct_connect(): directory service layer: internal directory control layer error:
    (0) Requested server name not found.
    (0) Unexpected error: Get Sybase Logon: app:TG4SYBS$2, user:, pass:,
    (0) service:sqlbdvlin1.TG4SYBS$2, server:sqlbdvlin1
    (0) Unexpected error: , connect
    (0) ct_connect(): directory service layer: internal directory control layer error:
    (0) Requested server name not found.
    (0)
    (0) Closing log file at FRI FEB 15 16:54:44 2002.
    inittg4sybs.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an SYBASE gateway Agent.
    # HS init parameters
    #HS_FDS_CONNECT_INFO=sqlbdvlin1.master
    #HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_CONNECT_INFO=sqlbdvlin1.procs
    HS_FDS_TRACE_LEVEL=on
    # Environment variables required for the non-Oracle system
    set SYBASE=e:\sybase
    set SYBASE_OCS=OCS-12_0
    tnsnames.ora
    # TNSNAMES.ORA Network Configuration File: E:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    GATE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = gate)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = gate)
    (PRESENTATION = http://admin)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    tg4sybs = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=fsiazi08)(PORT=1521))
    (CONNECT_DATA=(SID=tg4sybs))
    (HS=OK)
    listener.ora
    # LISTENER.ORA Network Configuration File: E:\oracle\ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = gate)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = gate)
    (SID_DESC=
    (SID_NAME=tg4sybs)
    (ORACLE_HOME=E:\oracle\ora81)
    (PROGRAM=tg4sybs)
    CONNECT_TIMEOUT_LISTENER = 0
    Sybase interfaces file (e:\sybase\ini\sql.ini)
    ;; Sybase Interfaces file
    ;; <link_type>=<network_driver>,<connection_info>
    ;; Examples:
    ;; [JUPITER]
    ;; QUERY=NLMSNMP,\\JUPITER\pipe\sybase\query
    ;; WIN3_QUERY=WNLNMP,\\JUPITER\pipe\sybase\query
    [bdvlin1]
    master=TCP,10.1.1.238,4000
    query=TCP,10.1.1.238,4000
    Sybase net-library configuration (e:\sybase\ocs-12_0\ini\libtcl.cfg)
    ; This is the sample Net-Library configuration file which
    ; shows how to specify the different types of drivers which
    ; will be used by Client-Library and Server-Library
    ; applications.
    ;      This is the sample for NT platforms.
    [DRIVERS]
    NLWNSCK=TCP Sockets
    NLWNSCK=TCP/IP Sockets
    ;[NT_DIRECTORY]
    ;REGISTRY=LIBDREG ditbase=SOFTWARE\SYBASE\SERVER
    ;[SECURITY]
    ;NTLM=LIBSMSSP

    Gaetano,
    The supported products that we list in the manual is only what we have tested at print time. However we update our certification matrix regularly.
    Please refer to the certification matrix on Technet.com ( http://otn.oracle.com/products/gateways/pdf/certmatrix2.pdf) for the latest certified configurations.
    It looks like you have installed the gateway in the same Oracle home as the database. With v8.1.6 of the gateway this is not possible. With v9.x onwards this is possible.
    You can either reinstall the gateway in another Oracle home or upgrade to v9.x.
    I recommend that you upgrade to v9.x, since v8.x will be desupported shortly.
    As of v9.x the Sybase gateway is located on the database CD and you can install it by doing a custom install.
    Vira

  • Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database

    I am having trouble establishing a database connection.  I can  connect with test databases but am having trouble using dreamweaver wtih  my existing wordpress website.  Am I able to use dreamweaver to edit  and live view my changes before uploading the changed files to my live  site?  Am I able to access my existing wordpress database with  dreaweaver?  I have imported it to my testing server/database but still  seem to be having trouble establishing a connection with it (think maybe  my folder hierarchy might be off).
    macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
    "nwm" is the name of the folder that I have copied all of my site  files to and the folder I have dreamweaver pointing to.  "wp" is what I  have all of the wordpress files in (the ones I copied from my yahoo  server - including all my current theme files etc.)
    I am trying to put the info into the mysql connection dialog box:
    Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
    MySQL Server: mysql
    User Name: *****
    Password: *****
    Database: wp
    and am getting this message
    MySQL Error#: 2013
    Lost connection to MySQL server at 'reading initial communication packet', system error 61
    did some google seaches of the error.  Tried turning off the  firewall, and the advance tab allow mysql incoming  (there were 2 one  was allow one was not allow.  I changed both to allow)
    Cant really find anything on yahoo to help me out.  Looked in  phpmyadmin database named wp: wp_users to get the username and password  (which due to previous look for help - I think the password was  encrypted cuz it looked like a bunch of mumbo jumbo and am fairly  certain I know the correct password).
    Any help would be greatly appreciated!! I spent $50 on live chat  last night trying to resolve the issue only to find out at the end that  the guy really didn't understand my problem and doesn't have  dreamweaver.  I have also watched countless videos on Lynda.com and have  been thru forum after forum.  While this problem is only a couple weeks  old since I just got CS5.  I have been having trouble making any  headway learning php since I cant seem to make it past the set up  parts.  I have done the php / mysql essential training on lynda.com with  relative success except that I really dont want to work with any more  exercise files so I didn't go on to the beyond the basics. I recently  went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the  first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start  integrating things into my live sites.  I am also trying to work my way  thru the learning php, mysql, javascript book by o'reily media by robin  nixon (as fun as reading a math text book) can't get thru it since I  can't relate any of it to my current sites/needs
    I am on MacBookPro OSX 10.6.6
    Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
    Tested the testing server and is working
    Just installed dreamweaver cs5
    have been using wordpress online to create and edit posts (recently  upgraded to 3.? whatever the latest update was online which I believe  update the files on my yahoo server?)
    Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
    Am I expecting the impossible?

    If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
    I have done all of those steps.  I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin.  When I hit live view I get one of couple of errors.
    1.  "One is that the dynamic related files could not be displayed due to an internal server error"
    At some point I was able to view some sample files inside dreamweaver.  But I would like to be able to view my real site files.  I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location).  And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
    I have been thru this so many times with so many different tutorials I am losing track of what is what.
    2.  Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time).  And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive.  Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files.  Would I re- import everytime I want to work on it to get current database?
    I am trying to be clear.  I listed all the specs I could think as listed  in your "how to get help fast post" (yes I read that at least twice  too) of all of the steps and possible reasons for my problems.  I also  thought that the forum was on a seperate site so I didn't think it would  count as a duplicate.  I am frustrated to tears and am feeling  incredibly stupid that after all this time and all these tutorials yes  you are right I obviously am not understanding what is going on which is  why I am on this forum.

  • Need help connecting a remote MySql database from Iphone

    Hi, i need to connect to a remote MySql DataBase in windows from IPhone but..... i'm a noob with Xcode and Objective-C.
    Can someone help me or explain me the way to do it plz?
    Message was edited by: Krovax87
    Message was edited by: Krovax87

    I do not think MCPKit will help you on the iPhone. It is just an Objective-C wrapper around the standard mysql libraries which are not available for the iPhone. Your best bet would be to post on the mysql forums and see if you can get any help.
    You can try extracting the mysql client library source code into a separate static library project, and see if you can get it to build for the iPhone.

  • Need help connecting a MS Sql Database in CF Administrator

    Good morning,
    I`m hoping someone out there can help me.
    I simply want to add a MS SQL datasource within Coldfusion Administrator.
    I have connected to it successfully with Sql Server Management Studio, using Windows Authentication.
    I`m assuming I need to use Windows Authentication to connect within Coldfusion Administrator
    How do I fill out these fields then:
    because I am getting this error:
    Connection verification failed for data source: test
    java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer  JDBC Driver]Error establishing socket. Unknown host: local
    The root cause was that:  java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC  Driver]Error establishing socket. Unknown host: local
    I have also tried it with localhost as opposed to local.
    Please help?
    Thanks;
    Rhonda

    I believe you DON'T.
    ColdFusion, by default, does not run as any type of user that would work with Windows Authentication.  It can be set up to do so, through the windows services panel.  You configure the ColdFusion service(s) to "Log On As" some windows domain account with the desired permissions.  This is normally done to allow CFML code to access network resources for file operations and the like.
    But, I don't know if that is good enough for a connection to a SQL server.  I've never had to deal with it myself (I have operations and database administrators types who deal with this for me).  But I have read many many times on forums like this that the default security configuration of SQL server does not work with ColdFusion.  That one has to set up an alternate configuration in SQL, TCP/IP I think?

  • One Report needs to connect to 20 different databases

    Post Author: macgary
    CA Forum: Data Connectivity and SQL
    We have 20 identical databases - structurally - but differing in their regional data.
    We have created some various reports that need to run against various databases in SQL Server.   I would like to avoid having to create 20 variations of each report varying only in their database connections.
    Does anyone have an idea of how I can pass the database name into the connection so I can make the one report work on any of my structurally similar databases?
    Thanks,
    Gary

    Post Author: Hieu
    CA Forum: Data Connectivity and SQL
    Select "Set Datasource Location" under the Database menu.

  • Example needed for connecting to 3 Informix databases

    I'm attempting to connect and use 2 different informix databases within the same app.
    Connection 1 (Sql selects records where status = 'pending'
    Connection 2 (Results from connection 1 are passed to a stored procedure
    Connection 3 (Updates Database used in con1 with return values from con2
    I'm able to successfully code connection 1 but I'm totally confused on the others.
    How do you switch back and forth between each connection?
    Thanks in advance
    Steve

    all you need to do is make 2 connections:
    //setup code
    Connection conn1 = DriverManager.getConnection(url, user, pass);
    Connection conn2 = DriverManager.getConnection(url2, user2, pass2);I have made a couple of classes that can simplifiy this. e.g. the entire code consists of
    dbConnection oc = new OracleConnection();
    dbConnection pc = new PostgresqlConnection();
    oc.createConnection("prodops");
    pc.createConnection("test");I havn't made an informix class, but they are simple to do. Give me your email address if you want the classes.
    Pete

  • Why use Transparent gateway in stead of heterogenous Connectivity

    I am looking for a solution to update data in a AS400 environment through a oracle DB.
    I found information to do this. I can use transparent gateways or Generic Connectivity.
    Generic connectivity is free and for transparent gateways I have to pay.
    But what is the different between the two?
    What is the limitation of Generic connectivity?

    As you stated, Generic Connectivity is for free - from the Oracle license point of view.
    But it requires a 32bit ODBC driver from a 3rd party vendor which might require to purchase a license for the ODBC driver.
    The big difference is GC (=HSODBC) is NOT availbale for all platforms (only in 10g for Sun Sparc Solaris, AIX, HP-UX RISC, Linux 32bit and Windows) AND it is bundled with the Oracle database. This means you MUST have an Oracle database installed on the machine where you configure generic connectivity.
    The gateway (TG4DRDA) or TG4DB2400 is independant from an Oracle db.
    TG4DB2400 is installed on the AS400 machine and you can connect from any Oracle db on any platform to the gateway which then handles the connection.
    Similar for TG4DRDA; only the platform availibility is different.
    The next big difference/advantage of the gateways is the 2PC (2 phase commit) or distributed update control. You can insert something into the Oracle db and without commiting into the foreign db. Now commit your work and the gateway takes care that the transaction is only valid if BOTH inserts went well.

  • A question about transparent gateway,sb help me plz!!

    hi all:
    i met a problem while trying the transparent gateway for ibm drda
    1.i have the listner.ora configured like this:
    =================================================================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = felix)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = tg4drda)
    (SID_NAME = TEST)
    (ORACLE_HOME = E:\oracle\oradrda)
    =================================================================
    2.and the tnsnames.ora configured like this:
    =================================================================
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.10.11)(PORT = 1521))
    (CONNECT_DATA =
    (SID = TEST)
    (SERVER = DEDICATED)
    (HS = ok)
    (HS = OK)
    =================================================================
    3.and the initTEST.ora configured like this:
    =================================================================
    set DRDA_CONNECT_PARM=localhost:446
    DRDA_REMOTE_DB_NAME=test (database name of db2)
    =================================================================
    then i log on as user system and create a database link dblink1.But when i try the sql statment "select * from t1@dblink1"
    such error came up:
    # ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    #ORA-02063:preceding 2 lines from dblink1
    somebody help me plz,tell me how to deal with such a problem,thanks a lot!!!
    Best regards!

    Hi Felix,
    Please take a look at note 234517.1 on metalink (copied below).
    This note explains how to resolve the following error messages when using Transparent Gateways or Generic Connectivity:
    ORA-3113; ORA-2019; ORA-2085; ORA-12154; ORA-28545; ORA-28546; ORA-28509; ORA-942; ORA-904; ORA-28500;ORA-28528
    SCOPE & APPLICATION
    This note should help to solve common error messages when using generic
    connectivity or gateways.
    Common errors with gateways or generic connectivity
    Here are the English descriptions of each error; to compare your message
    with the message below, you can alter your current SQL*Plus session
    and compare your message with the messages listed in this note:
    alter session set nls_language=american;
    ORA-3113:
    SQL> connect system/manager@tg4msql;
    ERROR:
    ORA-03113: end-of-file on communication channel
    Resolution:
    You can't connect with SQL*Plus directly to the foreign
    data store. HS or Gateways are only designed to work with
    a database link from an Oracle database to the foreign
    data store
    ORA-2019:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    Resolution:
    Create a database link to connect to the foreign database
    create [public] database link <db link name>
    connect to <user of the foreign datastore>
    identified by <password of this user>
    using '<SQL*Net ALIAS>';
    For case sensitive usernames/passwords of foreign databases,
    surround the user and password with double quotes.
    create [public] database link <db link name>
    connect to "<user of the foreign datastore>"
    identified by "<password of this user>"
    using '<SQL*Net ALIAS>';
    ORA-2085:
    SQL> select * from all_catalog@tg4msql_v91;
    select * from all_catalog@tg4msql_v91
    ERROR at line 1:
    ORA-02085: database link TG4MSQL_V91.DE.ORACLE.COM
    connects to HO.WORLD
    Resolution:
    This problem is related to GLOBAL NAMES.
    The simplest way to disable global naming is to alter
    the current session.
    alter session set global_names=false;
    The other solution is to add a global_name to the
    gateway/hs:
    HS_DB_NAME = <datasource>
    HS_DB_DOMAIN = <DOMAIN>
    But the HS_DB_NAME must not exceed 8 characters and
    must not contain any extra characters. If this is not
    possible, the globale naming can be disabled by setting
    GLOBAL_NAMES = FALSE in the init.ora of the database
    as well
    ORA-12154:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name
    Resolution:
    The database link uses a SQL*Net alias not specified
    in the TNSNAMES.ORA of the database server.
    Query the data dictionary to figure out the 'HOST'
    specified for the database link:
    select db_link, host from user_db_links;
    or
    select db_link, host from dba_db_links;
    The 'HOST' value is the alias of the SQL*Net.
    Please make sure it exists in the TNSNAMES.ORA file
    present at the Oracle database server.
    ORA-28545:
    SQL> select * from all_catalog@demo;
    select * from all_catalog@demo
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from DEMO
    Resolution:
    There's something wrong with the SQL*Net connection:
    - checking the SQL*Net -> Listener configuration with TNSPING:
    tnsping <SQL*Net alias>
    TNS-12545: Connect failed because target host or object
    does not exist
    The HOSTNAME specified in the TNSNAMES.ORA is invalid
    Try with the OS ping to resolve the hostname / IP adddress
    TNS-12541: TNS:no listener
    The hostname specified in the listener.ora points to a
    machine without an Oracle listener, the listener on that
    machine is not running or the port number is wrong.
    NO ERROR with TNSPING:
    This might be caused by an invalid SID configuration.
    Please make sure, that the SID in the listener refelects the
    SID specified in the TNSNAMES.ORA. Make sure you don't mix
    SID syntax with SERVICE_NAME syntax.
    If everything is configured well, please make sure that
    lsnrctl status shows at least one service handler for
    hsodbc. Probably restart the listener AFTER changing
    the listener.ora file.
    Still no error found, then please enable listener tracing
    (level support) and have a look at the listener.trace file
    after retrying the same select statement again.
    In the file you should see the connect from the Oracle
    database to the listener. After a few lines you should see that
    the listener tries to open 2 pipes. Does this work or does it
    fail and again a few lines later you see a hex/ascii block that
    conatins an error stack like:
    ERR=12500, CODE=12500, EMFI=4, CODE=12560, EMFI=4?
    Then please check again the listener.ora file; is the
    ORACLE_HOME directory specified within the listener.ora file
    correct? Or if you are using environment variables in the
    listener.ora please replace them with absolute paths.
    ORA-28546
    CAUSE 1:
    SQL> select * from all_catalog@demo;
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02068: following severe error from DEMO
    ORA-03113: end-of-file on communication channel
    Resolution:
    This error might be caused by a misplaced 'HS=' or 'HS=OK' key
    word in the tnsnames.ora.
    Make sure HS= or HS=OK is present and that the SID Connect String
    looks like:
    (CONNECT_DATA =
    (SID = tg4msql)) <= there are 2 closing brackets! The HS
    (HS=)) <= key word is OUTSIDE of connect_data
    CAUSE 2:
    SQL> select * from all_catalog@test;
    ora-28546: connection initialization failed, probable net8 admin error
    ora-29511 lost rpc connection to heterogeneous remote agent SID ...
    ora-02063 preceding 2 lines from test
    Resolution:
    This behaviour can be found in situations with a version missmatch.
    For example the Oracle database is release 9.2.0.4 and the gateway
    itself 9.2.0.1
    => The fix is to apply the same database patchset (gateway patches
    are part of the database patchsets) to the gateway home as well;
    or if the gateway 9.2.0.1 was installed into a 9.2.0.4 database
    directory to reapply the database patchset.
    ORA-28509:
    Older gateways report this error instead of giving a
    deltailed error description.
    Resolution:
    This error indicates the same as the errors described above.
    They can be solved by checking the SQL*Net configuration
    for the gateway / generic connectivity setup.
    ORA-942:
    SQL> select irgendwas from demo@demo;
    select irgendwas from demo@demo
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ...(the text here depends on the library/odbc...
    ORA-02063: preceding 2 lines from DEMO
    Resolution:
    make sure the table exists in the foreign data store.
    Pay attention that some foreign data stores are case
    sensitive and thus the table_name must be surrounded
    by double quotes.
    ORA-904:
    SQL> select irgendwas from "demo"@demo;
    select irgendwas from demo@demo
    ERROR at line 1:
    ORA-00904: "IRGENDWAS": invalid identifier
    Resolution:
    Make sure the column name specified exists at the foreign
    table and if it is case sensitive, surround it by double quotes.
    ORA-28500:
    CAUSE 1:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned
    this message:
    [Generic Connectivity Using ODBC][H006] The init parameter
    <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora
    file.
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The connect information to the remote database or the ODBC DSN is not
    found. Add the proper connect string required by the gateway or hs/
    generic connectivity agent.
    CAUSE 2:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-28541: Error in HS init file on line 11.
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The init.ora of the gateway / generic connectivity contains an
    invalid parameter in line 11
    CAUSE 3:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
    [Microsoft][ODBC SQL Server Driver][SQL Server]Error authenticating user
    'sa'. (SQL State: 00000; SQL Code: 18456)
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    The username password for the database link is wrong or no connect
    information was specified.
    Make sure that for case sensitive usernames/passwords the create
    database link statement contains the double quotes for the
    username/passwords.
    Further make sure you specified a username and password. OS
    Authentication is currently not supported by most of the
    gateways of by generic connectivity.
    CAUSE 4:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned
    this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does
    not exist or access denied.[Microsoft][ODBC SQL Server Driver]
    [TCP/IP Sockets]ConnectionOpen (Connect()).
    (SQL State: 00000; SQL Code: 10061)
    ORA-02063: preceding 2 lines from HSODBC
    Resolution:
    Make sure the foreign database is up and running on the configured
    machine.
    ORA-28528:
    SQL> select * from DecimalType@hsodbc;
    ERROR:
    ORA-28528: Heterogeneous Services datatype
    conversion error
    Resolution:
    The language of the foreign data store (remote database)
    does not match with your Oracle database settings.
    Starting with 9.2.0.l4 this error might occure for example '
    if numeric values will be truncated.
    Adapt in the Gateway/Generic Connectivity initialisation file
    the parameter HS_LANGUAGE.
    HS_LANGUAGE must be set to the LANGUAGE used in the FOREIGN
    database.
    as a play with 2 settings and check out which one works:
    1. Try:
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    Do you still get the error? Yes, proceed with the second try:
    2. Try:
    HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
    (or to any other territory that uses a komma as decimal separator)
    ORA-24274:
    SQL> select * from all_catalog@<db_link>;
    select * from all_catalog@<db_link>
    ERROR at line 1:
    ORA-28522: error initializing heterogeneous capabilities
    ORA-28522: error initializing heterogeneous capabilities
    ORA-28559: FDS_CLASS_NAME is <GTW>9.2.0.5.0_128, FDS_INST_NAME is <link>
    ORA-02063: preceding 3 lines from %s
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24274: no row exists in the HS$_BASE_CAPS table for these parameters
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_HS_UTL", line 431
    ORA-06512: at "SYS.DBMS_HS_CHK", line 51
    ORA-06512: at "SYS.DBMS_HS_UTL", line 48
    ORA-06512: at "SYS.DBMS_HS", line 38
    ORA-06512: at line 1
    Resolution:
    This special combination of errors might occure after applying
    the Oracle database and gateway patchset 9.2.0.5 WITHOUT
    running catpatch (=the upgrade script of the database).
    => Please run catpatch. If it ran successfully but connectivity
    still fails you may run
    cathnohs.sql and caths.sql to recreate the HS data
    dictionary tables. BUT BE CAREFUL: Running CATHNOHS drops ALL
    gateway/generic connectivity related database links!
    Hope this helps,
    Mark.

  • How to connect to a MySQL database in another server

    Dear friends,
    I am using Oracle SQL Developer 1.5.3 and I need to connect to a MySQL database located in another server.
    I am trying to create a new connection, informing connection name, username and password. Supposing that "Hostname" is the IP server address, I click on "Choose database", but I always receive the following error message: "Status : Failure - Cannot connect to MySQL server".
    Please tell me what I should do to solve this situation. Thanks in advance.
    Best regards,
    Franklin

    You need to configure your mysql database to accept connection from your PC for the user you used.
    For example,
    GRANT ALL ON *.* TO 'someuser'@'somehost';
    FLUSH PRIVILEGES;

  • Connection String to Local Database Problem

    I just copied a database on the development server which I am not owner of, but I have rights to the database. I copied it to my local server. Now I need to connect to the local database and I don't know how.
    Dim MM_cnnName_STRING
    MM_cnnName_STRING = "Provider=SQLOLEDB.1;Password=xxx;Persist Security Info=True;User ID=xxx;Initial Catalog=DBName;Data Source=DevComputerName"
    The above is what I used to connect to the development server. How can I figure out the string for my local MS SQL Server

    Now I have this error once I try to bring up a page that calls the db
    Microsoft OLE DB Provider for SQL Server error  '80004005'
    Login failed. The login is from an untrusted domain  and cannot be used with Windows authentication.
    /CourseList.asp, line  9

  • Unable to connect to the specified database

    I am evaluating the Oracle Report Builder and I am trying to connect to a Sybase database using ODBC.
    I have successfully made a connection with the Query Builder but have not been able to connect with Report Builder.
    I get the following error:
    REP-0501 unable to connect to the specified database
    ORA:00021:invalid session id: access denied.
    Any help on this as to what I need to connect to a sybase database would be most appreciated

    I checked the sqlnet.ora on the server ,its not contain any thing like that:it just contain:
    # sqlnet.ora Network Configuration File: C:\Ora10iAS\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, LDAP, EZCONNECT, ONAMES)
    so ,what to do ,what to add here??please the problem come back again ,all the offices are ok except that office and they format the machine and change every thing but it stil cant run the report.
    Best Regards

  • Can I use the 10402 oledb provider to  connect to an 8i database?

    I have a win2008 x64 server with the oracle 92 client installed, and I installed the 10402 client and oledb provider.
    I need to connect to an 8i database.
    Is this possible? If so, how do I setup my environment to make this work?
    Thanks,
    OracleNewb

    880676 wrote:
    Is it possible that the "ALTER SESSION" error (just when the application try to connect to the database) is due to change of the client? in this case 11?Possible? Sure. We'd need to see the actual error and the actual SQL statement that is being issued, however. It could be any number of things.
    If I have not other option that to use the client Oracle 9.2.0.4 or higher, can I set something in the Oracle 11 instance configuration in order to accept the "ALTER SESSION" sent by the application?
    By the way, there are any "ALTER SESSION" option that was deprecated in Oracle 11 vs Oracle 8?Oracle 8 could mean a bunch of different versions. If you mean, for example, Oracle 8.0.5, there were eleven major releases between Oracle 8.0.5 and Oracle 11.2. You could look through the New Features guides of each major release to look for parameters that were deprecated. But it probably makes more sense to tell us the actual SQL statement that is failing so we can let you know what options you have.
    Justin

  • Query about multiple connection pools under one database

    Hi,
    I have s query about connection pool, now we have a requirement,
    we have two schemas in one db, some data store in one schema, some in another schema,
    all tables are the same, but data is different, we want to retrive all data under two schemas,
    so we need two connection pools under one database,
    I have set two system DSN, and each connection pool was mapping to one DSN,
    but after I importing tables into RPD, when I view data, there is a dialog let me select connection pool. so If this, when we drag columns in answer, it will definitely get wrong.
    so how to realize this function about multiple connection pools under one database and we can get data normally.

    Hi,
    Try this step
    1)Better to create two different DSN for the same database with different user id and password
    2)now create multiple connection pool in the same database in u r RPD physical layer .
    also refer this link : for imporving performance
    http://obiee101.blogspot.com/2009/01/obiee-multiple-connection-pools.html
    http://gerardnico.com/wiki/dat/obiee/connection_pool
    Thanks
    Deva

  • Error while connecting oracle11g to sql server through transparent gateway

    Hello
    i'm facing this errors when i try to connect oracle 11g to sql server through transparent gateway:
    http://www.freeimagehosting.net/newuploads/d4454.jpg
    the directory for my db is : C:\oracle\product\11.1.0\db1
    and for the gateway: C:\oracle\product\11.1.0\dg4msql
    the configurations i used:
    gateway :
    tnsnames.ora:
    dg4msql =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    listener.ora:
    GATELIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1522))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = dg4msql)
    (SID_NAME = dg4msql)
    (ORACLE_HOME = C:\oracle\product\11.1.0\dg4msql)
    and for the oracle database :
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
    tnsnames.ora:
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db1)
    gateway =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql)
    (HS=OK)
    thanks :)
    Edited by: 903043 on Dec 18, 2011 6:18 AM

    Did you go through the various steps in the doc?
    There is a gateway specific forum below;
    Heterogeneous Connectivity
    Cheers
    David

Maybe you are looking for