Microsoft.ApplicationServer.Caching.DataCacheException 之 ErrorCode<ERRCA0017>:SubStatus<ES0006>

本文介绍了一种在使用Microsoft Application Server Cache时遇到的DataCacheException异常及其解决方案。该异常通常是由于无法连接到缓存服务器导致的,解决方案涉及为networkservice添加必要的权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题:

An exception of type'Microsoft.ApplicationServer.Caching.DataCacheException' occurred and was caught.

------------------------------------------------------------------------------------------------------

Type :Microsoft.ApplicationServer.Caching.DataCacheException,Microsoft.ApplicationServer.Caching.Core, Version=..., Culture=neutral,PublicKeyToken=... Message :ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporaryfailure. Please retry later. (One or more specified Cache servers areunavailable, which could be caused by busy network or servers.Ensure that security permission has been granted for thisclient account on the cluster and that the AppFabric Caching Service is allowedthrough the firewall on all cache hosts. Retry later.) Source :Microsoft.ApplicationServer.Caching.Client

Help link : .....

ErrorCode : ...

SubStatus :...

......

Inner Exception

         ---------------

         Type: System.ServiceModel.EndpointNotFoundException, System.ServiceModel,Version=......., Culture=neutral, PublicKeyToken=....

         Message: Could not connect to net.tcp://....:..../. The connection attemptlasted for a time span of 00:00:02.0313280. TCP error code 10061: No connectioncould be made because the target machine actively refused it ....:.....

         Source: System.Runtime.DurableInstancing

         Helplink :

         Data: System.Collections.ListDictionaryInternal

         TargetSite: TAsyncResult End[TAsyncResult](System.IAsyncResult)

         StackTrace :    at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

            at System.ServiceModel.Channels.CommunicationObject.EndOpen(IAsyncResultresult)

            at Microsoft.ApplicationServer.Caching.ChannelContainer.Opened(IAsyncResult ar)

 

                   InnerException

                   ---------------

                   Type: System.Net.Sockets.SocketException, System, Version=...., Culture=neutral,PublicKeyToken=....

                   Message: No connection could be made because the target machine actively refused it  ...:....

                   Source: System

                   Helplink :

                   ErrorCode: 10061

                   SocketErrorCode: ConnectionRefused

                   NativeErrorCode: 10061

                   Data: System.Collections.ListDictionaryInternal

                   TargetSite: Void EndConnect(System.IAsyncResult)

                   StackTrace :    atSystem.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

                      at System.ServiceModel.Channels.SocketConnectionInitiator.ConnectAsyncResult.OnConnect(IAsyncResultresult)

.......

解决方案:添加network service的权限, 即可。



 





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值