Skip to content Skip to sidebar Skip to footer

Problem Using Sql Server Ce With Entity Framework Code-first And Asp.net Mvc 3 And Mvc Miniprofiler

I am attempting to create an ASP.NET MVC 3 application using C#, Entity Framework 4.0 code-first and SQL Server CE, and the automated scaffolding. Everything works fine until I try

Solution 1:

This is an issue with EF 4.1 update 1 which breaks all profilers

See:

Mark Young just implemented a SQL CE specific workaround in the main trunk, use:

//only ever settofalsewhen profiling SQL CE
MvcMiniProfiler.Initialize_EF42(supportExplicitConnectionStrings: false); 

Post a Comment for "Problem Using Sql Server Ce With Entity Framework Code-first And Asp.net Mvc 3 And Mvc Miniprofiler"