Hi,
I have one ASP.NET web service application which is using Oracle.DataAcess to communicate with Oracle data base, my operating system is Windows server 2012 64 BIT and I have installed Oracle client.
in my application I am giving reference to Oracle.DataAccess.dll from C:\Oracle\product\12.1.0\client_1\ODP.NET\bin\4\
when I run the application in Visual studio 2015 I am getting an error as
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.
Then I have hosted in in IIS and getting the same issue, but then I have change the default app pool setting and change the Enable 32-bit application to false and it is running fine. please let me know how can I solve this issue while debugging from Visual studio.