“Unable to determine the provider name” error with mvc-mini-profiler 1.9

前端 未结 1 1170
终归单人心
终归单人心 2021-01-14 02:23

I am using entity framework with mvc-mini-profiler. After upgrading from mvc-mini-profiler 1.7 to version 1.9 and solving some issues, I managed to compile my project. Now I

1条回答
  •  一生所求
    2021-01-14 02:59

    Have you tried removing the DbProviderFactories from your .config?

    Do you have the initialize in there?

    protected void Application_Start()
    {
        ....other code
    
        MiniProfilerEF.Initialize();
    }
    

    With 1.9, I just added the Initialize in Start and removed the config section and now I have SQL profiling with EF.

    0 讨论(0)
提交回复
热议问题