問題:
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的權限, 即可。