redis问题 有经常接触这个组件的大神 请您赐教一下 5C

{"Message":"出现错误。","ExceptionMessage":"No connection is available to service this operation: SETEX MC:expressionCache_742826270; IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=1,Free=32766,Min=4,Max=32767), Local-CPU: unavailable","ExceptionType":"StackExchange.Redis.RedisConnectionException","StackTrace":" at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImplT\r\n at StackExchange.Redis.RedisBase.ExecuteSyncT\r\n at Zfkr.RedisHelper.RedisHelper.<>c__DisplayClass10_01.<StringSet>b__0(IDatabase db)\r\n at ZFKR.Dapper.Repository.Cache.RedisExpressionCache1.Get(Expression key, Func2 creator, Nullable1 expiry) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.Dapper.Repository\ZFKR.Dapper.Repository\Cache\RedisExpressionCache.cs:line 58\r\n at ZFKR.Dapper.Repository.DapperRepository1.Find(Expression1 whereExpr, Boolean cache, IDbTransaction transaction) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.Dapper.Repository\ZFKR.Dapper.Repository\DapperRepository.Query.cs:line 58\r\n at ZFKR.MessageCenter.DAL.BaseDAL1.Find(Expression1 whereExpr, Boolean cache) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.DAL\BaseDAL.cs:line 399\r\n at ZFKR.MessageCenter.DAL.DB.S_MessageTempletDAL.GetMessageTemplet(Int32 actionID, Int32 cityID, Int32 templetType) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.DAL\DB\S_MessageTempletDAL.cs:line 78\r\n at ZFKR.MessageCenter.BLL.SysServerBLL.SysServerBLL.GetTemplate(Int32 actionID, Int32 cityID, Int32 templetType) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.BLL\SysServerBLL\SysServerBLL.cs:line 34\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"}

1个回答

"ExceptionMessage":"No connection is available to service this operation:

---- redis对应的服务是不是已经关闭了。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐