After updating SharePoint 2013 to November 2017 CU or later you may not be able to open documents with Office


*** UPDATED TO INCLUDE Stefan Gossner and Adam Soreson's INPUT ***

Symptom

After updating SharePoint 2013 to November 2017 CU from a previous version you will not be able to open Office documents (Word, Excel, PowerPoint) but other types of documents like .txt and .pdf files can be opened. There is no indication of the error in the ULS log.

Observing the network activity using a tool like Telerik's Fiddler, you will notice that the response from cellstorage.svc is 400 (bad format) . This is why the Office Integration piece fails and other file types succeed. The failed request will look like:

POST /_vti_bin/cellstorage.svc/CellStorageService

Cause

November CU brings a breaking update to stssoap.dll. This dll is normally cached in the _app_bin folder of the web application and it does get updated at the 15 hive bin folder but not at the local web applications bin folder.

For example, imagine a web application for portal.contoso.com, on location C:\inetpub\wwwroot\wss\VirtualDirectories\portal.contoso.com80. You will find stssoap.dll in  C:\inetpub\wwwroot\wss\VirtualDirectories\portal.contoso.com80\_app_bin\stssoap.dll version not to match the version in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\BIN\stssoap.dll.

The main cause for this is that the update was not done properly (i.e. via Wizard or using all the appropriate commands via PSConfig).

 

Resolution

The DLL version in the 15 hive should be at 15.0.4981.1000 (10/17/2017) or higher. The local version in local bin should be dated before 10/17/2017. If this is not the case, this solution does not apply to you. The solution also applies to you if the version in 15 hive is newer than the version of the local bin for future stssoap.dll changes.

Make sure you run the update properly. Always prefer to use Configuration Wizard over PSConfig to update.

This command should update only the web applications _app_bin, but this is not the best solution:

PSConfig.exe -cmd applicationcontent -install

See more details here.

The best solution is to run the configuration Wizard or to emulate all the steps of the configuration wizard using this:

PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install

 

 


Comments (11)

  1. Hi Rodney,
    in my test this dll is correctly updated when running the config wizard or running PSConfig with -cmd applicationcontent parameter as discussed here:
    https://blogs.technet.microsoft.com/stefan_gossner/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/
    Cheers,
    Stefan

  2. Rich says:

    Thanks for posting the issue and the resolution

  3. franklin says:

    This resolution is not working for me.

    1. What’s the version of your stssoap.dll?

  4. Alexandre Marfaing says:

    “applicationcontext”

    Please, never post a code/script if you didn’t test it before 😉

  5. ASorenson8 says:

    One behavior you’ll see in Fiddler is 401s being tossed by cellstorage.svc. This is why the Office Integration piece fails.

    POST /_vti_bin/cellstorage.svc/CellStorageService

  6. Mohanghimire says:

    We applied November 2017 CU for SharePoint 2013, everything seem to be good , Timer job History is at level 10,000 rows now which is expected, before it was around 43 Million), However there was one Specific job called ” NewsGator Unanswered Questions Notification Job” (Sitrion Product job).This Job used to run every hour before Patch and still run every hour after patch, Strange issue is Moderator/Question replier started getting Notification every hour instead of Every day if they don’t give Answers
    I am not sure if this could be something related or any such reported issues ? since lot of history deleted( around 5,6 days History ) any chance it couldn’t reference older than hour data in History and thinks Answer didn’t got replied and would had sent Another emails ?

    1. Mohanghimire says:

      Hi Stefan /Rodney ,
      Any clue/idea on my earlier post about Timer Job &Notification ?

    2. Sorry I missed your question. I do not know how this component interact with SharePoint, so any opinion would be a wild guess. Try to contact your vendor and if they believe the problem is with SharePoint, open a case with Microsoft.

      1. Mohanghimire says:

        Thanks for information Rodeny , This product is integrated with SharePoint to provide Enhanced social capabilities that interact most components of SharePoint (User profiles, sites, my sites and so on )These features can be enabled or disabled at Farm , Web App levels

        Appear ,April 2018 CU partially reverted the change in the TimerJobHistory , Hopefully this might have fix for it
        https://blogs.technet.microsoft.com/stefan_gossner/2018/04/12/changes-in-the-timerjobhistory-table-maintenance-introduced-in-april-2018-cu-for-sharepoint-2013/

Skip to main content