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

Similar Messages

  • I'm trying to use iTunes sharing between my windows computers. My computer playlist is showing up on the sidebar but there is no content with it. Why won't the music from my other computer show up?

    I'm trying to use iTunes sharing between my windows computers. My computer playlist is showing up on the sidebar but there is no content with it. Why won't the music from my other computer show up?

    The computer has to be authorized for the account that purcchased the media.
    What error message are you getting when you try to lauthorize the computer for that account?
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • I am trying to use IMAQ acquire and other IMAQ functions with Queue functions.

    i am trying to use IMAQ acquire and other IMAQ functions with Queue functions.
    i mean i would like to acquire the image in a queue and deque it afterwards. would be the queue function accept the IMAQ data type?

    Refer posting, http://exchange.ni.com/servlet/Redirect?id=8879554

  • I am trying to use East West Quantum Leap Symphonic Orchestra with Garageband '11 and East West isn't showing up on the Audio Unit Modules List. Help?

    I am trying to use East West Quantum Leap Symphonic Orchestra with Garageband '11 and East West isn't showing up on the Audio Unit Modules List. Help?

    Not sure what to say. Have the free version, installed it and GB found it. Perhaps contact East West support if you have a paid version...

  • I am trying to use a Logitech USB headset to record with screencast o matic. In the sound file of system preferences the headset is recording audio. However it stops working when I use screen cast o matic. Any advice?

    I am trying to use a Logitech USB headset to record with screencast o matic. In the sound file of system preferences the headset is recording audio. However it stops working when I use screen cast o matic. Any advice?

    See these threads for some possible solutions:
    Bluetooth and 10.7
    Bluetooth speaker error

  • Can anyone tell me how to get rid of tlb search? it unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    Can anyone tell me how to get rid of tlb search? It unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • 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]

  • 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

  • HT2729 I have tried everything to sync my ipad to windows vista with no luck Help pleasease

    I have tried everything to sync itunes using my ipad to windows vista with no luck Please Help

    If your MBP has a display device that is an AMD Radeon 6XXX model, then you may be suffering from a known issue with Thunderbolt displays discussed here 10.9.4 - Thunderbolt display for 6630M (Mini mid-2011) still broken and elsewhere.
    You can see the device by choosing About this Mac, then clicking on the "More Info...." button.

  • HT5616 I'm trying to use my iCloud account to share pictures with a friend.  I also want him to share his pictures with me.  How do I do that?

    I'm trying to use icloud to share pictures with a friend.  I also want him to be abe to share his pictures with me.  How can I do that?

    Set up iCloud photo sharing on your PC (see http://help.apple.com/icloud/#/mm1bdd9cae49), add photos to a shared stream and invite your friend as a subscriber.  Have your friend do the same with the photos he/she wants to share.  Note: if you don't have an iCloud account you will have to create your iCloud account on an iOS device (iPhone, iPad, etc.) or Mac as this can't be done on a PC.

  • 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

  • Sudden failure of 32-bit Oracle 11g ODBC driver in 64-Bit Win7 box

    I had a working ODBC connection to an Oracle DB using the 32-bit 11g ODBC driver. Suddenly I was unable to connect, getting the error:
    Testing Connection
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-00604: error occurred at recursive SQL level 1
    ORA-12899: value too large for column "SYSTEM"."LOGON_AUDIT"."PROCESS" (actual: 13, maximum: 12)
    ORA-06512: at line 51
    OK
    For a strange twist, the connection works perfectly with the workstation in Safe Mode. I've tried disabling Symantec Endpoint Protection, and adjusting the Firewall, but so far no dice. Any advice I can get will be appreciated!
    Thanks
    Keith

    How do you get the 32bit client to communicate with the 64bit Oracle instance on the same windows box? After installing the 64 bit db and client (on a developer desktop), I installed the 32 bit client to a different oracle home. I could not get it to connect to the listener - what am I doing wrong? Should I reinstall it to the 64bit home - I'm afraid that'll kill everything though.
    Also, I think I'm correct in this, but not sure: any 32bit app must use the 32bit client on the 64bit box. MS Access needs 32bit ODBC, which needs 32bit client, etc.
    Thx,
    Jeff

  • Tns time out windows client , server on linux oracle 11g R1

    I have Windows 7 as the host machine and Oracle 11g R1 client installed on it.
    I installed VMWare V5.5 (downloaded from oracle site) and then installed Linux on it as guest OS. I have Oracle database 11g R1 intalled on Linux.
    I can ping the Linux server from Windows.
    I can also ftp to the Linux server from windows and get the files locally on Windows OS.
    The listener and tns files are configured correctly (i assume) on both Linux and Windows.
    Listener.ora on Linux
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME =CLRExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_2)
    (PROGRAM = extproc)
    (SID_DESC=
    (GLOBAL_DBNAME=orcl)
    (ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_2)
    (SID_NAME=orcl)
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.159.132)(PORT = 1521)) ) )
    Tnsnames.ora on linux
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.159.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Sqlnet.ora on Linux
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 300
    SQLNET.SEND_TIMEOUT = 300
    SQLNET.RECV_TIMEOUT = 300
    Windows files
    Tnsnames.ora on Windows
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.159.132 )(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl) )
    Sqlnet.ora on Windows
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 300
    SQLNET.SEND_TIMEOUT = 300
    SQLNET.RECV_TIMEOUT = 300
    The error on windows
    ping results on windows
    C:\Users\sri>ping 192.168.159.132
    Pinging 192.168.159.132 with 32 bytes of data:
    Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
    Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
    Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
    Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.159.132:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Users\sri>tnsping orcl
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 23-JUL-2010 19:55:56
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\or11g\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 =192.168.159.132)(PORT = 1**
    **521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))**
    **TNS-12535: TNS:operation timed out**

    # sqlnet.ora Network Configuration File: C:\or11g\product\11.2.0\dbhome_1\network\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)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 300
    SQLNET.SEND_TIMEOUT = 300
    SQLNET.RECV_TIMEOUT = 300

  • 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

  • Anyone used PL/FLOW with APEX in Oracle 11g?

    Greetings.
    I'm trying to find out if any of you have successfully used SourceForge's PL/FLOW with APEX in an 11g environment. References to PL/FLOW seem to be limited to 9i and I need to have some assurance that it would be compatible in a more updated setting.
    And do you have any advice on installation and use cases?
    http://plflow.sourceforge.net/
    Thanks very much!
    Chris

    Hi Chris,
    I've used it in a 10g DB without any problems, I have no reason to suspect (without trying it) that it wouldn't work in 11g.
    Did you try it, did you have some problems?
    John
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Maybe you are looking for

  • Macbook Pro A1150 freezes, intermittently doesn't boot, replaced HD...

    I have a Macbook Pro 2006 core duo, 2ghz, 2 gig ram. It has worked fine for years and i've been very happy with it. I noticed a lot of freezing a few months ago and the original 120gig hd finally gave up. I managed to save my files before this and pu

  • Umax Astra 1200S scanner (SCSI) not being recognized in OS 9.2.2

    I have a Umax Astra 1200S scanner connected to a Power Mac G4 which is no longer being recognized in OS 9.2.2. I keep getting a message -- "scanner not found." The connection is a SCSI connection. I have reinstalled the drivers from the original scan

  • Laptop spec for Photoshop

    Hi, I'm sure this question has come up before but I'm putting together a laptop that will be mainly used for Photoshop, CS5 at the moment but later CS6 and possibly a bit of video editing as well. Any advice on whether it might be lacking in somethin

  • Need help writing a query for following scenario

    Hi all, I need some help writing a query for the following case: One Table : My_Table Row Count: App 5000 Columns of Interest: AA and BB Scenario: AA contains some names of which BB contains the corresponding ID. Some names are appearing more than on

  • Moving Active Profile To Another Sub-Org

    I am looking for a safe method of moving active service profiles to another Sub-Org without doing any re-confis. Thanks