Connect oracle 10G  to access database

Dear Sir,
I try to connect oracle(10G) with Access.
First step : I created Access ODBC
Second Step: I updated listener , tnsnames , inithsodbc files
Third step : I am testing by the command line
'lsnrctl start LISTENERtest'
but it doesn'yt start and the log file shows the following:
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
Trace level is currently 0
Started with pid=2328
TNS-01150: The address of the specified listener name is incorrect
could you help me what is the problem?

The following are the lines I added to tnsnames file:
test
=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=test))
(HS=OK)
And the following are the lines I added to listener file:
LISTENERtest =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERtest=
(SID_LIST=
(SID_DESC=
(SID_NAME=test)
(ORACLE_HOME=E:\oracle\product\10.2.0\db_2)
(PROGRAM=hsodbc)
Where is the error?

Similar Messages

  • Connect oracle(10G) to Access

    Dear Sir,
    I try to connect oracle(10G) with Access.
    First step : I created Access ODBC
    Second Step: I updated listener , tnsnames , inithsodbc files
    Third step : I am testing by the command line
    'lsnrctl start LISTENERtest'
    but it doesn'yt start and the log file shows the following:
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
    Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
    Trace level is currently 0
    Started with pid=2328
    TNS-01150: The address of the specified listener name is incorrect
    could you help me what is the problem?
    Message was edited by:
    user630033

    please excuse, but I have no answer.
    My only hint to you is, copy the question to one of the rdbms-, or odbc-forums of the otn. Here is the forms-forum, where the guys normally didn't need an odbc connection to different databases.
    try it
    Gerd

  • How to connect oracle with ms access database

    Dear
    We are on release r12, right now we have requirement to connect oracle database with ms access to get some information. We have found gateway(Heterogeneous services) using ODBC, but at the database side where is installed oracle r12 there is no installed ms access software becuse of linux operating system, so how could it will connect ms access because without installing ms-access we are unable to find ms ODBC gateway in ODBC driver under the control panel.
    Can any body guide me how could achieve this
    Edited by: oracle0282 on Sep 21, 2011 12:47 AM

    If I understand you correctly you want to access Oracle on Linux from MS-Access (possible on Windows only). You need neither a gateway nor Heterogeneous Services, but an Oracle client including ODBC driver (Instant client with ODBC driver is enough) on the Windows machine.
    Configure the ODBC driver with the connect informations to the Oracle server.
    Werner

  • Connect Oracle 10g Developer with Oracle 8i database

    Is it possible to connect Oracle 10g Developer with Oracle 8i database. If possible then plz guide how i can.

    with Oracle Developer 10g 9.0.4 is no problem to connect to Oracle 8i.
    with Oracle Developer 10g 10.1.2. you need the Patch 8.1.7.4 for 8i, i think.

  • JSP Code to connect Oracle 10g Database

    Can some give the JSP code for connecting Oracle 10g database

    hi
    First u have to get ojdbc1.4.jar file ,,,, it is the driver for the oracle
    then use the following code :
    import java.sql.*;
    import java.util.*;
    public class connectionBean
         Connection con;
         Statement statement;
         connectionBean()
              try
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:Xe","hr","hr");
            statement=con.createStatement();
              catch(Exception cnfe){     }
         public void testMethod()throws  SQLException{
              ResultSet rs=statement.executeQuery("select * from COUNTRIES");
              while(rs.next())
              System.out.print(rs.getString(1));
         public static void main (String args[])throws  SQLException
              connectionBean cb=new connectionBean();
              cb.testMethod();
    }hope this will help
    Good luck
    Mohammed

  • Can not connect Oracle 10g express edition from report builder.

    I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
    Here i am adding my tns entry
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    can any one suggest what the actual problem is?
    Thanks ..........

    Hello,
    Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
    However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
    http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
    But be careful:
    Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM

  • Error to connect oracle 10g client and designer BO 4.0

    hello,
    I try to connect oracle 10g client and designer BO 4.0.
    I created an ODBC connection to function in the administration tools of data sources but I can not connect once in designer.
    I tried using the driver directly oracle designer 10 but I have the same error that is this:
    DBD: ORA-12154: TNS: connection identifier specified could not be resolved
    someone there had the same concerns?
    cordially

    Hi,
    so it looks like that your TNSNAMES.ORA file isn`t properly configured. Thats why you can connect with the IDT to your Oracle Database.
    Your DBA`s should sent you the correct TNSNAMES.ORA file or the entry for your DB prior. After the tnsping works, you will be able to use the IDT properly.
    Regards
    -Seb.

  • Connecting oracle 10g express edition to jdeveloper

    I am having all kinds of problems connecting oracle 10g express edition with my jdeveloper 10.1.3.3. I can query the database from my command line so I know it is set up, but for whatever reason jdeveloper will not connect with it. When I try to connect with the database through jdeveloper here is the error I keep getting:
    Listener refused the connection with the following error:
    ORA-12518, TNS:listener could not hand off client connection
    The Connection descriptor used by the client was:
    localhost:1521:ORCL
    I have been all through the google results looking for an answer and have come to the conclusion that it is something with either the listerner file or the tns file, but as of yet have been unable to locate them. here are both of those files too.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ##########)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = #########)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Please any help would be appreciated I have been at this for days, thanks.

    This has to be some kind of bug with 10g express because I see lots of people having similar problems. I'm in the process of uninstalling 10g, and I will re-install it see if that makes a difference. Again if anyone has any other ideas please keep them coming because this is utter BS it shouldn't be this hard.

  • How to connect Oracle 10g from OBIEE on Linux?

    - OBIEE 10.1.3.4.0 is running on Cent 5 Linux M1 (*64* bit). My Oracle database is running another similar machine M2.
    - I installed oracle 64 bit client on M1 but could not connect to run the report, connection issue. Even nqcmd didn't helped.
    - I guess it was because OBIEE is *32* bit application and hence need 32 bit client.
    - I tried installing Oracle 32 bit Linux client on M1 but installation fails with some dependency (Not sure if we can install 32 bit client on 64 bit machine)
    Q1 - Any suggestion at this point?
    Q2 - Is there any way we could connect OBIEE to Oracle via ODBC drivers. I could not found any odbc driver/so file when I wan installed 64 bit client. Any suggestion for this?
    Thanks in Advance!

    The computer running XE server does not need a client installed.
    If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
    XE =
        (DESCRIPTION =
           (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
           (CONNECT_DATA =
              (SERVICE_NAME = XE)
    {code}Test with
    {code:java}
    sqlplus SYSTEM/password@XE
    {code}
    Regards,
    Georger
    wrote:user_7000018
    Hi ,
    i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
    Regards,
    Dharmendra

  • Connect Oracle 10G XE and Oracle 9.2i Simultaneously from same machine

    Hello,
    How to Connect Oracle 10G XE and Oracle 9.2i Simultaneously from same machine using .Net Application.
    I have one application which is in .net, i want to connect it with oracle 10g XE and oracle 9.2i Simultaneously.
    it always connect only one database which is first in environment variable (path).
    please reply.

    Use SQL*Net or JDBC Connections. Looks like you are connecting using the Bequeathed connections
    Christopher Soza
    Oracle BI DBA

  • Newly installed oracle 10g express edition database

    Hai to all
    I have fedora 15 operating system with oracle 10g express edition database installed .. I already have working knowledge in mysql database .. my question is that when i opened oracle database via sql developer , then by expanding tables tab on left side .. I can able to see some table that are created by default as the following:
    AQ$_INTERNET_AGENT_PRIVS
    DEF$_AQCALL
    LOGMNR_AGE_SPILLS$
    My question is that . Can i drop all these tables ??? . By doing so, will that create any problems ..
    Any idea will help me ..
    thanks in advance to allllllll

    If You wont to see how Oracle drop tables
    - create Youre schema
    create user test_user ... ;
    -create table
    create table test_user.test_table ... ;
    drop table
    table test_user.test_table ;
    Regards,
    Pavel
    Edited by: Pavel on May 22, 2012 10:26 PM

  • How to start to use Oracle client to access Database ?

    Folks,
    Hello. I have just installed Oracle Client into directory /home/myOracle/Oracle_Client. But I don't know how to start and configure the client to access Oracle Database.
    Can any folk tell me how to start to use Oracle client to access Database ?

    user13764998 wrote:
    I have earlier managed to install the Oracle Client (32-bit) in 32-bit clients and servers Oracle Client 10.
    The reason that it went well before was the exellent setup and configurationprograms we got with that version.It seems you are confusing the "full" Datbase Client with Instant Client.
    Now I'm trying to install the Oracle Instant Client 11g R2 both 32-bit and 64 (of the latest revision) on a 64-bit Windows 2008 Server .
    I have managed to install the driver but the setup doesn't give me any Net Configuration Assistant or Net Manager to help with the configuration.What setup? Are you not using just the zip files?
    What are you installing exactly, i.e. what install media (file) did you download?
    So I haven't succeded in configuring it despite I I read the readme-info that comes with the Instant Client files.There's not much to configure - that's sort of the point of Instant Client. Just drop a few files in a folder, set PATH and off you go.
    Doesn't <instant client dir>\sqlplus user@'hostname/servicename' work?

  • How to connect oracle 10g XE client to XEserver on win XP

    Hi ,
    i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
    Regards,
    Dharmendra

    The computer running XE server does not need a client installed.
    If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
    XE =
        (DESCRIPTION =
           (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
           (CONNECT_DATA =
              (SERVICE_NAME = XE)
    {code}Test with
    {code:java}
    sqlplus SYSTEM/password@XE
    {code}
    Regards,
    Georger
    wrote:user_7000018
    Hi ,
    i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
    Regards,
    Dharmendra

  • Connect Oracle 10g client to the Oracle 10g database behind a firewall

    I need to connect an Oracle 10g client to the Oracle 10g database (windows server 2003 box) behind a firewall. I ran into this problem: Port redirection. Port redirection requires the Oracle client to connect to the database using a different port (usually a randomly selected TCP port) than the default or originally configured one. If there is no firewall between the server and the client, port redirection will not affect the actual connection. However, if port redirection does occur with the server behind a firewall, the client will be likely to suffer from a connectivity failure. The reason is simple: the newly assigned port based on port redirection is often blocked by the firewall. Such failures are not uncommon on Windows platforms.
    I don't know how to stablished an unique TCP port.
    I Enabled USE_SHARED_SOCKET on the Oracle database server, windows registry. Acording to what I read,that will force the server machine to share its port 1521 and thus all clients will stay on that port when connecting to the database. Noticeably, port redirection will not occur with USE_SHARED_SOCKET enabled, but that's true in oracle 8 or oracle 9. In oracle 10g this solution doesn't work.
    I will apreciate any help about this. Please!
    Thanks in advanced.

    Three solutions in order of preference
    1 Use Connection Manager on the server (only installed using a Custom Install). This will tunnel all traffic through a single port. It will also allow you to configure allowable nodes
    2 Set up shared server to use a fixed port. Disadvantage: shared server has overhead and the number of connections is limited
    3 Use shared_sockets. Disadvantage: when you stop the listener everyone is disconnected.
    Sybrand Bakker
    Senior Oracle DBA

  • Unable to connect Oracle 10g Express from Visual Studio Server Explorer

    Hello,
    Please help me out here. I am connecting from Visual Studio 2008 to Oracle 10g Express Edition and the I have installed the ODAC 11 and the ODP.NET as well for Visual Studio(Both include Oracle Developer tools). But whenever I tried to connect from my Visual Studio 2008 server explorer so that I can have the database and its object there, I do get this error : "ORA-12560 : TNS: protocol adapter error."
    The following is what I specified in my connection box:
    DataSource Name: (Local Database)
    Username : HR
    Password: the password for it.
    My OS is : Windows Vista Ultimate.
    Please anyone who has solved such error should just help out here.
    Thanks all

    Thank you for your reply. I will like to know if you can use Visual Studio. In visual studio there is what we called Server Explorer and from there you can create connection and access all the database server from there. I am able to connect to the Oracle XE through the browser and I was able to crete table and other stuffs like that but when I tried to connect from Visual Studio 2008, I get the 12560 Error. I checked my TNSNAMES and found this:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = OLAMMIE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Look at what I have in my Sqlnet.Ora file,
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Please kindly help me out of this as it is very urgent. I can connect from browser using http://127.0.0.1:8080/apex but cannot connect from my C# code and Server Explorer. What is likely to cause this error.
    Thank you for helping me in advance.

Maybe you are looking for

  • Visual C++ 6.0 and Oracle

    Hii.. I m using Visual c++ 6.0 and Oracle 10 g. I m very new to vc++. And i would lik to build some database applications. I couldnt find any resource in the net. can anyone help me ?? Send some sample codes and documents !! sankar.s

  • Is there an official "how to revert to itunes 10" guide anywhere???

    Is there a guide somewhere for removing itunes 11 and getting itunes 10 back without losing all my metadata? I have looked around and found some for Mac users, but not for a pc user. Appreciate the help. For those who care, the following are some of

  • Upgrade of oracle 11i database 9.2.0.6 to 9.2.0.8

    Hi , I want upgrade oracle 11i applcation in to r12. for that 1st i need to upgrade my databse 9.2.0.6 to 9.2.0.8 then to 11.1 . iam using OEL5.1 os .IS it possibel to upgrade the database 9.2.0.6 to 9.2.0.8 on OEL5.1 .Kindly help this issue.

  • Hyper-v for windows 2008 r2 sp1

    i have windows 2008 r2 sp1 foundation. i thought if i download and install the hyperv from the microsoft download site, it might make my server on par with the features of the windows 2008 r2 standard version, but i might be wrong, because it apparen

  • Reverse Telecine On Finished Edit, Or Only Original Clips?

    Can a reverse telecine be performed on a finished edit? (By this, I mean an uncompressed export from FCP). Or can this only be done on the original clips? I am editing a short shot on S16mm. The negative was telecined, output to miniDV, then captured