ODAC 11.2 ReIease 3 and 64 bit Oracle 11g

Downloaded and installed ODAC 11.2 R3 including its extensions for Visual Studio (2008 in my case).
It won't connect to my Oracle instance and I assume the reason is that my Oracle instance is 64 bit while ODAC 11.2 R3 is 32-bit. I looked for a 64 bit ODAC and this was the best I found:
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
And 'xcopy' version without the extensions for Visual Studio.
On the other hand, Microsoft's System.Data.OracleClient does work against my Oracle db (from C#).

sqlnet.ora does exist in the correct location. It contains:
# sqlnet.ora Network Configuration File: d:\oracle\product\11.2.0\dbhome_1\netwo
rk\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# 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)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
However reading the EZCONNECT documentation I see that I need to enter a valid machine name for Data Source Name and not ORCL as I was doing.
Try both the hostname value as well as 'localhost'.
Now the error message I get is:
ORA-12541: TNS: no listener.
I check lsnrctl services and as best I can tell an appropriate listener does exist:
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-JAN-2011 14:02
:05
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 2 handler(s) for this service...
Handler(s):
"DEDICATED" established:1212 refused:0 state:ready
LOCAL SERVER
"N000" established:0 refused:0 current:0 max:40000 state:ready
CMON <machine: MyHostname, pid: 5580>
(ADDRESS=(PROTOCOL=tcp)(HOST=MyHostname)(PORT=49203))
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: MyHostname, pid: 3080>
(ADDRESS=(PROTOCOL=tcp)(HOST=MyHostname)(PORT=49160))
The command completed successfully

Similar Messages

  • Cannot find OracleInProcServer.dll in the 64 bit Oracle 11g r2

    We have been using OracleInProcServer.dll in our applications to access oracle spatial features. However, with the new 64 bit oracle 11g r2, I cannot find the OracleInProcServer.dll file.
    I have tried to use the old OracleInProcServer.dll (32 bit from oracle 11g r1 32 bit), it got the message: "The 'MSDAORA' provider is not registered on the local machine"
    Any help on this is greatly appreciated.

    Hi,
    MSDAORA is Microsoft's OLEDB Provider for Oracle, not OracleInProcServer (which is Oracle Objects for OLE - OO4O).
    In either case though, the answer is the same for both products (which are unrelated btw). Both Microsoft's OLEDB provider, and Oracle Objects for OLE, are not available as 64 bit. If you need to use them on a 64 bit OS, you'll need to run the process as 32 bit and install 32 bit Oracle client software.
    You may want to consider eventually porting the app over to ODP.NET, which can take advantage of Spatial via the UDT support.
    Hope it helps,
    Greg
    Edited by: gdarling on Jul 6, 2010 10:14 AM
    Also, fyi, the OO4O forum is located at OO4O and Wizards [ARCHIVE]

  • Establish 32-bit ODBC connection to 64-bit Oracle 11g database

    Hi Everyone,
    Just to set the scene:
    PC with Windows 2003 server x64 OS installed, Oracle 11g 11.1.0.7 64-bit installed and MS Office 2007 installed.
    I am looking for advice on the best way to establish an ODBC link so that MS Access 2007 (32-bit) can connect to the Oracle 11g (64-bit) database.
    There are known issues, see [http://support.microsoft.com/kb/942976|http://support.microsoft.com/kb/942976] (which I have hit) when attempting to use a 64-bit ODBC DSN within MS Access 2007. This means that I need to setup and install an Oracle 11g 32-bit ODBC driver to be used against the Oracle 11g database (TNS listener also running 64-bit).
    Any thoughts on the best approach I should take to do this?
    Regards,
    Leigh.

    The more information section of the MS support article doesn't give me much to go on other than to explain the differences in how user and system DSNs are displayed and managed between the 2 different bit versions of ODBC administrator and how this information is stored in the different registries (64-bit and WOW64).
    I have been able to install 32-bit Oracle11g instantclient and its ODBC driver successfully and then in turn create the 32-bit ODBC DSN, however I am unable to connect to the 64-bit database when I attempt to test the DSN. I have updated the Windows PATH environment variable to include both the path of the Oracle11g DB server and instantclient homes as well as creating a TNS_ADMIN environment variable to point to the location of the Oracle11g TNSNAMES.ORA and the 64-bit 11g listener. However despite this I still get the error when testing the DSN:
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-12541: TNS:no listener

  • Deploy 10g forms and reports in Oracle 11g

    Hi, I'm working in 10g forms and reports development. However, in my company want to migrate to Oracle 11g.
    My doubt is: May I deploy 10g forms and reports in Oracle 11g installation (Weblogis server + Oracle Fusion Middleware)?
    Thanks.

    I downloaded developer suite.does this developer suite includes 10g database also.becoz there are two disks for the developer suite whereas there was only one disk for oracle 10g datbase that i downloaded earlier and installed.if this developer suite includes database,reports and forms then do i need to uninstall the previous data base 10g that i installed.please help me regarding this.
    thanking you all

  • Trying to use ODAC on 64 bit Windows 7 with 64 bit Oracle 11g?

    I have been trying to connect to Oracle 11g with VS 2010 .NET Framework 4.0 on Windows 7 for about 5 days with no luck.
    Background: VS 2010, .Net Framework 4.0 and Oracle 11g 64 bit are running on the same maching.
    I have found that are two versions of the 64 bit ODAC.
    1) The XCopy bersion and 2) the Oracle Universal Installer version.
    To install the XCopy version, I right click on the cmd window, change to the folder where my xCopy install is and type install.bat all d:\oracle\myoraclehome odac just like the documentation says. The files are created in my Oracle home and there are registry keys under HKLM\Software\Oracle like the documentation says. I don't have a clue how to prove weather it's doing anything usefule though. When I go to VS 2010, I don't have System.Data.Oracleclient of Oracle.DataAccess.client or any other namespace that can talk to Oracle. How would I test the XCopy version and see if it is actually able to do anything?
    I like the Windows Installer version much better and set it up just like the readme.txt said to. I used the Oracle Data Access Components for Oracle Client 11.2.0.2.1. I wound up with two oracle homes, one for my server and one for the ODAC install. I copied tnsnames.ora and sqlnet.ora over to the odac client home's Network\Admin folder. From my server's oracle home, I ran sqlplus and was able to successfully login to the server. I liked the fact that it came with sample code and I saw that the Oracle.DataAcces.client dll was added as a project reference. I ran the samples with my userid and password and got a TNS Adapter error.
    Since the Oracle server is on the same server that everything else is on, I ASS-U-ME that I would want to install the Oracle Data although I didn't see it documented anywhere. I tried creating it in a different directory, but it says it must be installed on top of an existing oracle home. I tried creating it in my oracle home and got err message OUI-10044 - The selected oracle home location already contains an oracle home or APPL_TOP created while running a different OS.
    Can someone tell me how to correctly install either one of these and test it to make sure it is working?
    TIA I know someone on planet Earth must be using the 64-bit odac to connect to Oracle,
    George

    George,
    It sounds like I have the same setup as you and I am no expert on Oracle install issues but VS 2010 is 32bit. You need to install the 32 bit version of ODAC to make VS all happy. I was under the impression ther was no 64 bit version of ODAC? Then again I am no expert on the topic.
    I then installed the 64 bit xcopy version, decided upon the location for tnsname and then defined TNS_ADMIN. All works well. I create most of my exe's as AnyCPU and Windoze/Oracle seems to figure out what to do.
    r,
    dennis

  • Is it possible to use dataguard between 64 bit oracle and 32 bit oracle

    primary db 64 bit oracle (10g r2)
    standby db 32 bit oracle (10g r2)
    is it possible to crate such a data protection solution with data guard that works
    thanks for your reply

    Hi,
    Here is a related thread, with comments by the author of the Oracle Data Guard book:
    http://dba.ipbhost.com/index.php?showtopic=1064
    The main requirement is Oracle software and O/S should be exactly same on primary and standby hosts.
    So you will need to install Linux 32 bit and same oracle software on both machines. I am not aware of any other modification that you will need.
    The chipset can be different as long as the O/S is same on both the hosts as I/O calls are created by O/S and are not dependent on chipset.
    Hope this help . . .
    Don Burleson
    http://www.dba-oracle.com

  • SSIS used to integrate SQ Server and Oracle - Is it necessary both 32 and 64 bits Oracle Clients installed?

    Hi all,
       SQL Server 2012 EE 64 bits (SOURCE)
        Oracle 12c 64 bits (DESTINATION)
       To make my solution - integrate SQL Server with Oracle - work, i had to install both 32 and 64 bits of the Oracle 12c Client. After that, i had to change the properties of my SSIS package to run on 32 bits only (properties > Debugging >
    Run64BitRuntime set to FALSE). Before i made this change, the execution of my package was failing, but after setting Run64BitRuntime to false, the package ran successfully. Why is that?
       I am thinking of unistalling the 64 bits ORacle Client from my Windows Server, but i fear that if i uninstall, my package stop working. 
       Any suggestions/corrections will be most appreciated. 
       Thanks in advance
       OBS1: I am using ODBC as the source and destination tasks.

    Hi FabrícioPJ,
    The 32-bit and 64-bit versions of a provider have the same ID. Therefore, the SSIS runtime will select the appropriate version of the provider to use. 32-bit SSIS Designer always requires and uses the 32-bit version of a provider at design time. However
    when running the package in 64-bit mode that the Run64BitRuntime project property is True, it automatically switches to the 64-bit version of the provider. When it couldn’t find 64-bit version of the provider, the package would be failed. For more details,
    please see:
    http://dougbert.com/blog/post/64-bit-considerations-for-sql-server-integration-services-final.aspx
    So in your scenario, it seems that there is not a 64 bit provider for Oracle in your environment, so the issue occurs. Please make sure you have installed the correct 64-bit version of the Oracle provider.
    To download Microsoft Connectors v2.0 for Oracle in SSIS 2012, Please refer to the link below:
    http://www.microsoft.com/en-us/download/details.aspx?id=29283
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Which widows server 2008 release and edition supports Oracle 11g R1 64 Bit

    Hi
    Trying to install the Oracle 11g R1 64bit on Windows server 2008 . Hence requesting you all , which Windows server 2008 Release and Edition support Oracle database 11g R1 64bit .
    Thank You
    Edited by: user8709943 on Nov 12, 2010 10:34 AM

    Hi,
    even 2008 also certified, totally widnows 2008/2003 R2/xp/vista , linux, ibm aix, hp Ux ...
    go to http://support.oracle.com --> certifications ---> select product "ORACLE DATABASE" ---> Release "11.x.x.x' --> select platform "ANY"
    you can check all the compatibility..
    *https://support.oracle.com/CSP/ui/flash.html#tab=CertifyHomePageV2(page=CertifyHomePageV2&id=ggfixmkw())*
    Thanks

  • 32 bit compiled Java Program not connecting to 64 bit Oracle 11g

    Hi,
    I am using one java program to connect to Oracle 11g (64 bit version) using Oracle10g 32 bit client libraries using OCI calls. Below is the program. If I compile it using 64 bit Oracle 10g libraries ($ORACLE_HOME/lib and $ORACLE_HOME/rdbms/lib) , it perfectly connects to Oracle11g but when i compile it using $ORACLE_HOME/lib32 and $ORACLE_HOME/rdbms/lib32, it hangs and keeps trying and takes 100% cpu usage. it does nothing. Please suggest what is going wrong in the environment.
    ============================
    import java.sql.*;
    class dbAccess {
    public static void main (String args []) throws Exception
    Class.forName ("oracle.jdbc.OracleDriver");
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:oci8:@lvfd", "fde", "fde");
    // or oci7 @TNSNames_Entry, userid, password
    try {
    Statement stmt = conn.createStatement();
    try {
    ResultSet rset = stmt.executeQuery("select * from tab");
    try {
    while (rset.next())
    System.out.println (rset.getString(1)); // Print col 1
    } finally {
    try { rset.close(); } catch (Exception ignore) {}
    } finally {
    try { stmt.close(); } catch (Exception ignore) {}
    } finally {
    try { conn.close(); } catch (Exception ignore) {}
    ================================================

    >
    I am compiling like when LD_LIBRARY_PATH set to $ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32.
    javac -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess.java
    as my program resides in current directory. I run it like :
    java -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess
    Output: it hangs forever.
    I am compiling like when LD_LIBRARY_PATH set to $ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib
    javac -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess.java
    as my program resides in current directory. I run it like :
    java -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess
    Output: It gets connected and list all the tables as output.
    >
    The ojdbc14.jar file is for use with Java 1.4 VMs.
    Are you still using Java 1.4? If so, why?
    For Oracle 11g you should be using the latest JDBC jar file (ojdbc6.jar) and the latest version of Java 1.6.
    You are not only using an old JDBC driver and Java version but are also trying to mix 32 bit and 64 bit operations.
    I suggest you start using recommended practices and update your Java and JDBC versions and select EITHER 32 bit or 64 bit operations.
    See the Official JDBC FAQ for the details on the support available for various combinations of Oracle DB, Java and the JDBC drivers:
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html

  • Install and uninstall of Oracle 11g R2 on Windows 2008 Server

    Hi,
    I installed Oracle 11g R2 and set up a database on Windows 2008 Server following the steps in the Installation Guide and it was successful. After uninstalling the product and doing a re-install, the step to configure the Net Configuration Assistant fails with the following msg.
    Failed to allocate port(s) in the specified range(s) for the following process(es): JMS
    [5540-5559], RMI [5520-5539], Database Control [5500-5519], EM Agent [3938] | [1830-1849]
    Also, when I ran "netca.bat" and tried to reconfigure the Listener, it indicated the default port 1521 is being used. I ran "netstat -an" and do not see the port listed.
    Questions:
    What is the best way to check if something was leftover from my previous install of Oracle that is using the default ports?
    What do I need to do to ensure a re-install is successful?
    Uninstalling Oracle -
    1.     Log in as the Administrator.
    2.     Stop all Oracle Services.
    3.     From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4.     Delete the C:\app\oracle directory.
    5.     Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

    Johan, after I uninstalled Oracle, I checked to ensure there were no remaining Oracle services remaining.
    Srini, below are the steps I followed to uninstall Oracle. In step 3, I just ran deinstall.bat without any parameters and provided required information as prompted. Note, I uninstalled using the Administrator user and not the "oracle" account that I used to install Oracle.
    Uninstalling Oracle -
    1. Log in as the Administrator.
    2. Stop all Oracle Services.
    3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4. Delete the C:\app\oracle directory.
    5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

  • Host Credentials ERROR Invalid username and or password Oracle 11g

    Hi,
    This error has been bugging me for sometime now and I can't find a straight forward answer anywhere, can you help?
    Oracle 11g on Windows XP SP2 Intel box.
    I am trying to export data and when I'm asked for the Host Credentials I get the error
    " ERROR Invalid username and or password "
    I have tried the following syntax for Username:
    <domain name>\Administrator
    <domain name.local>\Administrator
    <domain name>/Administrator
    <Local host name>\<domain name>\Administrator
    I have gone through making sure that the local security policy settings are correct.
    I have added domain and local Administrator to the ora_dba Group.
    All services relating to Oracle are running.
    I can connect via SQL Plus with no issues.
    I can connect to EM locally and from my client pc with no issues.
    Any ideas, please, can anyone help me?
    I'll gladly furnish you with any info I can to get past this seemingly simple step!
    Regards
    naexpert.

    Trying to understand your reply, here is what I did:
    Created new Windows user called OraAdmin.
    OraAdmin is now member of administrators group and Ora_dba group.
    Logged onto EM at server and used System user logon.
    Data Movement
    Export to Export Files
    Tables
    Host Credentials
    Tried
    OraAdmin - failed
    oracle-11g\OraAdmin - failed
    oracle-11g/OraAdmin - failed
    Don't know what else to do......

  • How To Deploy forms and Reports on Oracle 11g Server.

    Can any one let me know how to deploy Oracle 11g Forms and Reports into weblogic server.
    Prior to 11g versions, support formsweb.cfg,cgicmd.dat files for forms and reports deployment configurations. iam not able to locate these files in 11g.
    Pl help me resolve this..!
    Thanks & Regards
    Abul
    Edited by: Abk on Dec 15, 2010 11:04 AM

    Hi,
    You can find many articles on oracle site for this subject.
    However in brief following are the steps
    1) Create a directory source,executables,images,reports and logfiles.
    2) Copy all your forms, menus and pll's in source directory
    3) All your images in your image directory
    4) All your reports in reports directory
    5) All yuor fmx,mmx and plx in executables directory
    6) Any log files in logfiles directory
    7) Add path of images and executables directory in FORMS_PATH in default.env
    8) Configure your formsweb.cfg as your need.
    9) Configure report.conf and rwservlet.properties according to your applications.
    10) Make jar of icons say myicons.jar.
    11) copy myicons.jar in forms/java directory
    12) Check yuor form services if they are running or not.
    13) Invoke the URL in internet explorer
    http://<ip_address>:<port_no>/forms/frmservlet?form=testform.fmx
    I think that's enough from my side.. For more info you can go through the documentation.
    Regards
    Anuj

  • Advanced Replication between Oracle XE and 64-bit Oracle Enterprise

    hi all,
    Currently i have advanced replication working between Oracle-XE and our 32-bit based Oracle 10gR2 Enterprise Server. Will advanced replication work if we moved our Enterprise 10gR2 instance from a 32-bit to a 64-bit?
    May be some of you might already be doing this, i just want a confirmation before i give the go ahead.
    thanks a lot,
    GG

    Hi;
    Please see:
    Error: "Could not load file or assembly 'Oracle.DataAccess, Version=%s, Culture=neutral, PublicKeyToken=%s' or one of its dependencies. An attempt was made to load a program with an incorrect format" [ID 1367695.1]
    Regard
    Helios

  • Moving data between 64bit and 32 bit oracle servers

    Is it possible to move the data bt 64 bit system (OS and oracle) to a 32 bit system using exp imp command?
    Thanks,
    Chau

    Yes, you can use exp/imp or dbexp/dpimp to move from 64 bit to 32 bit database.
    http://www.ContractOracle.com

  • Jdbc driver running with 32 AND 64 bits Oracle 9i version ?

    I would like to be sure that a thin java jdbc driver is independent with the fact that oracle9i is running as 32 or 64 bits. Thanks

    It is. It is separated by the wire protocol.

Maybe you are looking for