VS 2010 (32bit) vs Oracle client 64bit BizUnit issues RRS feed

  • Question

  • As I've found out there is no VS2010 64bit, only 32bit.

    We've installed oracle client 64bit on our 64bit system and BTS2010 in 64bit mode works well (using Oracle WCF Adapter)

    But all our BizUnit tests are running inside VS2010 (which doesn't have 64bit version), so they failed to use oracle 64bit binaries.

    I guess this causes the error we're receiving:

    BizUnit.TestStepExecutionException: BizUnit encountered an error executing a test step ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: 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. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

    Usually it's vice verse - this error comes when BizTalk in 64bit mode is trying to access Oracle Client 32bit (at least I can only find these kind of problems described in the internet), but we definitely have Oracle Client 64bit!

    Here is the question - how are we going to run (basically any tests) in 32bit VS2010 when Oracle Client 64bit installed?

    • Edited by a.marax Thursday, October 4, 2012 11:08 AM
    Thursday, October 4, 2012 11:06 AM