I am having a problem on loading oracle.dataaccess. Here's the message I get:
Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I have following entries in my web.config for this.
<add assembly="Oracle.DataAccess, Version=2.112.1.0, Culture=neutral,
PublicKeyToken=89b483f429c47342"/>
Under assemblies
and
<dependentAssembly>
<assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342"
Culture="neutral" />
<BindingRedirect oldVersion = "2.112.1.2" newVersion = "2.112.1.0" />
</dependentAssembly>**
I am developing on Visual Studio 2008 on a Windows Vista machine. I have my IIS 7.0 application pool enabled for 32-bit applications, and my platform target for this project is x86 instead of 'Any CPU'.
I am still trying to figure out what exactly is wrong in this case.