When running the command [AxUpdatePortal -updateall -websiteurl “…” -verbose] on the EP server it sometimes happens that the execution fails with error:
The operation failed to execute. Error: Microsoft Dynamics AX could not locate the Web server…
In the Application event log you find a Warning with Event ID 1309 from source ASP.NET 4.0.30319.0:
The request has been aborted.
5/20/2016 10:06:25 AM
5/20/2016 8:06:25 AM
C:\Program Files\Microsoft Dynamics AX\60\Setup\EPDeploymentService\
Request timed out.
The AxUpdatePortal calls EPDeploymentServie which is running in the same web application as EP and is doing the actual deployment. Depending on the performance of the servers (WEB, AOS, SQL) or network, the EPDeploymentService might time out.
To resolve this, increase the execution time out for EPdeploymentService.
Edit the web.config for EPdeploymentService which you find in C:\Program Files\Microsoft Dynamics AX\60\Setup\EPDeploymentService
At the bottom of the file just after the </runtime> tag, enter the following section:
<httpRuntime executionTimeout=”3600″ />
Save web.config and run IISRESET.