mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

NRE when using EF Code First in EF June 2011 CTP #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Profiler 1.5 via Nuget
2. Copy over the new June 2011 CTP System.Data.Entity.dll to project
3. Setup binding redirect so System.Data.Entity 3.5-4.0 goes to 4.2 (latest)
4. Setup SQL profiler and db provider factory as per example on homepage in 
Global.asax Application_Start() method

What is the expected output? What do you see instead?
I expect to see the mini profiler show output but instead I get a NRE and 
cannot use the site:

MvcMiniProfiler.Data.ProfiledDbProviderFactory.CreateConnection() in 
C:\Users\sam\Desktop\mvc-mini-profiler\MvcMiniProfiler\Data\ProfiledDbProviderFa
ctory.cs:80

The SQL profiler portion works fine on EF 4.1.

What version of the product are you using? On what operating system?
Profiler 1.5, Win 7, IIS 7.5

Please provide any additional information below.

This is not a deal breaker but I wonder if this will be an issue with the final 
EF release? I am not sure what could be causing this... I was thinking of 
cloning and building the profiler against the new DLL to see if that made a 
difference.

Original issue reported on code.google.com by kamran.a...@gmail.com on 20 Jul 2011 at 8:55

GoogleCodeExporter commented 8 years ago
hmmm did you test on 1.6 which I released yesterday on nuget? 

Original comment by sam.saff...@gmail.com on 20 Jul 2011 at 11:49

GoogleCodeExporter commented 8 years ago
No, did not notice that, will try tomorrow and update.

Original comment by kamran.a...@gmail.com on 21 Jul 2011 at 2:23

GoogleCodeExporter commented 8 years ago
Im assuming this is fixed in latest ... closing for now 

Original comment by sam.saff...@gmail.com on 25 Jul 2011 at 11:04