Glimpse.EF6 is incompatible with MiniProfiler.EF6 #902
Comments
Looks like this should be a one line fix, any interest in sending in a PR? |
Absolutely. I'll send one later today. |
Great! On 21 May 2015 at 08:36, Kyle notifications@github.com wrote:
|
Even with the singleton, the It might not be possible to fix this issue without coordinating with the MiniProfiler team. Maybe an extensible ProfilingDbProviderServices package shared between the two projects would work. |
Pity that just adding the singleton didn't work. Were you able to see why the cloneable code was complaining, as in what the exception was? |
I received the following message:
Which only occurs after the |
@ktmaul Do you have a code reference to where specifically in the code base that unboxing happens? |
Why was this closed? This still seems to be the case. I got the same error as @ktmaul, which does not reappear when I comment out |
When attempting to use Glimpse.EF6 at the same time as MiniProfiler.EF6, I receive the following error:
It seems that there is an attempt by the EFProfiledDbProvider to retrieve a singleton defined as the static "Instance" field or property by each DbProviderService implementation. This pattern seems to be followed by both SqlServerProviderServices and SqlCeProviderServices.
Platform: ASP.NET 4.5 WebForms on IIS Express (and IIS 7.0)
Packages Installed: Glimpse 1.8.6, Glimpse.AspNet 1.9.2, Glimpse.WebForms 1.1.1, Glimpse.Ado 1.7.3, Glimpse.EF6 1.6.5
Stack Trace:
The text was updated successfully, but these errors were encountered: