BadImageFormatException on configure a ORACLE 32 bits app on a IIS7
Posted on 2013-01-21
I have a 32 bits ASP.NET application that works with Oracle Data Client.
I'm in process to migrate this app (currently runs on a IIS6) to a new IIS7.
On the new server I have (I need to have) both 32 and 64 bits Oracle clients.
The problem is that when I try to load the app, a BadFormatException is raised from IIS7. The error is saying that I'm trying to load the 64 bits Oracle client, when I want to load 32 version.
How can config my app or "I don't know what" to use specifically the 32 bits client?
Thanks in advance.