If you have PreApplicationStartMethod anywhere in the project, make sure you move MiniProfilerEF6.Initialize() from Global.asax to this class. Launch method
In my case, I use the static StructuremapMvc class to configure Ioc and
so that
[assembly: PreApplicationStartMethod(typeof(StructuremapMvc), "Start")] public static class StructuremapMvc { public static void Start() { MiniProfilerEF6.Initialize(); ... ...
This is fixed for me.
pjobs source share