SharePoint Fehler

SharePoint Foundation DistributedCache Unexpected Exception in SPDistributedCachePointerWrapper

Fehler: 

SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage ‚DistributedLogonTokenCache‘ – Exception ‚Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional Information : The client was trying to communicate with the server : net.tcp://SP01: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()‘. 5830fe9d-bb8f-8097-fd96-c312a10730fc

Ursache: 

Der Distributed Cache ist fehlerhaft oder fehlt in der Konfigurationsdatenbank.

Lösung: 

  • Melden Sie sich am SharePoint Server an und starten die SharePoint Management Shell
  • Geben Sie die folgenden Befehle ein
    Stop-SPDistributedCacheServiceInstance -Graceful
    Remove-SPDistributedCacheServiceInstance

    Im Anschluss starten Sie den Wizard (SharePoint Products Configuration Wizard) für die SharePoint Konfiguration und folgen den ToDos

  • Nach erfolgreichen Durchlauf führen Sie den folgenden Befehl in der Shell aus:
    Add-SPDistributedCacheServiceInstance

Wichtig: 

Beachten Sie, dass vorherige Änderungen wie z.B. Konfiguration für den SSL Aufruf der Administrationsseite wird durch den Wizard im IIS überschrieben!

Diese Konfiguration können Sie aber ohne weiteres wieder über SharePoint Central Administration und IIS konfigurieren.