title: Problem using SqlServerCe in .Net 4.0
body: <p>SqlServerCe doesn't seem be supported in .net 4.0. But since I needed an embedded database in my application, I gathered all the necessary 3.5 dlls and included them so that my wpf application could use SqlServerCe as its embedded database.</p>
  
  <p>The application works on my development machine, but now that I've created an installer, and am installing the application on other machines, I keep getting this exception on  hose machines:</p>
  
  <hr>
  
  <p>Unable to load DLL 'sqlceme35.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)</p>
  
  <hr>
  
  <p>That dll is definitely included in directory where the application is installed. I've even tried copying all related SqlServerCE dlls to the System 32 folder. Nothing I've tried so far has resolved the problem.</p>
  
  <p>Any suggestions?</p>