私はMiniProfilerEF6.Initialize()のエラー#?
MiniProfilerEF6.Initialize()
を呼び出すと、私はエラーを取得App_Start()メソッドにMVCプロジェクトでminiprofilerを使用しています:あなたののApplication_Start関数内で)
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()'行を追加する必要があります –