Open GoogleCodeExporter opened 9 years ago
Can you try in the latest version of code (git/googlecode not NuGet)?
Original comment by m...@developer.geek.nz
on 27 Sep 2011 at 11:28
Just tried it - I see no change.
Original comment by scott.stafford
on 29 Sep 2011 at 5:29
I'm having the same problem.
Using Entity Framework (Code First) 4.2.0.0 and MiniProfiler.EntityFramework
1.9.1.0 (both NuGet packages). With or without the EdmMetadata table I get a
"System.NotSupportedException: Unable to determine the provider name for
connection of type 'System.Data.SqlClient.SqlConnection'."
Original comment by fberr...@gmail.com
on 5 Dec 2011 at 10:10
I tried getting the latest from source and compiling it myself. Used the
Initialize_EF42() method. Still, no dice.
So, I rolled the EntityFramework NuGet package back to 4.1.10715.0 and now the
profiler works fine. I'm guessing/hoping EF 4.2 support is on your list for the
next release?
Original comment by fberr...@gmail.com
on 9 Dec 2011 at 9:34
I was able to profile successfully using the technique described here:
http://stackoverflow.com/questions/7666719/upgrading-to-mvcminiprofiler-1-9-from
-1-7-net-mvc3-and-ef-code-first
As far as I can tell (not understanding MvcMiniProfiler internals at all, this
works by wrapping the connections "manually" just like the non-EF connections,
rather than using the automagic of MiniProfilerEF.Initialize();
Original comment by scott.stafford
on 14 Dec 2011 at 1:30
Original issue reported on code.google.com by
scott.stafford
on 23 Sep 2011 at 2:47