You click on a document in a document library in order to view it in Office Web Apps (OWA). Instead, the browser presents "Sorry, something went wrong" and the usual correlation ID. Testing further, you find that you cannot open any Microsoft Office document in OWA.
- Executed Get-OfficeWebAppsMachine on the farm's OWA server, and it returned Healthy.
- Checked OWA discovery, by connecting to http:/[OwaServername]/hosting/discovery, and found that it returns the appropriate XML file.
- On a SharePoint server, executed Get-SPWOPIBinding and this returned all bindings appropriately configured.
- On the primary WFE, checked ULS logs using the time and correlation ID seen earlier, and found the following entries:
Trusted provider is missing. Provider: '00000003-0000-0ff1-ce00-000000000000' and WOPIFrameamong 17 entries associated with this correlation ID.
Unhandled exception: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' could not be found on your local machine....
- Checked server event logs on the APP and WFE servers, and found no System or Application events associated with this issue.
- Noting the SecurityTokenService item in this ULS entry, checked the SecurityTokenServiceApplicationPool on all WFE and APP servers and found that it was started.
- Opened browser, and then connected to:
- Restarted the SecurityTokenServiceApplicationPool, but found that this didn't resolve the problem.
- Performed search on ULS log entry terms, as noted in step 4 above. Found articles on Net.Pipe Listener Adapter.
- Checked the Net.Pipe Listener Adapter service on the WFEs and found that it was stopped on the primary WFE (there are two WFEs in Windows NLB configuration):
- Check the server's Net.Pipe Listener Adapter service on all SharePoint servers.
- If it's stopped, start it.
- SharePoint 2013 Error on Office Web Apps
- Listener Adapter API Reference
- WAS Activation Architecture
- There was no endpoint listening at net.pipe://localhost/
- SharePoint Server 2013 Enterprise, two WFEs.
- Problem occurred immediately after successful patching.
- Thanks to Waqas Sarwar for presenting the original solution to this problem.