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 =
(DESCRIPTION=
(ADDRESS=
               (PROTOCOL=tcp)
               (HOST=kdandapani.170systems.com)
               (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=accdb1)
(HS=OK)
4)added the following lines in listner.ora :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=accdb1)
(ORACLE_HOME=c:\orasrv)
(PROGRAM=accdb1)
5) Copied inithsodbc.ora to iniths_accdb1.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
HS_FDS_CONNECT_INFO = MSACCESS
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 orders@access1;
Resulted in the foll error message
ERROR at line 1:
ORA-12154: TNS:could not resolve service name

hi,
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 LOGIN@MSACCESS;
SELECT * FROM LOGIN@MSACCESS
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
MSACCESS.170SYSTEMS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani.170systems.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = MSACCESS)
(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.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORALOCAL)
(ORACLE_HOME = c:\orasrv)
(SID_NAME = ORALOCAL)
(SID_DESC =
(PROGRAM = extproc)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\orasrv)
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = MSACCESS)
(ORACLE_HOME = c:\orasrv)
5) Copied inithsodbc.ora to iniths_MSACCESS.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
HS_FDS_CONNECT_INFO = MSACCESS
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 orders@MSACCESS;
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,
-imran

Similar Messages

  • Connect to PostgreSQL from Oracle 11gR2

    Hi folks!
    Trying to connect to PostgreSQL from Oracle 11.2.0.3(RAC). My configuration files are:
    initRT.ora:
    # HS init parameters
    HS_FDS_CONNECT_INFO = RT
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = /tmp/odbc_trace.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/unixODBC/odbc.inilistener.ora:
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))                # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON                # line added by Agent
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME =/u01/app/oracle/product/11.2/db)
          (PROGRAM = extproc)
        (SID_DESC=
          (SID_NAME = RT)
          (ORACLE_HOME = /u01/app/oracle/product/11.2/db)
          (PROGRAM = dg4odbc)
          (ENVS = "LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2/db/lib:/u01/app/oracle/product/11.2/db/hs/lib")
      )tnsnames.ora:
    RT = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=RT))(HS = OK))
    isql rt rt3 passw
    +---------------------------------------+
    | Connected!                            |
    |                                       |
    | sql-statement                         |
    | help [tablename]                      |
    | quit                                  |
    |                                       |
    +---------------------------------------+
    SQL> quit
    oracle@hostname: psql -h rt rt3 passw
    Welcome to psql 8.3.9, the PostgreSQL interactive terminal.
    Type:  \copyright for distribution terms
           \h for help with SQL commands
           \? for help with psql commands
           \g or terminate with semicolon to execute query
           \q to quit
    rt3=>As you can see, I can connect to PostgreSQL. Then in DB I've created DB link as follows:
    CREATE DATABASE LINK "RT"
       CONNECT TO "RT3" IDENTIFIED BY "passw"
       USING 'RT';
    oracle@hostname: sqlplus rt3/passw
    SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 15 03:46:12 2011
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    Data Mining and Real Application Testing options
    rt3@sid1> select * from users@rt;
    select * from users@rt
    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 RT
    Elapsed: 00:00:00.01
    rt3@sid1>Don'tunderstand why I can't connect from Oracle? Thanks in advance.
    Regards,
    Pavel.

    Hi, sure:
    odbc.ini:
    [ODBC Data Sources]
    RT=RT Database
    [RT]
    Description     = RT Database
    Driver          = /usr/lib64/psqlodbcw.so
    Database        = rt3
    TraceFile       = /u01/app/oracle/diag/rdbms/trace/odbc_rt.trc
    Trace           = Yes
    Servername      = rt.domain.com
    Port            = 5432
    Protocol        = 6.4
    ReadOnly        = Yes
    RowVersioning   = No
    ShowSystemTables = No
    ShowOidColumn   = No
    FakeOidIndex    = No
    ConnSettings    =
    Debug           = 0
    CommLog         = 0
    oracle@host:> lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 15-NOV-2011 04:09:23
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date                15-NOV-2011 03:30:50
    Uptime                    0 days 0 hr. 38 min. 32 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2/grid/network/admin/listener.ora
    Listener Log File         /u01/app/grid/diag/tnslsnr/host/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "RT" has 1 instance(s).
      Instance "RT", status UNKNOWN, has 1 handler(s) for this service...
    Other servicesListener.log for PROGRAM=dg4odbc is empty. There are a lot of entries for other services.
    Regards,
    Pavel.
    Edited by: Pavel E. on 15.11.2011 13:13

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

  • How to conect to the Oracle 10 g Exp Edition from Oracle SQL Developer Tool

    Hi all,
    i have installed Oracle 10 g Exp Edition in my stand alone system(no internet connected to the system).
    I want to connect through Oracle SQL Developer tool.
    Can any one please tell me the steps involved in "how to connect to the Oracle 10 g Exp Edition from Oracle SQL Developer Tool ".
    Thanks in Advance.

    Creating a Database Connection
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/sqldev3.0_GS/sqldev3.0_GS.htm

  • Connecting to sqlserver2000 from oracle

    Hi,
    Need to know which is the best way to connect to sqlserver2000 database from oracle. [this connection will be use purly for backend processing only not for frontend]
    Scenario: need to fetch/insert/update the data present on sqlserver2000.

    I just answered a similar question Oracle connectivity to SQL Sever. You may find it useful.
    Cheers, APC

  • SQL Connect problem - migration from Oracle 7.3.4 to Oracle 8.0.6

    Our development environment has just been upgraded from HP10.20
    to HP11 and the database from Oracle 7.3.4.0 to Oracle 8.0.6.0.
    I am now having problems with one of the PRO*C programs. The old
    executable( compiled in the old enviroment HP10/Oracle734) is
    working fine in the new environment. But after I successfully re-
    compiled this program in the new environment, the new executable
    is not working and stops at the statement: 'EXEC SQL CONNECT:
    userid'. I have checked the userid and Oracle settings, they are
    correct. Right after the EXEC SQL, I've tried checking the
    status of connection, but it never gets there. The
    only change to the make file is using
    $(ORACLE8_HOME)/precomp/lib/env_precomp.mk instead of using
    $(ORACLE7_HOME)/precomp/env_precomp.mk
    Other PRO*C programs which are using exactly the same connecting
    statemment are working fine.
    Anyone have any ideas, I would appreciate them?
    Thanks,

    I am upgrading with precisely the same varaibles that you encountered
    and am receiving the same inability to do a simple CONNECT with
    Pro*C. Were you able to resolve this problem? If so, please reply
    with some guidance.
    Thank you.
    - Tad Franson
    [email protected]

  • How to get connected to OIPM from Oracle WebCenter Document Capture

    Hi,
    How we get connected from Oracle WebCenter Document Capture(ODC) to Oracle WebCenter Cintent:Imaging (OIPM). OIPM is 11g and ODC is 10g. Pls suggest any doc or link.
    Thanks and Warm Regards,
    RR.

    Reading your previous question once again, now I think you have actually asked a simpler question than I answered to. Is it that you just need to anyhow send data from ODC to IPM?
    If so, it is a standard functionality of ODC, called Commit Profile. I have never worked with IPM, but there is one to UCM and it works the way that you use administrator's login (such as sysadmin in 10g or weblogic in 11g) for authentication and then you map ODC user to a metadata field (in UCM there is a mandatory field called dDocAuthor and there should be value of an existing user; but you can you the administrator here as well, if ODC user info is not important for you). I believe IPM will behave similar.
    What you have to check, whether commit profiles are available for IPM 11g, but I believe they are.
    As for the documentation, the link I mentioned before contains both installation and configuration manual, so you should find all the info there.

  • How to get connected MS SQL from Oracle

    I need to connect MS SQL Server (MSDE exactly) to Oracle 8.1.7
    and operate it from Oracle side (some clever data imports from
    client's sql server machine to bigger Oracle server). I tried to
    use ODBC from client to oracle and works fine, but I need "the
    other way". Any Ideas?
    Please help,
    yours HG

    http://asktom.oracle.com/pls/ask/f?p=4950:8:442320::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1139834557335,%7Bodbc%7D

  • Connect to DB2 from oracle 11g on windows 2008 server

    Hi Folks,
    I want to conenct to DB2 from oracle 11g using DB link.
    DB2 :
    user : db2user
    pwd : db2pwd
    database : db2database (OSBLDEV)
    able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
    Oracle :
    user : orauser
    pwd : orapwd
    host : orahost
    port : 1521
    service : oraservice
    able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
    when i execute the query with database link
    select row_id from siebel.s_org_ext@OSBLDEV;
    I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
    could you pls check and let me know whether the below enteries are correct or not.
    Pls share if you have step by step connectivity from DB2 to oracle using DB link.
    1. I have created the Data source for DB2 - test successful
    create database link OSBLDEV
    connect to "db2user"
    identified by "ldb2pwd"
    using 'OSBLDEV';
    1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
    HS_FDS_CONNECT_INFO = OSBLDEV
    HS_FDS_TRACE_LEVEL = 0
    2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
    OSBLDEV =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (CONNECT_DATA=(SID=OSBLDEV))
    (HS=OK)
    3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC = # this is the entry for HSODBC
         (SID_NAME = OSBLDEV)
         (ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
         (PROGRAM = hsodbc)
    Thanks in advance.

    1. My listener.ora is placed at the below location:
    E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
    2. I have modifed the listener and removed the entry - hsodbc
    3. stop and start the listener.
    still can't see the service entry in listener status.
    C:\>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
    :08
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 19-JUL-2010 02:21:17
    Uptime 0 days 0 hr. 5 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
    .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV_XPT" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBAXDB" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "aiad.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiadXDB.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 1 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiad_XPT.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aianew" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianewXDB" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianew_XPT" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>

  • Connect SQL Server From Oracle

    Hi Experts,
    I want's to made connection from Oracle 10g to Ms SQL Server 2000. I made necessary entries in receptive file, but still getting an error...
    Setting info .....
    */hs/initMYSQLSERVERDSN.ora*
    HS_FDS_CONNECT_INFO = MYSQLSERVERDSN
    HS_FDS_TRACE_LEVEL = OFF
    LISTENER.ORA
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)(queuesize=80)))
    SID_LIST_LISTENERMYSQLSERVERDSN=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLSERVERDSN)
    (ORACLE_HOME = E:\oracle\product\10.1.0\db_1)
    (PROGRAM=hsodbc)
    TNSNAME.ORA
    MYSQLSERVERDSN =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (CONNECT_DATA=(SID=MYSQLSERVERDSN))
    (HS=OK)
    LISTENER start successfully, and tnsping working fine.
    But after createing db link , when i execute query desc spt_datatype_info@mysqlserverdsn;
    I am geting an error message in listenermysqlserverdsn.log file
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    Please help me out from this issue.
    Thanks in Advance
    Mani

    You OS ?
    I have also done the same.
    I did install SQL Server & Oracle on another machine with Windows.
    For more pls visit.
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    Aqeel Nawaz

  • Runnig forms in oracle 10g after  migrating them from oracle 6i

    Guyz ....i have developed forms in oracle 6i and when i presented them to the my manager he says that he wants them to be web based.....arghhhh.!!!!!! shud have told me at the beginning itself....anyways i downloaded the forms 10g from oracle website and migrates my forms from 6i to 10g ....
    1.The forms are getting compiled and i can run them on my laptop.. i wanna noe whats the procedure to run them on other system .....the port number is 8889
    I mean running them on a web on some other LP or system.???
    2.And my 2nd problem is that ...The records are not being saved in 10g as in 6i. I created the forms in 6i using the data block wizard and set the block accordingly as told by u people in this forum

    Look at the existing formsweb.cfg configuration file located in your <DEVSUITE_HOME>/forms/server folder. It allows you to create different sections to start your Forms applications.
    For instance, if you create a application_1 section, give this name in your URL.
    Francois

  • Can Oracle Purchasing automatically import requisitions from oracle project

    is there a way whereby,Oracle Projects automatically creates requisitions for goods and services
    required without having to enter requisitions manually in oracle purchasing and
    assigning project, task, and expenditure type automatically? If it is possible
    kindly tell me which modules are involved and kindly send me the setup steps
    required in order to be able to do so.

    Hello
    It is possible to interface project based requisitions from Oracle Projects to Procurement. This functionality is part of Project Managment (Projects FP_M). In Projects Management you may setup inbound deliverables on the workplan. A user may then open the deliverables page, select the appropriate deliverable, and from the action menu run the initiate purchasing.
    You may want to review Project Management User Guide for details.
    Dina

  • Trying to connect to AS400 from Oracle =  ORA-28545

    Hello,
    I woul like to connect to an AS400 DB from an Oracle DB (OS: Windows Server 2003 SP2 - 32 bits, DB: Oracle DB 10g Release 10.2.0.1.0).
    To that, I have done the following steps:
    1) Create System DSN
    Name: AS400_DTA
    Driver: iSeries Access ODBC Driver
    2) Edit tnsnames.ora:
    SID_LIST_LISTENER =
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    3) Edit listener.ora:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    5) Restart the listener
    6) Create DB link:
    create public database link AS400_DTA connect to "user" identified by "pwd" using 'AS400_DTA';
    In this step I have the following error:
    Link  : "CRPDTA.REGRESS.RDBMS.DEV.US.ORACLE.COM"
    Error : ORA-28545: error diagnosticado por Net8 al conectar a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a DTA
    What I am doing wrong? How can I solve the issue?
    How can I test the ODBC drivers to ensure that connectivity is made to the AS400 database?
    If I execute > tnsping AS400_DTA, the result is:
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-JUN-2011 15:05:37
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Archivos de parámetros utilizados:
    D:\oracle\bise1\db\network\admin\sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    I appreciate any idea/suggestion.
    Thank you in advance!
    Regards,
    Mónica.

    Monica,
    The error reported from the tnsping is -
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    so looks like a problem with the listener and it is also reporting the SID as AS400_CRPDTA and not AS400_DTA as you have in the tnsnames.ora. Are you accessing the correct tnsnames.ora file ?
    Also, the listener.ora entry is -
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    Are you using the actual host name in the HOST entry instead of (HOST = HOST) ?
    What is the output from issuing -
    lsncrtl
    then the 'status' and 'services' command ?
    And an obvious question - did you stop and start the listener after adding the new entry ?
    Also, this is completely incorrect -
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    The initAS400_DTA.ora file should only have these entries -
    HS_FDS_CONNECT_INFORMATION =AS400_DTA
    HS_FDS_TRACE_LEVEL=debug
    And finally, 10.2 HSODBC is now desupported and you should install and use the replacement product which is the 11g Database Gateway for ODBC (DG4ODBC).
    The following note has links to further information -
    Note.1083703.1 Master Note for Oracle Gateway Products
    If you want to continue to use HSODBC then refer to this note -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    but we strongly recommend you install and use DG4ODBC so that you are on a fully supported version.
    Regards,
    Mike

  • Can't connect to MySQL from Oracle 11g R1

    Hello Oracle's guru.
    Sorry for my English it's not my native langauge
    Enviroments: Oracle 11g R1, Windows 7, ODBC Driver 5.1.8
    I have a some problem with creation gateway to connection to MySQL, and I hope somebody can help me.
    So,
    1) ODBC name - MYSQLDSN
    2) initMYSQLDSN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLDSN
    HS_FDS_TRACE_LEVEL = 0
    3) listener.ora
    # listener.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLDSN)
    (ORACLE_HOME=E:\app\voxa\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    4) tnsnames.ora
    # tnsnames.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    CXWH =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CXWH)
    MYSQLDSN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =(SID = MYSQLDSN))
    (HS = OK)
    Then I trying to connect to MySQL using sql*plus:
    C:\Windows\system32>sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Ср Июн 1 12:13:39 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    login: system
    pass:
    Connect to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create public database link MYSQLDSN
    2 connect to DEMO identified by "DEMO" using 'MYSQLDSN';
    Channel was created
    SQL> select * from items@MYSQLDSN;
    select * from items@MYSQLDSN
    Error in line 1:
    ORA-28500: connection with ORACLE with other system return message:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near
    '"ITEMS_KEY",A1."ITEM_NAME",A1."ITEM_CATEGORY",A1."ITEM_VENDOR",A1."ITEM_SKU",A1
    .' at line 1
    ORA-02063: предшествующий 2 lines из MYSQLDSN
    If I trying create new ODBC mobule via OWB, I had next error:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"DUAL"' at line 1
    ORA-02063: предшествующий 2 lines из OWB_56
    What I do wrong? Please help me

    Hi,
    You can download the 11.1.0.7 patchset from My Oracle Support -
    support.oracle.com
    as patch 6890831.
    Once logged in click on 'Patches and Updates' and enter the patch number as 6890831 and choose whichever platform you are running.
    the readme explains how to apply the patch to an existing 11.1.0.6 install.
    The url you posted is only for complete product installs, but 11.1.0.7 is only a patchset that must be applied to an existing install.
    Regards,
    Mike

  • Connect Sql Server From Oracle Both on Windows

    I want to connect my SQL Server running on Windows2003 with my oracle database 10g which is also on windows through some odbc which i have also created on my machine running oracle 10g. Can some one guide me with simple steps.

    Generally most folks use OLEDB rather than ODBC for that.
    If you have Metalink access, check out the following note:
    Note.191368.1 Ext/Pub How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB:
    Hope it helps,
    Greg

  • Connecting SQL server from Oracle 11g

    Hello,
    I know there are several threads available to this post but please help me in
    *step by step process to follow in connecting 2 servers.
    I tried everything in internet but got Connection closed error after tnsping of DNS name. Do i need to run any instance sort of thing in SQL server?
    I dont have any access on SQL server.Whatever i have to do that has to be only in Oracle server.I got all those information and created ODBC (using SQL server driver) and tested the connection successfully in Oracle server. Altered INIT*.ORA,TNSNAMES.ORA and LISTENER.ORA but when pinging TNS awfully getting the afore said error.
    My environment : Oracle 11g server - SQL server 2008 ( both in windows platform).
    My
    TNS names entry
    GSIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.1)(PORT = 63455))
    (CONNECT_DATA = (SID=GSIS)
    (SERVER = DEDICATED)
    (HS=OK)
    Listener entry
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP)(HOST = COB417147.cob.apac.bosch.com)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = GSIS)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (PROGRAM = hsodbc)
    and
    initGSIS
    entry
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = GSIS
    HS_FDS_TRACE_LEVEL = OFF
    # Environment variables required for the non-Oracle system
    #set
    when tnsping i am getting
    TNS connection closed.
    I am awfully stuck here.
    Please guide..

    Status
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2012 17:48
    :14
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 11-MAY-2012 17:36:30
    Uptime 0 days 0 hr. 11 min. 48 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\
    admin\listener.ora
    Listener Log File c:\oracle\app\amk1cob\diag\tnslsnr\COB417147\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=1
    522)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=8
    080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "GSIS" has 1 instance(s).
    Instance "GSIS", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.cob.apac.bosch.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.cob.apac.bosch.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    TNS ping
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>tnsping GSIS
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2
    012 18:21:55
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.
    1.1)(PORT = 63455)) (CONNECT_DATA = (SID=GSIS)) (HS=OK))
    TNS-12537: TNS:connection closed
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>
    BTW it is 32-bit machine.
    Edited by: 933729 on May 11, 2012 5:57 AM

Maybe you are looking for

  • Can my wife and I sink our iTunes to both our iPhones through iMatch?

    Can my wife and I sink our iTunes to both our iPhones through iMatch?

  • VDN Return Destination feature in UCCE ?

    Hi, /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt

  • Internal isight does not work in any of the applications

    I rarely use my built in camera, however I recently noticed that my built in camera iSight (macbook) is not functioning with any of the applications (ichat, photobooth, skype). Dont know how to trouble shoot. Any advise please?

  • Lost keyboard shortcut for render

    In the last two Premire Elements 10 projects I have started, the keyboard shortcut for rendering (return) is no longer operational.  In the Keyboard Customization menu, this choice is grayed out and I can't select it. Any shortcuts for fixing this? 

  • Canon MF4890 Drivers Won't Install On Mac Running Mavericks

    I just purchased an MF4890.  I use a Macbook Pro running Mavericks.  The disk that came with the printer doesn't support Mavericks and when I download the drivers from the Canon website, they won't install.  If I keep the driver image on my Mac deskt