Sorry, we couldn't follow the document

I recently updated security patch for SharePoint KB3054858 (MS15-081: Security update for Word Automation Services on SharePoint Server 2013: August 11, 2015)

Now I cannot follow or unfollow documents or site using the default Follow button.

Every user gets an error message "Something went wrong"
Sorry, we couldn't follow the document.

Technical Details
Unexpected response from server. The status code of response is '400'. The status text of response is 'Bad Request'.

I try the usual things and ensured that the AppPool Account has all required permissions on the database. But as this function worked right before installation of the Security patch I digged deeper into the ULS logs and found the following message:

MonitoredScope Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowedContent is created in new Thread 83 where the parent Request (POST:https://sp-dev.devserver.com:443/_vti_bin/client.svc/ProcessQuery) is on 37

Entering monitored scope (Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowedContent). Parent Request (POST:https://sp-dev.devserver.com:443/_vti_bin/client.svc/ProcessQuery)

Entering Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowedContent

SharePoint Foundation CSOM High 
Exception occured in scope Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowedContent. Exception=System.MissingMethodException: Method not found: 'System.String Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowPersonalSiteUrl()'. 
at Microsoft.Office.Server.UserProfiles.UserProfileServerStub.GetProperty(Object target, String propName, ProxyContext proxyContext)
at Microsoft.SharePoint.Client.ServerStub.GetPropertyWithMonitoredScope(Object target, String propertyName, ProxyContext proxyContext) 

SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [System.MissingMethodException: Method not found: 'System.String Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowPersonalSiteUrl()'.   
 at Microsoft.Office.Server.UserProfiles.UserProfileServerStub.GetProperty(Object target, String propName, ProxyContext proxyContext)   
 at Microsoft.SharePoint.Client.ServerStub.GetPropertyWithMonitoredScope(Object target, String propertyName, ProxyContext proxyContext)]

In dead the KB mentions that there are updated version of UserProfile.dll and js in this package. But what the hack...

Search, UPS, MySites ... are working fine.
Current SP version is 15.0.4737.1000 (July 2015)

I have the same issues on 4 different farm I manage (dev, test, prod).

Is there any help or has anyone else seen this problem (and hopefully has a solution for me?)

Thanks a lot.

August 15th, 2015 5:21am

Make sure the file Microsoft.Office.Server.UserProfiles.ServerStub.dll in C:\inetpub\wwwroot\wss\VirtualDirectories\webApp\_app_bin matches the size/version of the file of the same name located at C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\BIN.
August 15th, 2015 1:01pm

No. Please read the message, too.

As mentioned. This function work 5 days ago, right before installing the security patch. Furthermore is there no entry in the ULS that mention "cannot open database" or something like this. But there is the message "Exception occured in scope Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowedContent. Exception=System.MissingMethodException: Method not found: 'System.String Microsoft.Office.Server.UserProfiles.UserProfile.get_FollowPersonalSiteUrl()'. "

Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 8:28am

We had same issue, caused by latest updates from Windows Update. For me it seems as the update depends on newer version of some libraries. So we solved the problem by installing latest CU (August 2015) and running configuration wizards on all servers.
August 17th, 2015 8:37am

Thanks for this tip. But unfortunately the dll from 15 hive and the app_bin(s) (both mysite web and the one web app) and the web services app are identical. Version of the Microsoft.Office.Server.UserProfiles.ServerStub.dll is 15.0.4745.1000, Date modified 14 /07/ 2015 12:59 and size 367 KB.

I have also checked that there are only those four dll on the whole machine.

Is there any registration of this dll required within the web.config? Cause I haven't found anything like this.

Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 8:37am

We had same issue, caused by latest updates from Windows Update. For me it seems as the update depends on newer version of some libraries. So we solved the problem by installing latest CU (August 2015) and running configuration wizards on all servers.
August 17th, 2015 8:37am

Thanks a lot, Baguk.

I also tried to install the latest CU August 2015 on our test machines and voil ... it works again.

It really looks like there is a mismatch between dlls that came from the security patches via Windows Update and the expected dll that will be delivered by the CU.
Strange and it makes me feel a bit nervous as I do not want to updated every CU every month (due to the fact that there might be changes and all our customizations have to re-tested again and again). Therefore we planned to only upgrade every 3 month and install all security and OS patches immediately. But now we can say goodbye to this strategy.

Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 10:08am

We still have the issue after installing the August CU :( all the DLL's on all the servers in our environment match, any idea what else I can do to get this functionality back

Cheers

Pen

August 18th, 2015 10:38am

Hi Pen,

have you - like we did - run psconfig on every machine after installing de CU + have you also installed the security patch from Windows Update (KB3054858)?

Next you could check the right versions of the dlls. (version no. above)

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 3:06am

Look at the ULS logs again after installing the CU and running Product Config Wiz to make sure you're getting the same error. After installing the CU we were still getting the same error through the SharePoint UI, however, the ULS logs showed an Unauthorized error. I believe this is because there was a new feature released in this CU that will write On-Prem followed sites to O365 if you have the Hybrid Site Features enabled through Central Admin. If you don't have a trust setup yet, which you didn't need prior to this CU, the an unauthorized error will occur. I disabled the Hybrid Site feature, keeping the OneDrive hybrid feature enabled and am now able to follow sites and documents without issues.
August 21st, 2015 4:07pm

What is the version of Microsoft.Office.Server.UserProfiles.ServerStub.dll after you installed Aug CU?
Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 9:23am

You may also need to run the Config Wizard a total of 3 times to fully updated when the August CU is deployed.
September 9th, 2015 2:28pm

We have been experiencing the same issue.

However we are at patch level 15.0.4753.1000 (up to September 2015).

Do we need to just keep running the psconfig a few more times to solve this or is there another/better solution we should try?

Thanks,
Richard

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 7:17pm

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

Other recent topics Other recent topics