Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have now found the answer: Make sure that you install these nuget-packages: Microsoft.SqlServer.Compact and EntityFramework.SqlServerCompact</p> <p>Deploy again, and make sure that SQL Server CE is now in the \bin-folder (the folders x86 and amd64 with all the files). And also these files must be in the bin-folder: System.Data.SqlServerCe.dll System.Data.SqlServerCe.Entity.dll</p> <p>Make sure it is the right version. The ones that are installed with SQL Ce did not work, it must be the ones from the nuget package.</p> <p>Also make sure the Web.config contains this:</p> <pre><code>&lt;system.data&gt; &lt;DbProviderFactories&gt; &lt;remove invariant="System.Data.SqlServerCe.4.0" /&gt; &lt;add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /&gt; &lt;/DbProviderFactories&gt; &lt;/system.data&gt; </code></pre> <p>And this:</p> <pre><code>&lt;dependentAssembly&gt; &lt;assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="neutral" /&gt; &lt;bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /&gt; &lt;/dependentAssembly&gt; </code></pre> <p>Note that you have to do this no matter if you use SqlCE on the production server. I am not sure you need the bin-files for the database itself, though.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload