Runtime error for sqlite v2.0 in dotNet 4.0 ? Is this the error?
<p>I just keep getting this error </p>

<blockquote>
  <p>Mixed mode assembly is built against version 'v2.0.50727' of the
  runtime and cannot be loaded in the 4.0 runtime without additional
  configuration information.</p>
</blockquote>

<p>when I am trying to load the file with a given path.</p>

<p>For example, I would like to load a file named "somename.db" which is an sqlite database filename. I am using System.Data.SQLite,   </p>

<blockquote>
  <p>ADO.NET 2.0 Data Provider for SQLite<br>
  Runtime version = v2.0.50727 
  and i run into that error.</p>
</blockquote>

<p>I am using dotNet 4.0 C# Express Edition, ...Thank you.</p>

<p>[<strong>UPDATE</strong>]</p>

<p>Resolve <a href="http://www.csharpcity.com/sqlite-ado-net-c-4-0/" rel="nofollow">http://www.csharpcity.com/sqlite-ado-net-c-4-0/</a></p>

<p>To fix, following node to your app.config file:</p>

<pre><code>&lt;startup useLegacyV2RuntimeActivationPolicy="true"&gt;
    &lt;supportedRuntime version="v4.0"/&gt;
&lt;/startup&gt;
</code></pre>
