Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Did you install the EntityFramework.SqlServerCompact package? Commented Nov 6, 2013 at 19:58
  • 3
    You need a <provider entry for EntityFramework.SqlServerCompact, installing the NuGet package will add that Commented Nov 6, 2013 at 20:27
  • 1
    Now I am hit at the following The Entity Framework provider type 'System.Data.Entity.SqlServerCompact.SqlCeProviderServices, EntityFramework.SqlServerCompact' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0' could not be loaded Commented Nov 7, 2013 at 17:21
  • 2
    I got it resolved I had to again add those packages my consumer project as well. Commented Nov 7, 2013 at 17:40
  • 1. Select your solution in Visual Studio Solution Explorer 2. Go to Tools -> Library Package Manager -> Package Manager Console 3. A window will appear at the bottom of Visual Studio. 4. Type this command : install-package EntityFramework.SqlServerCompact 5. Pres Enter. This will install EntityFramework.SqlServerCompact Nuget package which will fix this. Commented Dec 12, 2014 at 8:23