title: BadImageFormatException on DLL load and Provider not registered on local machine issue
body: <p>I am running a .NET 4.0 application, <a href="http://en.wikipedia.org/wiki/Microsoft_Access" rel="nofollow">Access</a> database on a Windows&nbsp;7 x64 bit OS + Office 2010 (64-bit compatible provider Microsoft.ACE.OLEDB.12.0).</p>
  
  <p>Platform target x86:</p>
  
  <ul>
  <li><p>Provider problem:</p>
  
  <p>The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine</p></li>
  </ul>
  
  <p>Platform target <em>x64</em> or <em>Any CPU</em>:</p>
  
  <ul>
  <li><p>DLL file problem:</p>
  
  <p>System.BadImageFormatException: Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.</p></li>
  </ul>