Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save devendrasv/5377205 to your computer and use it in GitHub Desktop.
Save devendrasv/5377205 to your computer and use it in GitHub Desktop.
Failed to initialize SPDistributedSecurityTokenCache Exception
Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm.
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()
at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)
at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)
at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCacheInitializer.Init(Object state)'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment