title: Oracle.DataAccess.dll not loading using C#
body: <p>I am having a problem on loading oracle.dataaccess. Here's the message I get:</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <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 Visual&nbsp;Studio&nbsp;2008 on a Windows&nbsp;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 am still trying to figure out what exactly is wrong in this case.</p>