Dynamics AX 2012 : An exception occurred when trying to issue security token

Lors de déploiements d'Entreprise Portal, je recevais le message d'erreur suivant:

Request information:
Request URL: http://ax-test01/_layouts/EPDeploymentService/EPDeploymentService.asmx
Request path: /_layouts/EPDeploymentService/EPDeploymentService.asmx

Error: The description for Event ID '-1073739820' in Source 'PerfNet' cannot be found.  The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.  The following information is part of the event:

Error: The description for Event ID '-1073740816' in Source 'Perflib' cannot be found.  The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.  The following information is part of the event:'WmiApRpl', 'C:\Windows\system32\wbem\wmiaprpl.dll', '8'

Error: The Web site http://ax-test01/sites/DynamicsAx was not created correctly.

Dans le journal d'événements, je pouvais y voir l'erreur suivante:

An exception occurred when trying to issue security token: There was no endpoint listening at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc that could accept the message. This is often caused by an incorrect address or SOAP action. 

Il se trouve que le problème est avec SharePoint et non Dynamics AX. SharePoint n'est pas capable d'émettre un token de sécurité via son service web. Dans mon cas, le site web appelé SharePoint Web Services n'était pas démarré. Après l'avoir démarré via la console IIS, j'ai testé le service web en utilisant l'adresse suivante: 

http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc 




Ensuite, le déploiement d'Enterprise Portal a fonctionné.
Previous
« Prev Post