Instant client 64 bit

HI,
I have a new compiuter that I am setting up. It was origionally installed as a 32 bit. However, a problem resulted in a re-build and OS 64 bit was installed. Now I am trying to install the ODBC 64 bit version and connect to Visual Studio. I have tried several times and I can create the ODBC connection fine,but when I try to use it from Visual Studio it gives me an error stating:
Attempt to load Oracle Client libraries threw BadImageFormatException. This problem will occur when running 64 bit mode with the 32 bit Oracle client components installed.
I have tried the Instant client x 64 11.2.2
and several lower versions, but with the same results.
When I create the ODBC connection I do see that the driver is SQOAR32.dll
I am on a Windows 7 Machine.
How do I get the 64 bit version installed?
Thanks,
Trish

64 bit clients can be downloaded from here: http://www.oracle.com/technetwork/topics/dotnet/downloads/index.html
That said, Visual Studio itself is 32 bit, so if you want the developer tools to work, you'll need a 32 bit client. If you're not using the developer tools in your project and you're compiling your project for AnyCPU or x64, the 64 bit client will work. If you're compiling for x86, you need the 32 bit client. (If you want to do both, you'll need two clients installed.)
edit - Actually, it looks like in this case you might be running into a problem of needing a 32 bit client & ODBC connection. The error mesage could be misleading here as Visual Studio itself is 32 bit. Did you create the ODBC connection using control panel? If so, that's a 64 bit connection.
32 bit ones are created using c:\windows\syswow64\odbcad32.exe
Edited by: Tridus on Jan 3, 2013 3:24 PM
Edited by: Tridus on Jan 3, 2013 3:24 PM

Similar Messages

  • Instant Client on 64-bit Windows 7: Driver does not appear in System DSN

    Instant Client on 64-bit Windows 7: Driver does not appear in System DSN tab when creating a new Data source.
    What I did so far:
    I downloaded the basic and odbc zips for Window 64-bit.
    Unzipped the basic zip.
    Unzipped the odbc zip to the same directory.
    Added the dir path to the System Environment Variable called Path.
    Double-clicked on the odbc_install.exe to run it from Windows Explorer.
    Then I tried to add the driver to create a new data source but it does not appear in the list of drivers.
    From a cmd window, I navigated to the instant client directory and tried to run odbc_install again.
    I got the message: Oracle ODBC Driver with same name already exists.
    What am I missing?

    hello, I did it like that you say,but the result also is "oracle odbc driver with same name already exists". I don't kown what can I do it ,Thank you!

  • Unable to install 64-bit Oracle ODBC Instant Client on Windows 2008 R2 machine.

    I am trying to upgrade the Oracle ODBC driver from the 32-bit version currently installed (ODBC Instant Client Release 10.1.0.5.0, April 2006) to a newer 64-bit version but have not been successful.  I have had success at uninstalling and reinstalling the existing 32-bit version package (release 10.1.0.5.0) however when I've tried to install the 64-bit ODBC Instant Client (Release 12.1, December 2012), I run the odbc_install.exe application inside the package.  it appears to run without issue/compliant, but then I do not see the 64-bit Oracle ODBC driver anywhere, either if I go via the traditional Administrator Tools --> ODBC Data Sources or if I go to the c:\windows\syswow64\odbcad32.exe route.  Further investigation into the ReadMe file (ODBC_IC_Readme_Win.html) reveals that you need the 3 DLLs oci.dll, oraociei11.dll and orannzsbb11.dll which the package does not come with. Where could I obtain the correct version of these DLLs or else where can I get an installation package which already contains them?
    Any help with this is greatly appreciated.  Thank you

    Welcome to the forums !
    Pl post this in the Instant Client forum - Instant Client
    HTH
    Srini

  • Windows 7 64 Bit machine with Instant Client and 32Bit application

    Hello everybody,
    the last days a tried to get a 32Bit application to run on a Windows 7 SP1 64 Bit machine ... unfortunately with no success. The application runs on XP Pro and Vista Pro 32 Bit machines against a 11g RDBMS for years. As a refenence we use SQLTools from sqltools.net. It has nearly the same behaviour like the application, because it is a 32 bit application too.
    First thing was to install a 64 bit environement to verify if the connection is allright.
    - Downloaded instantclient-basic-windows.x64-11.2.0.2.0.zip an instantclient-sqlplus-windows.x64-11.2.0.2.0.zip
    - Unpacked both packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
    - Made a directory C:\oracle\tnsnames with tnsnames.ora in it, because the app uses it
    - Set the environement variables TNS_ADMIN to point to C:\oracle\tnsnames and added C:\oracle\instantclient_11_2 in front of the path variable
    - Restarted the machine
    - Opened a commnd shell and startet sqlplus user/password@sid
    Everything was allright, I was able to connect to the database as expected
    Second thing was to start SQLTools, but as I feard it quitted with an error message when trying to access oci.dll of the instant client.
    So i decided to switch to a 32 bit environement as a third thing.
    - Downloaded instantclient-basiclite-nt-11.2.0.2.0.zip and instantclient-sqlplus-nt-11.2.0.2.0.zip
    - Deleted the old C:\oracle\instantclient_11_2
    - Unpacked both 32 bit packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
    - Didn't change anything in the environement, because nothing changed from the view of the system
    - Opened a commnd shell and startet sqlplus user/password@sid
    But now I wasn't able to connect and got the following error
    ORA-28547: connection to server failed, probable Oracle Net admin error
    SQLPlus was able to start now, but when trying to connect to the database I got the same error like when connecting with sqlplus.
    Does anybopdy have an idea how to manage to get a 32 bit application to run on a Windows 7 64 Bit machine?
    Thanks in advance
    My packages:
    Windows 7 64 bit SP1
    Oracle Instant Client basic lite 11.2.0.2.0
    SQLPlus 1.5 22D

    Have you tried WOW64 ? I have not used this emulator for sqlplus but it works for other 32 bit applications.
    http://msdn.microsoft.com/en-us/library/aa384249%28v=VS.85%29.aspx
    Thanks

  • Instant client 10.2.0.2 - Solaris 32 bit - sqlplus relocation error

    Did anyone use the sqlplus that comes with Instant Client 10.2.0.2 - Solaris 32 bit to connect to a remote Oracle database?
    I am unable to get it working.
    More info below:
    I unpacked these two packages onto my Solaris 9 box into a directory called /space/OracleClient10g/instantclient_10_2
    a) instantclient-basic-solaris32-10.2.0.2-20060303.zip
    b) instantclient-sqlplus-solaris32-10.2.0.2-20060303.zip
    I have set the following environment variables (csh):
    setenv ORACLIENT /space/OracleClient10g/instantclient_10_2
    setenv LD_LIBRARY_PATH "$ORACLIENT":"$LD_LIBRARY_PATH"
    set path = ($ORACLIENT $path)
    setenv SQLPATH $ORACLIENT
    setenv TNS_ADMIN $ORACLIENT
    setenv NLS_LANG AMERICAN_AMERICA.UTF8
    The tnsnames.ora file is in the $TNS_ADMIN directory and it has the tns entry that I need.
    When I run sqlplus using the tnsentry, I get a "relocation error" as below:
    $ sqlplus user1/pwd1@tnsentry
    ld.so.1: sqlplus: fatal: relocation error:
    file /space/OracleClient10g/instantclient_10_2/libsqlplus.so: symbol
    lnxqebc_chars: referenced symbol not found
    (The same tns entry is used from a different Solaris 9 machine where I have a full Oracle 9i client installed and sqlplus connects fine using this tns entry - so I do not think there is anything wrong with this tns entry. Besides, the error message that I am getting when I run sqlplus can be reproduced even by simply running 'sqlplus' without any arguments. )
    When I do an 'ldd' on sqlplus, every library needed by sqlplus is loaded correctly.
    $ ldd /space/OracleClient10g/instantclient_10_2/sqlplus
    libsqlplus.so => /space/OracleClient10g/instantclient_10_2/libsqlplus.so
    libclntsh.so.10.1 => /space/OracleClient10g/instantclient_10_2/libclntsh.so.10.1
    libnnz10.so => /space/OracleClient10g/instantclient_10_2/libnnz10.so
    libkstat.so.1 => /usr/lib/libkstat.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libgen.so.1 => /usr/lib/libgen.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    librt.so.1 => /usr/lib/librt.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libmd5_psr.so.1
    Any ideas on the cause of this error?

    I'd say that there is a problem loading the shared library libsqlplus.so.
    Try 'ldd /space/OracleClient10g/instantclient_10_2/libsqlplus.so' and see which libraries are referenced.
    It seems like they are all found, but at least one of them is missing an entry that should be there.
    - Trace sqlplus with 'strace' or 'truss' (I don't know which of the two exists on Solaris) to
    find out which library has the problem.
    - Check the versions and compare them with the versions required by the installation guide for the Oracle client.
    Yours,
    Laurenz Albe

  • Win7 x64 - how to configure 32-bit Instant Client

    I am having difficulty getting Instant Client to establish an ODBC link to Excel 2007, a 32-bit app.  My OS is Windows 7 Professional x64 on a Windows 2008 domain.
    I installed Oracle 11g Client 64-bit (11.2.0.3.0), Instant Client Basic 64bit, and Instant Client ODBC 64bit.  Path and TNSNAMES parameters were set correctly, and I was able to use Windows Admin Tools to successfully establish a connection to PowerSchool's Oracle database.  So far, so good.
    When I tried to use this connection in Excel 2007, I got an error message stating that "the specified DSN contains an architecture mismatch between the Driver and Application."  More research led me to conclude that I need to install 32-bit Instant Client Basic and ODBC.
    So I downloaded the appropriate versions of both of these, installed it into c:\ora\<username>\product\11.2.0\client32 (a sibling to the 64-bit client_2 folder), and now I'm stumped.  Running windows\sysWOW64\odbcad2.exe, I see what I think is the 64-bit client, which gives an error message about incompatible architecture (again, 64 vs 32 bit).
    What parameters need to be set with odbcad2.exe, and how?  Do I need to run the odbcconf.exe program in sysWOW64?  I tried adding the ...\client32 folder to PATH; no effect.  Is this described in excruciating detail anywhere?

    Ferdimar,
    This problem sounds like the server is incorrectly configured. You can try verifying that it is setup correctly for the TNS listener.

  • Will Instant Client 10.2.0.1 be available for Solaris 32-bit (SPARC)?

    The latest Instant Client release is currently not available for Solaris Sparc 32-bit.
    Does anyone know when it will be available?
    Thank you.

    It is available now.

  • Updated Instant Client 11.2 for Linux 64 bit is on OTN

    The 11.2 Instant Client for Linux 64bit has been updated on http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
    It is now at the same patch level as 32 bit.

    I just tried to download these as RPMs. I was able to download the basic rpm but the sqlplus rpm and supplemental jdbc rpms failed. Instead of getting a prompt to save the file, content was displayed by the browser (binary content). It appears as is the mime type was not set correctly?
    Brad

  • AIX 64-Bit Instant Client

    Why does the instant client download only include libclntsh.a and libocci.a for the Client Code Library and the OCCI Library respectively? Where are the .so dynanimc link libraries with the instant client? I see those with the full Oracle install in the $ORACLE_HOME/lib directory on AIX 64-Bit.
    Does that mean that to build instant client compatible apps, I can only statically link libclntsh.a and libocci.a? I'm a little confused since the documentation suggests otherwise.

    That one is easy, and I will explain it in a second.
    What really is mysterious is that "polittba" gets an error on "ar -t libclntsh.a", but that may be due to a corrupted file...
    For what it is worth, libclntsh.a from 10.2.0.4 yields the following checksum:
    $ cksum libclntsh.a
    1526887592 24719097 libclntsh.a
    To your problem: The error message is misleading. "ldd" can find libc.a fine, the "Cannot find" is an incomplete error message for a different library that "ldd" cannot find.
    Very annoying, and I would say that this is a bug in AIX' implementation of "ldd".
    The "Cannot find" is actually because it cannot find libclntsh.a
    See for yourself: if you set LIBPATH correctly to point to your instant client directory, you get:
    $ LIBPATH=/wherever/instantclient_10_2 ldd libociei.so
    libociei.so needs:
    /wherever/instantclient_10_2/libclntsh.a(shr.o)
    /usr/lib/libc.a(shr_64.o)
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /usr/lib/libdl.a(shr_64.o)
    /usr/lib/libodm.a(shr_64.o)
    /usr/lib/libperfstat.a(shr_64.o)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)
    /usr/lib/libcfg.a(shr_64.o)
    /usr/lib/liblvm.a(shr_64.o)
    Yours,
    Laurenz Albe
    PS: I just notice that Instant Client 10.2.0.4 for AIX ships with both libclntsh.a and libclntsh.so.
    That is a bit confusing because - as I said some postings above - the former is a shared library.
    But then what is libclntsh.so?
    "file" will tell you it is a shared object.
    Now look:
    $ ar -t libclntsh.a
    shr.o
    Ah, this shared library contains exactly one shared object. Let's extract it:
    $ ar -x libclntsh.a shr.o
    Now compare shr.o and libclntsh.so:
    $ ls -l shr.o libclntsh.so
    -rwxrwxr-x 1 laurenz staff 24140392 May 10 20:36 libclntsh.so
    -rwxrwxr-x 1 laurenz staff 24140392 Oct 24 08:59 shr.o
    $ cksum shr.o libclntsh.so
    1406909702 24140392 shr.o
    1406909702 24140392 libclntsh.so
    They are the same!
    So Oracle ships the same thing twice: once as shared library AIX style (*.a) and once as shared object.
    I assume that this is to cater to those people who come from other UNIXen and look for *.so as a shared library.
    Or ported tools that do the same.
    You can use both the shared library *.a and the shared object *.so for dynamic linking.
    The linker "ld" will search for both if you pass "-lclntsh" and will take the first one it finds.
    If both are in the same directory, "ld" will use the *.a library, but you can change that preference with the "-brtl" flag.
    Sorry for the long rant that probably is not interesting to most, but I feel that there is much misunderstanding of shared libraries on AIX amoung people who come from - say - Linux.
    And one more attempt to clear that up can't hurt.

  • Can a program compilied with 32 libraries work with Instant Client 64 bit?

    We are compiling our program on IBM AIX 5L and HP-UX PA_RISC with 32 libraries (using ORACLE_HOME/lib32)
    for AIX and HP-UX RISC the only available Instant Client 10gR2 is 64 bit. there is no 32 version.
    can a program compilied with 32 libraries work with Instant Client 64 bit?

    64 bit clients can be downloaded from here: http://www.oracle.com/technetwork/topics/dotnet/downloads/index.html
    That said, Visual Studio itself is 32 bit, so if you want the developer tools to work, you'll need a 32 bit client. If you're not using the developer tools in your project and you're compiling your project for AnyCPU or x64, the 64 bit client will work. If you're compiling for x86, you need the 32 bit client. (If you want to do both, you'll need two clients installed.)
    edit - Actually, it looks like in this case you might be running into a problem of needing a 32 bit client & ODBC connection. The error mesage could be misleading here as Visual Studio itself is 32 bit. Did you create the ODBC connection using control panel? If so, that's a 64 bit connection.
    32 bit ones are created using c:\windows\syswow64\odbcad32.exe
    Edited by: Tridus on Jan 3, 2013 3:24 PM
    Edited by: Tridus on Jan 3, 2013 3:24 PM

  • 64-bit Instant Client for Oracle 9i

    Based on what I've read here, it looks like there are no Instant Clients for prior to 10.1.
    - Is this correct?
    - Does a 10.1 Instant Client work for accessing 9i databases?
    Thanks

    Yes, and yes. Except that the database should be 9.2, as connections to 9.0 are desupported.
    Yours,
    Laurenz Albe

  • Instant Client 10.2.0.1 for Windows 64-bit x86-64?

    Does anyone know when Instant Client for Windows on x86-64 might be released?

    We also badly need that build - thanks in advance ;)
    One of our customers uses a Citrix Farm based on Windows 2003 Server x64 (EM64T), on which our Client has to run (using the ODBC-driver of the Instant Client) and that customer don't want to install the Oracle Client.

  • Odbc instant client configurtion on Intel core i7,Windows 7,64 bit system

    Hi all,
    I tried to install the odbc instant client on the above mentioned configuration following the instructions given in the instant client package after downloading from the link given below(Basic and odbc packages).
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    But i cannot get this to work,i cannot find the microsoft odbc for oracle driver in the data sources in the system dsn tab.Did anyone come across such a scenario and make this work.It would be great if you can help find a way out of this.
    Thanks!

    You getting everything mixed up. First it's not the "odbc instant client", but the Oracle Instant Client. The Oracle Instant Client is not an ODBC driver but Oracle native drivers (OCI). Secondly the "microsoft odbc for oracle" driver is, as it's names implies, a Microsoft driver, not an Oracle driver so it's never going to be installed by the Oracle Instant Client. Finally you shouldn't need to use ODBC for Oracle. Use OCI to connect to Oracle databases.

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • Can I install Oracle XE on a system that has the Instant Client installed?

    Hello,
    After installing Oracle XE (Oracle Database Express Edition 11g Release 2 for Windows x64) on my Windows 8.1 64-bit system, I can not connect to the "Get started" url (http://127.0.0.1:8080/apex/f?p=4950).
    The output of "Start database" shows:
    The OracleXETNSListener-service is being started.
    The OracleServiceXE-service is being started.
    The OracleServiceXE-service has been started.
    The OracleXETNSListener service refuses to start. Could the presence of the Instant Client have something to do with this?
    The Instant Client is installed in C:\Apps\Oracle, with a tnsnames.ora in C:\Apps\Oracle\network\admin.
    Oracle XE is installed in C:\Apps\OracleXE.
    There is a system wide environment variable ORACLE_HOME, pointing to C:\Apps\Oracle.
    In the registry under HKLM\Oracle there are keys KEY_odac, KEY_ORACLE_HOME, KEY_XE, ODP.NET and OracleMTSRecoveryService.
    HKLM\Oracle\KEY_ORACLE_HOME\ORACLE_HOME = C:\Apps\Oracle
    HKLM\Oracle\KEY_XE\ORACLE_HOME = C:\Apps\OracleXE\app\oracle\product\11.2.0\server
    Thanks,
    George

    XE was the last installed Oracle product. I installed it on my development laptop, so I can use an Oracle database when not connected to the company network.
    The instant client was broken by the XE install. Uninstalling Xe fixes this, even without a reboot.
    The output of tnsping is:
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 21-APR-2015 07:18:00
    Copyright (c) 1997, 2014, Oracle.  All rights reserved.
    Message 3511 not found; No message file for product=NETWORK, facility=TNSTNS-03505: Message 3505 not found; No message file for prod
    uct=NETWORK, facility=TNS
    The Oracle related directories in the PATH environment variable are (in this order):
    C:\Apps\OracleXE\app\oracle\product\11.2.0\server\bin
    C:\Apps\Oracle\
    C:\Apps\Oracle\bin\

Maybe you are looking for

  • Can't connect to internet after upgrading to leopard

    Can someone please HELP ME! I have a ibook g4 and I recently upgraded from tiger to Leopard. My wireless internet service worked fine until I upgraded. My computer still recognizes the network i'm trying to connect to but when I try to connect, it ei

  • Need help debugging page in IE8

    The site in question works great on every browser except IE8. There is a div underneath the blue logo on the left hand side of the page that fades in with some copy. It is driven by a simple embedded script. However, I cannot figure out why it is not

  • Moving Time Machine to a new macbook

    I've just bought the newest macbook to replace my first gen macbook. I copied stuff across as usual and Time Machine seems already to go. (My TM disk is at work so I can't tell). But surely I don't want it to just set off adding to the backup of my f

  • Toll- ¨FREE¨numbers are not so Free with a subscri...

    I am in Mexcio, needing to make a nuber of calls to Canada & the USA, many of them toll-free numbers (1-800 / 1-888...) but, my PAID SKYPE subscription has been eaten up by these Toll-free numbers, which have you navigate through voice menu options,

  • Unable to install Toshiba Portable Hard Drive on HP20-2105A

    I have purchased a Toshiba 1TB USB 3.0 portable hard drive (Model No DTB310) and, when I plug in the USB 3.0 cable, the computer shows that the folder is empty, i.e. there is no setup.exe file. I am running a HP20-2105A computer  with Windows 8.1 -