Problem
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.
Troubleshooting
- 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 WOPIFrame
among 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:
http://localhost:32843/SecurityTokenServiceApplication/appsts.svc
- 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):
Solution
- Check the server's Net.Pipe Listener Adapter service on all SharePoint servers.
- If it's stopped, start it.
References
- Get-OfficeWebAppsMachine
- Get-SPWOPIBinding
- SharePoint 2013 Error on Office Web Apps
- Listener Adapter API Reference
- WAS Activation Architecture
- There was no endpoint listening at net.pipe://localhost/
Notes
- SharePoint Server 2013 Enterprise, two WFEs.
- Problem occurred immediately after successful patching.
- Thanks to Waqas Sarwar for presenting the original solution to this problem.
5 comments:
The Net.Pipe Listener Adapter is also started still the error is coming for me. Not able to open documents in browser using office web apps.
1) Run Get-OfficeWebAppsMachine in elevated PowerShell on your OWA server: does it return Healthy?
2) Open browser and connect to: http:/[OwaServername]/hosting/discovery. Does the page display?
3) Check SecurityTokenService on whatever farm servers you have it enabled: is it running?
4) Likewise check SecurityTokenServiceApplicationPool on these servers. Is it started? Try restarting.
Thanks AL , This worked wonders, Any ideas why these services would "Crash"
kind regards
Unfortunately not. If anyone does, please leave your comment.
Thank you very much! I had this problem after update. Start the Net.Pipe Listener Adapter service on the WFEs was helped.
Post a Comment