C# Oracle.DataAccess.dll not loading
<p>I am having problem on loading oracle.dataaccess. here's the message i get.</p>

<p><strong>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.</strong></p>

<p>I have following entries in my web.config for this.</p>

<pre><code>&lt;add assembly="Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, 
  PublicKeyToken=89b483f429c47342"/&gt; 
</code></pre>

<p>under assemblies</p>

<p>and </p>

<pre><code>&lt;dependentAssembly&gt;        
  &lt;assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342" 
    Culture="neutral" /&gt;        
  &lt;BindingRedirect oldVersion = "2.112.1.2" newVersion = "2.112.1.0" /&gt;      
&lt;/dependentAssembly&gt;**
</code></pre>

<p>I am developing on vs 2008 on 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'.</p>

<p>I still trying to figure out what exactly wrong in this case.</p>

<p>any help is appreciated. </p>

<p>thanks,
Aparikh</p>
