Dans le cadre de la configuration de ferme SharePoint 2013, il est indispensable de mettre en place un serveur Office Web Apps afin de bénéficier d’une fonctionnalités importantes dans SharePoint 2013, l’ouverture du document office dans le navigateur (que ce soit en lecture seule ou en édition).
Le processus de configuration est détaillé ici même:
Malgré tout, il se peut qu’après avoir suivi toute la configuration, la solution ne fonctionne toujours pas. L’utilisateur recoit alors un message très peu détaillé avec le corrélation ID.
En regardant les logs ULS du serveur et recherchant le Correlation ID, on trouve plusieurs messages du type:
- SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- SharePoint Foundation Application Authentication aiv3c 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. --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via) at Sy... 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- SharePoint Foundation Application Authentication aiv3c Exception ...stem.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOp... 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- SharePoint Foundation Application Authentication aiv3c Exception ...erationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request) at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0() at Micros... 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- SharePoint Foundation WOPI ajc39 Unexpected WOPIFrame - 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. --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAdd... 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- SharePoint Foundation WOPI ajc39 Unexpected ...ress address, Uri via) at System.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String... 5a9e2a9d-7473-e05c-a968-8f53b79fdbe5
- …
Ainsi, de nombreux messages autour de la sécurité, qui semblent explique le bloquage total du moteur Office Web Apps.
Il ne sert à rien de passer des heures à examiner son serveur Office Web Apps (surtout s’il fonctionne parfaitement pour d’autres fermes SP). Tout se passe donc bien au niveau du Serveur SharePoint 2013.
La solution a été trouvée après des heures de recherche dans les commentaires du message:
Avec le texte suivant “Check for running net pipe service on the server”. Don’t le thème est effectivement dans les logs ULS.
Une petite recherche sur ce thème précis mène à cette procédure pour l’installation de ces services “Pipe Services”:
Il suffit donc de vérifier que les conposants sont bien installés puis que les services NT soient actifs sur le serveur SharePoint 2013.
Puis on peut retourner sur le site SharePoint et recliquer sur le document Office concerné pour voir la magie s’oppérer:
Les utilisateurs peuvent alors utiliser la solution comme prévu.
Romelard Fabrice [MBA Risk Management]
Commentaires
Enregistrer un commentaire