Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to create WCF service and am using Oracle as a database. But when I am trying to run service am getting following Error :

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I have 64 bit OS.

I have added reference to Oracle.Access.dll but it doesn't help.

Please reply

What I have tried:

Adding Oracle dll in GAC. Changes Platform from x86 to x64 and Any CPU
Posted

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