() 메소드 나는 MiniProfilerEF6.Initialize() C#? 내가 App_Start에 MVC 프로젝트에 miniprofiler을 사용하고
MiniProfilerEF6.Initialize()
를 호출하고 나는 오류 얻을 :
the Entity Framework was already using a DbConfiguration
instance before an attempt was made to add an 'Loaded' event handler.
'Loaded' event handlers can only be added as part of application start
up before the Entity Framework is used. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information.
질문에 더 나은 태그를 추가해야합니다. 나는 C#으로는 충분하지 않다고 생각한다. – batmaci
귀하의 코드 어딘가에 DB에 액세스하려고하지만 DB에 액세스하기 전에 MiniProfilerEF6.Initialize()를 추가해야합니다. –