title: C# Failed to find or load the registered .Net Data Provider error
body: <p>I am using SQLite and the wrapper from <a href="http://sqlite.phxsoftware.com/" rel="nofollow noreferrer">http://sqlite.phxsoftware.com/</a> and when I add a data source to my project I get the error:</p>
  
  <p>"Some updating commands could not be generated automatically, the database returned to the following error: Failed to find or load the registered .Net Framework data provider"</p>
  
  <p>I have the latest .Net service pack and I have uninstalled and reinstalled the SQLite software.  I have also looked other places which suggest this entry is not in the machine.config file:</p>
  
  <pre><code>  &lt;add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.27.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139"/&gt;
  </code></pre>
  
  <p>When I looked I didn't even find a machine.config file in the C:\WINDOWS\Microsoft.NET\Framework\v3.5 folder but I did find one in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</p>
  
  <p>Does anyone have any idea what is going on?  Do I need to uninstall the entire .Net Framework and then just install the 3.5 version just to get this error to go away?</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks.</p>