Ora-00164 with generic connectivity

I have an Oracle 9iR2 database over linux RHAS 2.1 and try to replicate data to an informix server. For that purpose i have another oracle 9i over windows 2000 (brige) to make the replication using database triggers on tables in the Ora9i windows database. When i make transactions directly on the windows database, the data is replicated without problems to the informix server, but when i make the transactions on the linux database to the tables on the windows database via dblink the ora-00164 fires. I use autonomous-transaction on the triggers over the windows databse to make the replication.
Is there any way to overcome this problem??????
Any other alternative to make the replication work will be helpful.
Andrés Wong

I tried this and get the same error message.
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 ALPACWOBF
(ADDRESS = (PROTOCOL = TCP)(HOST = spruce)(PORT = 1521))
(SID_NAME = alpacwobf)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = hsodbc)
alpacwobf.3LOG.COM =
(SID_NAME = alpacwobf)
HS_FDS_TRACE_FILE_NAME = alpacwobf.log
ODBC setting is ok. odbc name is alpacwobf, db is access 2000.
restart the listener.
tnsping alpacwobf is ok.
database link creating is ok.
but when query,I got error.
alpac > create database link alpacwobf using 'alpacwobf';
Database link created.
alpac > select count(*) from [email protected];
select count(*) from [email protected]
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 ALPACWOBF
Any help will be appreciated.
Thanks a lot.

Similar Messages

  • ORA-12514 with Easy Connect only

    On linux with a recent local install of Oracle XE:
    $ echo ORACLE_SID
    $ sqlplus system...works fine with nothing output to listener.log. I can connect no problem. However if I try:
    $ sqlplus [email protected]:1521/XEI get the following in listener.log:
    08-SEP-2008 14:03:11 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus)(HOST=my.host.local)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST= * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptorTnsping works:
    $ tnsping XE
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)My tnsnames.ora is:
    $ cat /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
        (ADDRESS_LIST =
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )I put the listener in trace at the SUPPORT level. I can post that dump as well if it would help?
    Without the Easy Connect connection identifier is it that I'm connecting via IPC? This is preventing me from remotely connecting via sqlplus or JDBC over an SSH tunnel of 1521 (the box is firewalled).
    Edited by: ibrandt on Sep 8, 2008 2:29 PM - Fixed unintended wiki markup.
    Edited by: ibrandt on Sep 8, 2008 3:19 PM - Formatting.

    Well, I've gotten it to work by changing 'localhost' to 'myhost.mydomain.local' (name changed to protect the innocent) in tnsnames.ora and listener.ora, adding myhost.mydomain.local to my local DNS server such that it resolves to eth0's external IP, and restarting oracle. After that...
    $ lsnrctl status XE
    LSNRCTL for Linux: Version - Production on 09-SEP-2008 12:08:07
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version - Production
    Start Date                09-SEP-2008 12:07:29
    Uptime                    0 days 0 hr. 0 min. 37 sec
    Trace Level               support
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listener Trace File       /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Listening Endpoints Summary...
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully...which is notably different from before. After that I can connect with:
    sqlplus system/[email protected]/XEAlso of note, using the external IP directly in tnsnames.ora and listener.ora did not work.
    So my new question is, why does Oracle need a HOST=hostname--where hostname resolves to an external IP--to startup correctly? Though I have 1521 firewalled from the outside world it seems like an unnecessary security hole.

  • ORA-12519 with servlet connect

    I'm facing a strange behaviour on my tomcat webserver with a servlet. I'm using Oracle 10g as the database and try to access it with my servlet.
    The doPost-method throws the following exception while trying to establish the connection to the RDBMS:
    Connecting not possible:
    Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:DBTEN"
    After starting my servlet, the connection to the database for other applications blocks with the same error message
    for a few minutes. After these few minutes connecting to the database is possible again!!! Restarting the database and the listener also helps...
    public void doPost( HttpServletRequest request, HttpServletResponse response ) throws IOException, ServletException {
    Connection conn = null;
    response.setContentType( "text/html" );
    PrintWriter out = response.getWriter();
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    }catch( ClassNotFoundException cnf ){
    out.println( "CNFException: "+cnf.getMessage() );
    //retrieve Connection
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    out.println( "SQLException: <BR> Connecting not possible: <BR> "+sqle.getMessage()+"<BR>" );
    When I put that part in a 'normal' main program everything is ok. I can connect to the database and access tables with select statements and everything is ok.
    public static void main(String[] args) {
    Connection conn = null;
    //retrieve Connection
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    }catch(ClassNotFoundException cnf){
    System.out.println( "CNFException: "+cnf.getMessage() );
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    System.out.println( "SQLException:"+sqle.getMessage() );
    Does anyone have an idea what the problem is in this case?

    "Note: The use of the DriverManager class to establish a connection to a database is deprecated." --
    To open a connection use something like this:
    OracleDataSource ods = new OracleDataSource();
    Instead of this:
    DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "username", "password");

  • Frm-40375 and ora-306500 with ODBC connection

    Hi experts,
    I am getting frm-40375 , ora-306500 when clicking a button on form , the code behind the button is actually connecting to a database other than oracle using the ODBC connection and importing data in variables and than inserting in an oracle table.
    The error only appears on other PCs and not on my pc , means there is no problem in the code and is working fine on my pc (importing the desired data when using my pc).
    The question is what is missing on other PCs or in other words what is additional component in my PC.
    Please tell when and why this ora-306500 occurs.
    Hope I defined the problem correctly.
    (the following is part of the code
    connection_string:='user/[email protected]:abcd123';
         connection_id := EXEC_SQL.OPEN_CONNECTION(connection_string);
         cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
    Using Oracle 9i Database
    and 6i Forms
    Thanks in advance
    Edited by: zulfffi on Jun 29, 2010 11:08 PM

    ora-306500I seriously doubt this is actual error code.
    AFAIK - Oracle errors have not yet reached 6 decimal places.
    please use COPY & PASTE in the future

  • Generic connectivity to Sybase and outer join problem

    I have a need to query records from a Sybase database running on Linux
    (32-bit) and am using Oracle with generic connectivity (no
    specific heterogeneous service/transparent gateway for Sybase on Linux, that I see). We have installed
    an ODBC driver on the Oracle server and can query the Sybase database
    without difficulty except for outer joins.
    I have tried using both the Oracle syntax and the ANSI syntax. Both
    return results that are consistent with using an inner join. The ANSI
    query, run directly against the Sybase database returns the correct
    data (of course, removing the database link syntax).
    I was looking into the possibility of using dbms_hs_passthrough, but
    it does not appear to be part of the generic connectivity.
    Is there a better/right way of doing this? Aren't outer joins supported?

    As a followup, I did get dbms_hs_passthrough working and am able to get the correct data back. However, I would like to leave this as a backup.
    Aren't outer joins supported in the generic connectivity?

  • Error creating a multisource data foundation with generic odbc connection

    Hi all,
    we've created a generic odbc datasource connection to a Pervasive database.
    When creating a single source data foundation and universe with this connection everything works fine.
    When we try to create a multisource data foundation we can add the connection,
    but while trying to expand the connection we get the error message "Owners are not available".
    Same message when trying to inert a table.
    (We've created both a 32 bit and a 64 bit DSN)
    System: BO 4.1 SP2 PL3
    Any ideas?

    Hi Silvia,
    The generic odbc is not a supported connection for a multisource universe.
    This information is available in the product availability matrix.
    1. Log into the SAP Support Portal
    2. choose the Tab for Release & Upgrade Info
    3. Choose the Link Product Availability Matrix.
    Hope this helps!

  • Help with circumvention of ORA-01472: cannot use connect by on view with ..

    Any help resolving the following would be v. helpful.
    The Aim
    Produce a hierarchical report of all users and the privileges they have via the various roles they are granted.
    The SQL
    select lpad(' ', level*2,' ')|| granted_role from (select grantee, granted_role
    from dba_role_privs
    select role, granted_role
    from role_role_privs
    select role, privilege
    from role_sys_privs
    select 'All users', username
    from dba_users)
    start with grantee='All users'
    connect by prior granted_role = grantee;
    The error
    ORA-0147: cannot use connect by on view with DISTINCT, GROUP BY, etc.
    The database
    Oracle (Yes I know ....)
    The Solution
    [Thanks in advance]

    What if you create a table first
    create table role_grants as
        select granted_role, grantee
           from (select grantee, granted_role
                   from dba_role_privs
                 select role, granted_role
                   from role_role_privs
                 select role, privilege
                   from role_sys_privs
                 select 'All users', username
                  from dba_users)
    Then run the hierarchical report
    select lpad(' ', level*2,' ')|| granted_role
       from role_grants
       start with grantee='All users'
       connect by prior granted_role = grantee

  • Generic Connection with weblogic.jdbc.sqlserver.SQLServerDriver

        I am able to setup the SQLServer Generic connection in jdeveloper no issue with that, but i am trying the same in the server with jython as follows:
    ods =  OracleDataSource();
    con = ods.getConnection(); // at this point
    And i am getting "Invalid Oracle URL specified"
    If you have encountered such issue. I will greatly be thankful, for you input.
    Please let me know what i have missed or wrong.

    test test wrote:
    I am just writing a test program in Eclipse and tried to connect to MS SQL Server. I added weblogic.jar to project lib. But it complaints ClassNotFound: weblogic.jdbc.sqlserver.SQLServerDriver. where is it?
    Found out I have to have wlbase.jar wlclient.jar wlutil.jar wlsqlserver.jar.You need wlbase, wlutil, wlsqlserver, and weblogic jars.

  • How to do a Generic Connectivity (ODBC) ?

    Generic Connectivity provide Oracle Database to connect another
    database via ODBC. In my case, it is Oracle 8.1.6 which connects
    to Sybase Enterprise 11 on Win NT. The Module "Generic
    Connection" is installed. I view it by the Oracle Universal
    Installer and I have configured the Windows ODBC Manager to
    connect to Sybase.
    This is what I've done step by step:
    1. C:\Oracle\Ora81\hs\Admin\iniths_syb.ora
    HS_FDS_TRACE_FILE_NAME = hs_syb.log
    2. C:\Oracle\Ora81\Network\Admin\Listener.ora
    (ADDRESS = (PROTOCOL = TCP)(HOST = nacional)(PORT = 1521))
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = oracle)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (SID_NAME = oracle)
    (SID_DESC =
    (SID_NAME = hs_syb)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (PROGRAM = hs_syb)
    I reload the listener by the following command :
    3. C:\Oracle\Ora81\Network\Admin\Tnsname.ora
    ORACLE =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
    (SERVICE_NAME = oracle)
    hs_syb =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
    (HS = OK)
    I test the tnsname at the prompt command line :
    tnsping hs_syb
    (It's OK)
    4. Database Link
    USING 'hs_syb';
    5. Test database link
    select * from [email protected];
    And Errors occur :
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from SYB
    6. I read again the documentation
    and I found some tables to be feed with data by the HS_ADMIN
    packtage :
    This is what I have added :
    EXEC DBMS_HS.CREATE_FDS_CLASS ('hs_syb','Uses ODBC Driver')
    EXEC DBMS_HS.CREATE_FDS_INST ('hs_syb','hs_syb','SYC Sybase
    System 10/11')
    (Drop procedure :
    EXEC DBMS_HS.DROP_FDS_INST ('hs_syb','hs_syb')
    I test one more time the connection,
    And I have the same error message as step 5.
    7. I put in the initialization file (initoracle.ora) the
    Hs_Autoregister = true (It is true by default and it doesn't
    change errors. Is it another parameters for HS ?)
    In fact, I don't really understand the notion of "AGENT" for HS
    (Heterogeneous Services) in Oracle. Is it something to enable or
    is it automatic because the iniths_syb.ora file is in the path
    ORACLE_HOME\hs\admin ???
    What is it missing for the Generic Connectivity ? Any
    suggestion ? Say me what is the wrong step in this process or
    what I have forgotten.
    Thank you in advance.
    Jobar Team

    You're right, step two needs to set (PROGRAM = hsodbc). I understand this when I saw hsodbc.exe in the path ORACLE_HOME\Bin (and at prompt I try agtctl.exe but without sucess, an utility for Heterogeneous Services).
    Now when I test the connection I can hear Oracle running something.
    This is what I've done step by step (following my previous message)I test with Sybase Entreprise and Sybase Anywhere :
    8. C:\Oracle\Ora81\Database\initoracle.ora
    I set a parameter in init file and I reload Oracle database :
    global_names = false
    OR in SQL+
    alter session set global_names=false;
    9. C:\Oracle\Ora81\hs\Admin\iniths_syb.ora
    At the beginning my iniths_syb.ora file was wrong then I correct parameters by viewing errors in C:\Oracle\Ora81\hs\trace :
    #Using a dsn file generate by the Windows ODBC Manager
    HS_FDS_TRACE_FILE_NAME = C:\hs_syb.log
    set SYBASE=C:\\Sybase\\ASE
    Contents of sybase.dsn
    DRIVER=Sybase System 11
    10. Test Database link
    USING 'hs_syb';
    select * from [email protected];
    ORA-00942: table or view does not exist
    [Transparent gateway for ODBC]393330(0,0,1[[]])
    ORA-02063: preceding 2 lines from SYB
    I try to set parameters in iniths_syb.ora without success :
    11. C:\Oracle\Ora81\hs\Admin\iniths_any.ora
    #Using a dsn file generate by the Windows ODBC Manager
    HS_FDS_TRACE_FILE_NAME = C:\hs_any.log
    Contents of anywhere.dsn
    DRIVER=Adaptive Server Anywhere 6.0
    12. Test Database link
    USING 'hs_any';
    select * from [email protected];
    In SYBASE ANYWHERE I've got this data
    select * from anytable
    dateini col1 col2
    2002-02-01 00:00:00.0000 1.5000 1.4000
    In ORACLE I've got
    SQL> select * from [email protected];
    dateini col1 col2
    01/02/02 1 1
    There isn't the decimal.
    The reason doesn't like to be 1.4 or 1,4 because in Anywhere and in Oracle It is the same insert "insert into anytable values ('02/02/01', 1.5, 1.4)".
    13. Now I try a select of one column
    select col1 from [email protected];
    this error occur :
    ORA-00904 invalid column name
    I am sure that this column exist ! "select * from [email protected];" and "select count(*) from [email protected];" are OK.
    14. And this doesn't work anymore :
    insert into [email protected] values ('01/02/02',1,2);
    ORA-02047: cannot join the distributed transaction in progress
    15. Step 6 and 7 doesn't mean to be necessary ? And Where are used parameters of the "ODBC Connectivity Requirements" in the documentation. http://technet.oracle.com/doc/oracle8i_816/server.816/a76960/hs_genco.htm (And How to use Datatype Mapping ?)
    So How to successful a ODBC connection (Maybe I forget some parameters) ? For me, using a connection with ODBC is generic and have to work fine with any type of datasource, isn't it ?
    Have you got any idea to deal ? Thanks a lot.
    Jobar Team

  • Using Oracle Generic Connectivity to connect from Oracle to Microsoft Acces

    I am trying to connect from Oracle to Access using ODBC. I followed the steps described in oracle documentation but was not sucessful. Could you plase take a look at my code let me know where I went wrong. It is as follows :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS' (System DSN). And associated accdb1.mdb to this ODBC connection.
    2)Created a table called orders in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    accdb1 =
    4)added the following lines in listner.ora :
    (SID_LIST =
    (SID_DESC =
    5) Copied inithsodbc.ora to iniths_accdb1.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    6)Created the foll dblink :
    create database link access1
    using 'accdb1';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from [email protected];
    Resulted in the foll error message
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name

    I am new to Generic Connectivity i have just followed all the steps you wrote once in this forum but i m getting the following error :
    SQL> SELECT * FROM [email protected];
    SELECT * FROM [email protected]
    ERROR at line 1:
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from MSACCESS
    Following are the steps you suggested in this forum :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS'. And associated accdb1.mdb to this ODBC connection.
    2)Created a table called ORDERS in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani.170systems.com)(PORT = 1521))
    (HS = OK)
    4)This is how the listner.ora looks after I added SID_NAME=MSACCESS :
    # LISTENER.ORA Network Configuration File: c:\orasrv\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani)(PORT = 1521))
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = c:\orasrv)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\orasrv)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ORACLE_HOME = c:\orasrv)
    5) Copied inithsodbc.ora to iniths_MSACCESS.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    6)Created the foll dblink :
    create database link MSACCESS
    using 'MSACCESS';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from [email protected];
    I have used my login table instead of orders. But i got an error that i have stated earlier.
    Can you please help me ? if possible than please forward your reply to : [email protected]
    -thank you man,

  • Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?

    Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?
    I am getting an error as follows
    "ORA-02047 cannot join the distributed transaction in progress" when i am trying a transaction, which is inserting in to db2/400 and updating in Oracle.
    if it does not support this, what is the best way
    to do such things using generic connectivity.
    (eg. by committing each sql statement ?)
    my db is oracle 9i
    remote db is db2/400 connected with client access ODBC.

    one of the restrictions of generic connectivity is, that distributed transactions are not allowed.
    See manual: 7-6 Oracle9 i Heterogeneous Connectivity Administrator's Guide
    - Generic Connectivity agents cannot participate in distributed transactions; they
    support single-site transactions only
    So you can only commit after each statement or you have to use the GATEWAY

  • HS generic connection to ingres

    Hi, I'm having a small problem with setting up a connection from oracle to ingres.
    Ingres: AdvantageIngres 2.6
    OS: Win2K for both
    Error Msg:
    select * from "airline"@HSG
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][S1000] [9013]General error in nvITrans_BeginT - rc = -1. Please refer to the log file for details.
    ORA-02063: preceding 2 lines from HSG
    Trace file:
    Oracle Corporation --- WEDNESDAY SEP 24 2003 15:56:38.797
    Heterogeneous Agent Release
    (0) hoagprd (2): ; Entered.
    (0) (0): ; [Generic Connectivity Using ODBC] version:
    (0) (0): ; Class version: 117
    (0) hoagprd (2): ; Exited with retcode = 0.
    (0) hoainit (3): ; Entered.
    (0) (0): ; connect string is: defTdpName=HSG;SYNTAX=(ORACLE8_HOA,
    (0) &lt;datasource name='HSG' type='ODBC' connect='HSG'&gt;
    (0) &lt;driverProperties/&gt;&lt;/datasource&gt;&lt;/datasources&gt;&lt;environment&gt;
    (0) year2000Policy='-1' consumerApi='1' sessionBehavior='4'/&gt;&lt;queryProcessor
    (0) parserDepth='2000' noInsertParameterization='true' noThreadedReadAhead='true'
    (0) noCommandReuse='true'/&gt;&lt;debug
    (0) generalTrace='true'/&gt;&lt;/environment&gt;&lt;/binding&gt;&lt;/navobj&gt;
    (0) ORACLE GENERIC GATEWAY Log File Started at 24-Sep-03 15:56:39
    (0) hoainit (3): ; Exited with retcode = 0.
    (0) hoalgon (7): ; Entered. name = lochard.
    (0) Created new ODBC connection (16585544)
    (0) DATABASE.C (475): ; [G000] Failed to notify driver of changed property
    (0) hoalgon (7): ; Exited with retcode = 0.
    (0) hoaulcp (4): ; Entered.
    (0) hoaulcp (4): ; Exited with retcode = 0.
    (0) hoauldt (5): ; Entered.
    (0) hoauldt (5): ; Exited with retcode = 0.
    (0) hoabegn (9): ; Entered. formatID = 306206, hoagttln = 25, hoagttid =
    (0) OIDOEM.2443a62f.10.10.193, hoagtbln = 10, hoagtbid =
    , tflag = 0, initial = 1
    (0) errors.h (1129): ; [CA][Ingres ODBC Driver]Invalid argument value (SQL State:
    (0) S1009; SQL Code: 0)
    (0) DRV_TransBegin: [CA][Ingres ODBC Driver]Invalid argument value (SQL State:
    (0) S1009; SQL Code: 0)
    (0) nvRETURN (p:\src\NAV_TM.C 141): -1
    (0) nvRETURN (p:\src\UTIL\GETERROR.C 59): -1231
    (0) apiutil.c (913): ; [S1000] [9013]General error in nvITrans_BeginT - rc = -1.
    (0) Please refer to the log file for details.
    Looks like its actually connecting ok, as it includes the message "Created new ODBC connection (16585544)"
    The ODBC driver is from CA (ingres) v3.5
    - not sure that this fully supports all the requirements specified in the doc, and its not very well documented.
    - the latest version available from their website is 2.8 which has some docs to say what it supports:
    "The Ingres ODBC driver is a 2.x ODBC driver that supports all core and level 1 functions plus the following level 2 functions:
    SQLExtendedFetch (through Microsoft Cursor Library only)
    SQLSetPos (through Microsoft Cursor Library only)"
    In order to test the configuration, I also copied the entries in the tnsnames and listener files, created a separate DSN, and set up a connection to an Access database - and this works fine, so I don't believe it is a configuration problem.
    Is there anyone out there who has tried to connect to ingres, and is there an issue with the ingres ODBC driver.
    Any help appreciated.

    I'm using the Ingres driver on NT successfully with hsodbc delivered with V92 Oracle database release.
    About the provided trace file... Normally you should have a look at the odbc driver AND the hsodbc log file to see the real cause.
    But according t the file you provided:
    This error is normal: [G000]
    The S1009 needs more clarification and thus an ODBC driver trace would help as well.

  • About the generic connectivity error.

    I use the Generic Connectivity to link a mySQL database and appeared some mistakes:
    ORA-28500: [Generic Connectivity Using ODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'SA'@'SERVER' (using password: YES) (SQL State: S1000; SQL Code: 1045)
    Is that the reason why?
    I checked once, that my ODBC parameter establishes normally.

    you need to surround the username and password while creating the database link to SQL Server with DOUBLE QUOTES.
    Look at the error message; it states: SA instead of sa.
    As MS SQL Server usernames/passwords as well as columns and tables are case sensitive for some settings you need to define the db link using double quotes as follows:
    create database link server connect to "sa" identified by "PaSSworD" using '<tns alias>':

  • Heterogeneous Services & Oracle Generic Connectivity For DBF file?

    Dear All,
    Can We Create dbf file directly means without using CSV file?
    Can we use Heterogeneous Services & Oracle Generic Connectivity for creating dbase DBF file or Writing in dbase DBF file?
    I have used it for Excel and Access for connectivity with Oracle 9i
    but I dont have any idea about dbase DBF file?
    Any help in this reagards will be highly appriciatalble.

    HSODBC/DG4ODBC is generic connectivity and you find the generic setup in:
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003)
    There is nothing sepcial for DBF's. Just define a system ODBC DSN using a DBASE ODBC driver pointing to the DBF file.
    The rest is absolute similar to the note.
    If you have already a running HSODBC/DG4ODBC the quickest test is to just define a new system dsn for the DBF file, then change in the init>hsodbc/dg4odbc>.ora file the HS_FDS_CONNECT_INFO parameter pointing to the newly created system DSN. Last step is within the Oracle db to define a database link.

  • Could not find symbol 'SQLAllocConnect' for generic connectivity

    I am using Oracle 10gR2 64-bit on Linux 64-bit. I am trying to connect to an MSSQL box on Windows. I know that hsodbc is officially not supported on 64-bit OS.
    My connection using freetds works as well from unixODBC (verified by tsql, isql). The problem is in the next layer up - hsodbc. I copied it from a 32-bit Linux box as it was 0 bytes on 64-bit box.
    Here is what I have in initSQLGUY.ora -
    HS_FDS_CONNECT_INFO = sqltest
    HS_FDS_TRACE_FILE_NAME = freetds.trc
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32
    where sqltest is the name of my dsn. My listener.ora has -
    (SID_DESC =
    (ORACLE_HOME = /opt/oracle/product/10.2)
    (PROGRAM = hsodbc)
    My tnsnames.ora has -
    with this configuration, tnsping works -
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521)) (CONNECT_DATA= (SID=SQLGUY)) (HS=OK))
    OK (0 msec)
    However my db link fails with -
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    ORA-02063: preceding 3 lines from SQLGUYLNK
    I am sure that others have gotten this to work in the past. I must be missing something trivial. Can anyone please point out what I need to do to get this working?

    You didn't explicite mention it, but I assume you are using a 32bit ODBC driver?
    The SQLAllocConnect function is built into the ODBC driver manager which is refered in your case as: /usr/local/lib/libodbc.so
    - check out this library exists and has sufficient permissins to be loaded by the Oracle user
    - check out this library is 32 bit
    - check out this library contains the SQLAllocConnect symbol

Maybe you are looking for

  • EA3500, not able to access Cicso Cloud Connect

    I've gone over this a couple times and I just can't seem to figure it out. I just purchased an EA3500 because I absolutely need guest access. I set everything up through the Cisco Connect application on the CD and all was well.  I figured it's time t

  • Never works right.

    I have had the Xperia Play from Sony almost since it came out. It my first smart phone and the things a pain. I have many different problems, it can take you to a minute to open messaging, it freezes up every few mintues, I have to force quit apps, m

  • Cisco ISE and AD group

    Hi, I have a problem I setup ISE join it to AD, get from AD group name, and add it to ISE as external identity group. Then I make simple authentification policy rule which says, if protocol RADIUS than use AD1 store. After this I create authorization

  • Acrobat reader 10.0.x for windows and flash player update

    i don't understand why my client require the update of reader (update of 10.0.1), but in the download page (.msp file) i can't find nothing. the other problem was about the update of flash player....i need to distribute the update over GPO, but adobe

  • Lightroom won't export..need help asap please

    I was in the process of exporting some edited photos. After I opened the Export menu I decided to rename the file I had originally downloaded the files from into Lightroom and that I was going to download the edited photos into as a subfile. Well whe