Quantcast
Viewing all articles
Browse latest Browse all 21070

SPDistributedCachePointerWrapper::InitializeDataCacheFactory time out errors

Hi,

Trying to debug and understand a few things that are appearing in the ULS. A couple of them are as follows:

Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' -
Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out..
Additional Information : The client was trying to communicate with the server : net.tcp://server-name:22233    
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCacheProperties(RequestBody request, IClientChannel channel)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName)    
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.

Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' -
Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out..
Additional Information : The client was trying to communicate with the server : net.tcp://server-name:22233    
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCacheProperties(RequestBody request, IClientChannel channel)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName)    
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.

I came across a post that described the following command:

Get-CacheHostConfig -ComputerName $env:computername -CachePort 22233

And sure enough it returned

Get-CacheHostConfig : ErrorCode<ERRPS013>:SubStatus<ES0001>:Error: No valid cluster settings were provided with Use-CacheCluster.

So I entered the Use-CacheCluster command and it worked!

I dont understand why though. Did I miss something on the initial setup?

Any ideas?

Thanks

Donal


Viewing all articles
Browse latest Browse all 21070

Trending Articles