MVC アプリに Stackexchange redis を使用していますが、以下のような通常の w3wp 例外が発生しています。本番環境では発生しないので、Visual Studio と関係があるのでしょうか?
使用: Visual Studio Premium 2013 バージョン: 12.0.31101.00 Update 4
Microsoft が提供するASP.NET セッション状態プロバイダーを使用していますが、web.config では次のようになっています: (Azure Redis を指しています)
<system.web>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<add name="MySessionStateStore"
type="Microsoft.Web.Redis.RedisSessionStateProvider"
host="***"
accessKey="***"
ssl="true" />
</providers>
</sessionState>
</system.web>
アプリを開いていると、数分ごとにこの例外が発生します。
Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception.
Exception Info: System.Configuration.ConfigurationErrorsException
Stack: at System.Diagnostics.TraceUtils.GetRuntimeObject(System.String, System.Type, System.String)
at System.Diagnostics.TypedElement.BaseGetRuntimeObject()
at System.Diagnostics.ListenerElement.GetRuntimeObject()
at System.Diagnostics.ListenerElementsCollection.GetRuntimeObject()
at System.Diagnostics.TraceInternal.get_Listeners()
at System.Diagnostics.TraceInternal.WriteLine(System.Object)
at StackExchange.Redis.SocketManager.Read()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart(System.Object)