Server Error in '/' Application.

Common Language Runtime detected an invalid program.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidProgramException: Common Language Runtime detected an invalid program.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidProgramException: Common Language Runtime detected an invalid program.]
   StackExchange.Redis.ConfigurationOptions.InferSslHostFromEndpoints() +0
   StackExchange.Redis.PhysicalConnection.StackExchange.Redis.ISocketCallback.Connected(Stream stream, TextWriter log) +96

[RedisConnectionException: InternalFailure on ppclcache.redis.cache.windows.net:6380/Subscription, origin: Connected, input-buffer: 0, outstanding: 0, last-read: 0s ago, last-write: 0s ago, unanswered-write: 1441622s ago, keep-alive: 60s, pending: 0, state: Connecting, last-heartbeat: never, last-mbeat: -1s ago, global: 0s ago, mgr: Inactive, err: never]

[RedisConnectionException: No connection is available to service this operation: EVAL; Common Language Runtime detected an invalid program.; IOCP: (Busy=0,Free=100,Min=1,Max=100), WORKER: (Busy=3,Free=97,Min=1,Max=100), Local-CPU: n/a]
   StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message message, ResultProcessor`1 processor, ServerEndPoint server) +1897
   StackExchange.Redis.RedisBase.ExecuteSync(Message message, ResultProcessor`1 processor, ServerEndPoint server) +93
   StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) +99
   Microsoft.Web.Redis.<>c__DisplayClass7_0.<Eval>b__0() in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\Shared\StackExchangeClientConnection.cs:68
   Microsoft.Web.Redis.StackExchangeClientConnection.OperationExecutor(Func`1 redisOperation) in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\Shared\StackExchangeClientConnection.cs:86
   Microsoft.Web.Redis.StackExchangeClientConnection.RetryLogic(Func`1 redisOperation) in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\Shared\StackExchangeClientConnection.cs:118
   Microsoft.Web.Redis.StackExchangeClientConnection.Eval(String script, String[] keyArgs, Object[] valueArgs) in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\Shared\StackExchangeClientConnection.cs:68
   Microsoft.Web.Redis.RedisConnectionWrapper.Set(ISessionStateItemCollection data, Int32 sessionTimeout) in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\RedisSessionStateProvider\RedisConnectionWrapper.cs:135
   Microsoft.Web.Redis.RedisSessionStateProvider.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) in D:\BuildAgent\work\7ed95ebd4aa4fca7\src\RedisSessionStateProvider\RedisSessionStateProvider.cs:507
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +688
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +200
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0