Newsfeed error - The operation failed because the server could not access the distributed cache.
Recently installed SharePoint 2013 RTM, on the newsfeed page an error is displayed, and no entries display in the following or everyone tabs. "The operation failed because the server could not access the distributed cache." Reading through various posts, I've checked: - Activity feeds and mentions tabs are working as expected. - User Profile Service is operational and syncing as expected - Search is operational and indexing as expected - The farm was installed based on the autospinstaller scripts. - Don't believe this to be a permissions issue, during testing added accounts to the admin group to verify Any suggestions are welcomed, thanks. The full error message and trace logs is as follows. SharePoint returned the following error: The operation failed because the server could not access the distributed cache. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 55. Contact your system administrator for help in resolving this problem. From the trace logs there's several messages which are triggered around the same time: http://msdn.microsoft.com/en-AU/library/System.ServiceModel.Diagnostics.TraceHandledException.aspxHandling an exception. Exception details: System.ServiceModel.FaultException`1[Microsoft.Office.Server.UserProfiles.FeedCacheFault]: Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. (Fault Detail is equal to Microsoft.Office.Server.UserProfiles.FeedCacheFault)./LM/W3SVC/2/ROOT/d71732192b0d4afdad17084e8214321e-1-129962393079894191System.ServiceModel.FaultException`1[[Microsoft.Office.Server.UserProfiles.FeedCacheFault, Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. at Microsoft.Office.Server.UserProfiles.FeedCacheService.Microsoft.Office.Server.UserProfiles.IFeedCacheService.GetPublishedFeed(FeedCacheRetrievalEntity fcTargetEntity, FeedCacheRetrievalEntity fcViewingEntity, FeedCacheRetrievalOptions fcRetOptions) at SyncInvokeGetPublishedFeed(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)System.ServiceModel.FaultException`1[Microsoft.Office.Server.UserProfiles.FeedCacheFault]: Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. (Fault Detail is equal to Microsoft.Office.Server.UserProfiles.FeedCacheFault). ------------------ SPSocialFeedManager.GetFeed: Exception: Microsoft.Office.Server.Microfeed.MicrofeedException: ServerErrorFetchingConsolidatedFeed : ( Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. ) : Correlation ID:db6ddc9b-8d2e-906e-db86-77e4c9fab08f : Date and Time : 31/10/2012 1:40:20 PM at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.PopulateConsolidated(SPMicrofeedRetrievalOptions retOptions, SPMicrofeedContext context) at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.Populate(SPMicrofeedRetrievalOptions retrievalOptions, SPMicrofeedContext context) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonGetFeedFor(SPMicrofeedRetrievalOptions retrievalOptions) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed) at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeed(SPSocialFeedType type, SPSocialFeedOptions options) at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a() ----------------- Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeed: Microsoft.Office.Server.Microfeed.MicrofeedException: ServerErrorFetchingConsolidatedFeed : ( Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. ) : Correlation ID:db6ddc9b-8d2e-906e-db86-77e4c9fab08f : Date and Time : 31/10/2012 1:40:20 PM at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.PopulateConsolidated(SPMicrofeedRetrievalOptions retOptions, SPMicrofeedContext context) at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.Populate(SPMicrofeedRetrievalOptions retrievalOptions, SPMicrofeedContext context) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonGetFeedFor(SPMicrofeedRetrievalOptions retrievalOptions) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed) at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeed(SPSocialFeedType type, SPSocialFeedOptions options) at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a() at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func) -------------- Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeed: Microsoft.Office.Server.Social.SPSocialException: The operation failed because the server could not access the distributed cache. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 55. at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception) at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func) at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47() at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)
November 1st, 2012 7:28am

Has Distributed Cache service been started in the machine SharePoint is running on? If not, it must be started before it provisions feeds.If it is being started, can you try stopping and then starting again? The following steps to start Distributed Cache service: Open Central Administration, click Application Management category.In Service Application section, click Manage Services on Server. On the Services on Server page, start Distributed Cache service. Thuan Soldier SharePoint Vietnam | Blog | Twitter
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2012 12:42pm

Thanks Thuan, I've restarted to the Distrubiton Cache servicem and the error is still occuring. The AppFabric Caching Service is running under the service apps account, and does appear operational based on: > use-cachecluster > get-cache CacheName [Host] Regions --------- -------------- default DistributedAccessCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedActivityFeedCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedActivityF [SERVER:22233] eedLMTCache_1e9f4999 LMT(Primary) -0187-40e8-aa92-f830 8d47d6e9 DistributedBouncerCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedDefaultCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedLogonToke [SERVER:22233] nCache_1e9f4999-0187 Default_Region_0538(Primary) -40e8-aa92-f8308d47d Default_Region_0004(Primary) 6e9 Default_Region_0451(Primary) DistributedSearchCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedSecurityTrimmingCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 DistributedServerToAppServerAccessTokenCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
November 1st, 2012 5:55pm

When I removed my personal site, and recreated, the following message appears in the event log. The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 29a08560-582e-4079-b8ef-04f7e036b989) threw an exception. More information is included below. Unexpected exception in FeedCacheService.IsRepopulationNeeded: Communications with the cache cluster has experienced a delay past the timeout value,please increase the RequestTimeout of the client..
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2012 5:59pm

This may be related, the Work Management Service is also failing on the my site, under the Tasks page the message Updating your tasks for the first time, disappears and displays last updated 1/01/1901 12:00AM. Going over the logs, it appears to be having difficulty creating the hidden list on the personal my site. Suspecting this may not be related to the Cache service, possibly with either pathing or permissions.
November 3rd, 2012 7:04am

This may be related, the Work Management Service is also failing on the my site, under the Tasks page the message Updating your tasks for the first time, disappears and displays last updated 1/01/1901 12:00AM. Going over the logs, it appears to be having difficulty creating the hidden list on the personal my site. Suspecting this may not be related to the Cache service, possibly with either pathing or permissions.
Free Windows Admin Tool Kit Click here and download it now
November 3rd, 2012 7:04am

This may be related, the Work Management Service is also failing on the my site, under the Tasks page the message Updating your tasks for the first time, disappears and displays last updated 1/01/1901 12:00AM. Going over the logs, it appears to be having difficulty creating the hidden list on the personal my site. Suspecting this may not be related to the Cache service, possibly with either pathing or permissions.
November 3rd, 2012 7:04am

Looking through the preview forum, I came across the following post: http://blogs.technet.com/b/mpriem/archive/2012/08/20/sharepoint-2013-preview-newsfeeds-showing-nothing.aspx The issue was the User Profile Service Application, had not been granted full control for the account that was running the service (i.e. service apps account). On a side note, this also resolved the issue with the Work Management Service not updating.
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2012 1:59am

Looking through the preview forum, I came across the following post: http://blogs.technet.com/b/mpriem/archive/2012/08/20/sharepoint-2013-preview-newsfeeds-showing-nothing.aspx The issue was the User Profile Service Application, had not been granted full control for the account that was running the service (i.e. service apps account). On a side note, this also resolved the issue with the Work Management Service not updating.
November 4th, 2012 1:59am

Looking through the preview forum, I came across the following post: http://blogs.technet.com/b/mpriem/archive/2012/08/20/sharepoint-2013-preview-newsfeeds-showing-nothing.aspx The issue was the User Profile Service Application, had not been granted full control for the account that was running the service (i.e. service apps account). On a side note, this also resolved the issue with the Work Management Service not updating.
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2012 1:59am

I am getting this error while starting User Profile Synchronization service. I have verified Distributed cache service and it's started. I also gave access to service accounts on User profile service, still I am unable to start it.Thanks, Sachin Jagtap
November 9th, 2012 11:29am

I am getting this error while starting User Profile Synchronization service. I have verified Distributed cache service and it's started. I also gave access to service accounts on User profile service, still I am unable to start it.Thanks, Sachin Jagtap
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2012 11:29am

I had the same problems. Make sure that FIMService and FIMSynchronizationService are running. I have the services running under farm account. To be able to start the User Profile Synchronization service I had to make the farm account local admin on the server. I read somewhere that you should be able to remive it from the admin group once it has started. /David
November 14th, 2012 3:25am

Hi David, I am able to start my User Profile Synchronization service, please let me know if you need any help. I am happy to help you on this.Thanks, Sachin Jagtap
Free Windows Admin Tool Kit Click here and download it now
December 13th, 2012 12:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics