After installing November 2023 CU (or later) for SharePoint Server 2016 Aggregated Newsfeeds are broken.
Symptoms:
Affected Users will see an empty Newsfeed web part.
In the ULS log see the following error in ULS after installing November 2023 CU or later:
Unexpected exception in FeedCacheService.GetConsolidatedFeed: Unable to cast object of type 'System.Collections.Generic.List`1[System.Collections.Generic.KeyValuePair`2[System.String,System.Object]]' to type 'System.Collections.Generic.IEnumerable`1[System.Collections.Generic.KeyValuePair`2[System.String,System.Byte[]]]
Custom solutions calling the REST endpoint _api/social.feed/My/News or equivalent CSOM calls will fail with this error message:
The operation failed because the server could not access the distributed cache.
Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 56
Workaround/Solution:
There is currently no workaround or solution for this issue.
The issue is currently under investigation.
Permalink
Hello Stefan
We have encountered the same problems for Sharepoint 2019 with the CU December 2023.
Is it correct that it be replayed in 2019?
Thank you so much.
Greetings.
Permalink
Hi Juan, afaik no. If you have such a case, please open a ticket to get this analyzed.
Cheers,
Stefan
Permalink
Hi Stefan
Will this affect SharePoint 2016 sites with the Site Feed web part as well?
Thank you
Permalink
Hi Sol, this only affects the aggregated newsfeed – not site feeds.
Cheers,
Stefan
Permalink
Thank you, Stefan.
Just to confirm, Site Feed is the feature and Newsfeed is the actual web part and the Site Feed/Newsfeed web part wouldn’t be impacted by this issue, correct?
Permalink
Hi Sol,
affected is the aggregated newsfeed – not the web part and not the site feed.
Cheers,
Stefan
Permalink
Ok, thank ryou.
Permalink
Hi Stefan,
after isntalling update Februari 2024 for sharepoint 2016, we’ve got a lot of errors (81.000 per day) from the distrubuted cache. The error is:
Unexpected error occurred in method ‘GetObjectsInRegion’ , usage ‘SharedAccessCache’ – Exception ‘System.InvalidCastException: Unable to cast object of type ‘Microsoft.ApplicationServer.Caching.EnumerableCacheObjects’ to type ‘System.Collections.Generic.IEnumerable
1[System.Collections.Generic.KeyValuePair
2[System.String,System.Byte[]]]’. at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.GetObjectsInRegion[T](String regionName)’.Is this error related to this issue?
Permalink
Hi Andre,
it seems to be the same issue.
The fix for the issue discussed in this article is included in March 2024 CU which was released yesterday.
Cheers,
Stefan
Permalink
Ok Stefan, thank you!
Permalink
Hi Stefen,
Does this affects news rendering on _layouts/15/sharepoint.aspx page? We have SharePoint 2019 and facing similar issue where none of the news items are appearing and after recreating MySite host, sometime it shows very few news items and those are particularly most of the time of type “Trending”.