Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my pc is 64 bit windows 7 and i need to develop a .net web services which will connect to 32 bit oracle[10g] server... please suggest what project setting and what oracle client will be required

What I have tried:

i tried any cpu setting with oracle 32 bit client installation but receiving below error

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
Updated 16-Apr-18 17:03pm

1 solution

The error message you received happens because native Oracle client is either 64 or 32 bit, not both.

In your project settings, try setting the architecture explicitly to x86,
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900