Running in 64 bit mode with the 32 bit Oracle client installed

I have seen many postings on this issue but none of the suggested solutions have helped me.
I am running visual studio 2010 professional with SP1 on windows 7 64 bit machine. When I try to run a web service locally and call it with SoapUI, I get the following error message during OracleConnection.Open().
Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
I have tried setting up the build configuration and the project settings to target 32 bit but that has not helped. I have also tried removing the reference to System.Data.OracleClient that shows being under Program Files (x86) and add a new reference to the dll under GAC_64. That too did not work.
I only have the 64 bit client installed on my machine.
Any help will be appreciated.
Thank you

1. Visual Studio any version is 32 bit ONLY irrespective of hardware or OS bits.  So to DEVELOP with Oracle Client you MUST install 32 bit Oracle ODAC components. Task manager will show devenv.exe *32 (to confirm 32 bit Visual Studio application).
2. You can run your web application inside IIS/IIS Express in your PC which independently can be either 32bit or 64bit.  If it is 64 bit, you MUST also install 64 bit Oracle ODAC components which means you'll have to install both 32bit and 64bit in your 64 bit Win7 running on 64bit hardware.
3. In Visual Studio if you compile with "AnyCPU" as target, the resultant binaries (Web/NonWeb) can be both 32bit or 64bit.  So if target PC is "AnyCPU" or "x64", you MUST install Oracle ODAC 64 bit in the target OS if that target OS is 64bit.  You don't have to install 32bit ODAC in the target PC.
4. One more catch to above scenario is the target OS could be 64bit simulated OS on a 32bit hardware. In such case you MUST install both 32bit and 64bit ODAC components.
So while you ask your network team to download ODP.NET/ODAC Components make sure you ask them to download both 32bit and 64bit. Total nearly 600MB.
Hope this helps many people out there.

Similar Messages

  • Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

    Hello guys,
                Problem has been solved -
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    1. If you install 64 bit oracle this is not an issue. Install 64 bit oracle.
    2. Download odp.net 32 bit  from below link:-
        ODP.NET Managed Driver Beta Download</title><meta name="Title" content="ODP.NET Managed Driver B…
    3. installed the odp.net.
    4. open the visual studio 2010.
    5.Select new - project - asp.net web application - project name -ok
    6.select tools- > connect to database- then follow the following steps
                             i>  user name - your user name/client username (example -- hr)
                             ii> password -- enter your password/client password  (example- hr)
                            iii>select connection type -- if you want to connect client database then- select EZ connect other wise select tns
                            iv>test the connection- then you will get connection succeed.
                            v> then click ok
    Thanks
    Chandrashekhar

    You do not need to do anything in VS.  You do need to configure both tnsnames.ora files, because the drivers do not share any data.
    Please see:
    http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a-64-bit-machine.aspx

  • This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

    hi friends ,
    My report Fetch from the orcle database , we installed Oracle 10g and 11g - clent 32 -bit on win 2k8 -64 bit machine .while design time runing fine,but ofter depolyement im facing below issue.
    In error has occurred during report processing. (rsProcessingAborted)
    The execution failed for the shared data set 'abc'. (rsDataSetExecutionError)
    Cannot create a connection to data source ' Data source for shared dataset'. (rsErrorOpeningConnection)
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
      Any help is greatly appreciated, I have tried couple of solutions going through some threads online but no use and place dt tell install 1og r 11g 64-bit

    Hi,
    Based on the error message, we should confirm whether Oracle client tool has been installed on the Report Server at the beginning. If the Report Server installed is 64-bit, we should also install a 64-bit Oracle client tool on the Report Server. Besides, we
    can also try to bypass tnsnames.ora file when connecting to Oracle by specifying all the information in the data source instead of using the TNS alias to connect
    to the Oracle database. Please see the sample below:
    Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST= server01.mydomain.com)(PORT=1521)))(CONNECT_DATA=(SID=OracleDB)(SERVER=DEDICATED)));
    Reference:http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/06/30/ora-12154-tns-could-not-resolve-the-connect-identifier-specified-error-while-creating-a-linked-server-to-oracle.aspx
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • On some pages I get an error in yellow at the top "This page requires a plugin that can only run in 32-bit mode" with an option to restart; how do I find which plugin this applies to and/or disable this message for the given plugin?

    I don't want to restart in 32-bit mode unless absolutely required, and even if I need to I want to track down and replace the involved plugin with a 64-bit version if I can. There should be a 'more information' or similar button instead of just 'Restart in 32-bit mode' being the only prominent option.

    Look to see if you have an app called Browser Plus from Yahoo. I uninstalled it because it said it isn't compatible with Firefox 4 & up. Thus far that error hasn't returned.

  • Just bought new PC running Windows 8.1. I have Install discs for Photoshop 4 and an upgrade to Photoshop 7. Unfortunately the Photoshop 4 Install disc won't run as it's incompatible with 64 bit. How do I install Photoshop 7 on my new PC? Is there a place

    Just bought new PC running Windows 8.1. I have Install discs for Photoshop 4 and an upgrade to Photoshop 7. Unfortunately the Photoshop 4 Install disc won't run as it's incompatible with 64 bit. How do I install Photoshop 7 on my new PC? Is there a place I can download the Install files from?

    Pagemaker is ancient, obsolete and unsupported. It was discontinued over 10 years ago. (Though why it is still sold is a mystery.)
    If you want to run PageMaker, your best bet is to use a Win2K or WinXP PC.
    Otherwise move to Indesign or look at Serif's PagePlus or Scribus.

  • For BPC how to enable Wow6432 compatibility to run in 32 bit mode on the 64

    Dear friends
    I am going to install BPC 7.0 so I want to  enable following issues on my windows OS 64Bit
    "If you run this on 64 bit hardware, you must configure it to enable
    Wow6432 compatibility to run in 32 bit mode on the 64 bit system"
    can any tell me solution as soon as possible
    regarads
    krishna
    Edited by: krishna murthy on Feb 24, 2010 11:24 AM

    hi,
    as you read, your BPC was designed for NET1.1 which build under 32bit platform while NW AS ABAP needs 64 bit environments to run. wow3264 is to enable your 32 bit application to run on 64 bit platform in this case BPC NET component can run on 64 bit. wow3264 is windows registry keys. so you can find it in the registry value using regedit.msc.
    may this help you.

  • I am running Lightroom 6 in conjunction with 64 bit Photoshop CS6. I need to install Camera Raw 9 plus other relevan updates for the Adobe Design and Web Premium CS6 package. Running Adobe Application manager finds the relevant updates but won't download

    I am running Lightroom 6 in conjunction with 64 bit Photoshop CS6. I need to install Camera Raw 9 plus other relevan updates for the Adobe Design and Web Premium CS6 package. Running Adobe Application manager finds the relevant updates but won't download / install them. Clicking the update button results in an error message "Application Manager has stopped working". This is a windows system running 64 bit Windows 7

    update manually:
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2014 updates:  win (http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html) / mac (http://prodesigntools.com/adobe-cc-2014-updates-links-mac.html)

  • HT1338 i've been getting an error when trying to play online games saying that i need to have the browser in 32 - bit mode. my browser is in 32 - bit mode but the msg keeps coming up and not running the game

    i've been getting an error when trying to play online games saying that i need to have the browser in 32 - bit mode. my browser is in 32 - bit mode but the msg keeps coming up and not running the game

    I dunno, that doesn't make any sense to me.
    I just shut down and rebooted into the SnowLeopard partition and took a peek at the preference panes.  There are only 3 that run in 32 bit only.  They are all 3rd party, and none of the prefpanes are non Intel.  Like I said, I have never owned a PPC machine.  Anyhow, SnowLeopard doesn't even have an iCloud prefpane, or a combined mail, contacts, and calenders prefpane, and the ML security and privacy prefpane is all new as well.  The software update prefpane is Intel and 64 bit in both SnowLeopard and Lion.
    As to the triple boot, unless I'm totally mistaken, what I have here is, in essence, 3 seperate descrete computers in one box.  All using the same hardware. but one at a time.  I wouldn't know how to get more than one running at the same time, without using a virtual machine, even if I wanted to.  (Which I don't)  I do sometimes transfer files from one to another using the shared folder, but other than that, they do not interact.  How could ML system preferences be trying to launch prefpanes from a totally different machine?

  • I need to open Firefox (7.0.1) in 32-bit mode, and the Get Info box does have this option.

    I have downloaded a piece of software (Scorch) that requires me to open Firefox (I'm running 7.0.1) in 32-bit mode. The Get Info box on my Firefox does not have this option. My computer is a MacBook running OSX 10.5.8.
    There is some time urgency on this! What can I do?

    usually is a check box over the locked box:
    http://www.google.gr/search?hl=en-us&cp=13&gs_id=3m&xhr=t&q=open+firefox+in+32-bit+mode&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.,cf.osb&biw=987&bih=607&bs=1&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi
    do you have it in safari?
    thank you

  • How can i open my imac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    How can i open my iMac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    Thx for yr reply. maybe i don't express myself very well. i know ML is 64 bit system. and it does not open up my VPN connection (the VPN connection i am talking here is Cisco and it is only in 32 bits) . i was wondering is there a way my macbook air 11 inch first generation can turn back into its original operation system, so that i can use the VPN connection. THX

  • I need to run Illustrator in Rosetta Mode and the option isn't in Get Info

    Hello everyone,
    I need help. I need to run Illustrator in Rosetta Mode and the option isn't in Get Info.
    I'm using CS3 on a Mac Book Pro 2.16GHz with 2gigs of RAM. When I get info on the Illustrator App, there isn't a rosetta option.
    To be clear, I'm right-clicking on the icon in the dock, choosing 'show in finder', clicking on the Illustrator icon in there and there's no option.
    NOW, my copy of Photoshop HAS the option! It's in the general tab just over the Lock option.
    Any help would be greatly appreciated!!!
    Thanks!

    Trash your preferences for a starter.

  • Is it possible to use 32-bit firefox with 64-bit java plugin?

    Is it possible to use 32-bit firefox with 64-bit java plugin?
    I'd like to use 32-bit firefox and I already install 64-bit java plugin.
    Is that a right choice not to install 32-bit java plugin?
    Will these cause problem?
    Thanks in advance.
    Regards,
    Sean

    Nope - you need the 32bit Java to go with the 32bit Firefox if you want Java to run

  • Install new Dialog Instance on 64-bit Server with 32-bit database

    I need to set up a new Application Server for our current ECC 5.0 32-bit Oracle 9.2.0.7 Non Unicode Database.  The new server is x64-bit and will have Windows 2003 64-bit OS.  I am reading SAP notes 785888 and 814834 and need help understanding how exactly to do this.  The database server is 32-bit Windows 2003 and so is all the other application servers.  Do I use the Oracle 9.2.0 client for 32-bit Oracle and do I use the SAP ECC X64 Install Master in setting up the dialog instance or do I use the 32-bit Install master?  Has anyone done this type of setup before?  Thanks.

    Hi,
    all basic information is provide in note 785888.
    you want to install dialog install on 64bit windows for 32 bit central instance for that you should consider following.
    -> file system is accessible from both host  vice a versa for that you can create one use sapinst on 64 bit host with administrator authorization. and create same user on central instance with administrator authorization and same password.
    -> perform dialog instance installation using this user  ( i.e sapinst)
    -> if you want to use  dialog instance on 64 bit host with 64 bit kernel, install oracle client 10.2 for 64 bit on 64 bit host of windows. for media information check note 949116.
    ->use  non unicode kernel because central instance use non unicode kernel.
    -> most important 64 bit dialog instance required 64 bit kernel, SAPinst installation screen ABAP System > Instance Directories, where you are asked for the "Location of SAP System Executable", you choose "Yes, locate executables on central instance host", before choosing "Next". The executables for the dialog instance are installed to
    <sapglobalhost>\sapmnt\<sapsid>\SYS\exe\<nuc\uc>\NT<AMD64|IA64|I386>*
    so when you want to apply kernel patch you have to uncar the kernel package to this location.
    -> maintain the kernel patch level same on both host.
    regards,
    kaushal

  • Have to run windows in safe mode with network to have browserws work correctly. using IE and Firefox. Fist web site comes in correctly next tab just sites wai

    have to run windows in safe mode with network to have browserws work correctly. using IE and Firefox. Fist web site comes in correctly next tab just sites waiting for web site Help

    If it works in Windows Safe mode then you have a problem with other software, possibly security software or a system driver, that is running on your computer.<br />
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Is there a way to run a 2005 PreSonus Firebox(with the firewire) to a mid-2011 iMac 0SX 10.7.2? It says its no longer supporting Power PC? Anything I can do without spending more money on new equipment or a new computer? Please help me.

    Is there a way to run a 2005 PreSonus Firebox(with the firewire) to a mid-2011 iMac 0SX 10.7.2? It says its no longer supporting Power PC? Anything I can do without spending more money on new equipment or a new computer? Please help me.

    Nevermind, I got it working.
    I ended up extracting the new vob within MPEG Streamclip, which gave me an m2v and an aiff audio. I multiplexed those two back together in FFMpegX which gave me a complete VIDEO_TS folder with BUP and IFO files I needed.

Maybe you are looking for

  • Qosmio F20 with Vista RTM

    I have successfully installed Windows Vista RTM on my Qosmio F20-155 device. The installation went smooth and everything is fine. I have the following problems which I suppose are common with everyone else: - No SD card support - Waiting for new nVid

  • Link tables

    Hi My selection screen has vkorg,prdha(prodct group),bukrs,bsart(Purchase order types). i need to display output vbap-prodh(product group) vbak-kunnr,vbak-audat,vbak-edatu.....these all from sales ... mara-prdh(product group),ekko-ekorg,ekko-aedat..

  • Functionality of enhancement:SDVFX007

    Hi, please exlpore the functionality of this enhancement.This is used for vf01,vf02 transactions. In which cases we use this enhancement Regards Pratap.M

  • Need to find user exit for Auto TO creation

    Dear SAP WM experts I need to filter the TR getting converted into TO automatically I can see, in configuration, that an exit is suggested for the same: This configuration refers to OMKZ transaction, package LVSC When I search using the same in SMOD,

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?