Increase the timeout settings for EP in AX 2012. Looks like the solution is to increase the timeout setting for the ajax asynchronous calls, this should be done on each page where the timeout needs to be increased luckliy there is a central place as well where it can be done as shown below
1) Open the master page from \Web\Web Files\Static Files\defaultaxV4 in the AOT
2) Search for the OnLoad() method to replace in something in below.
protected override void OnLoad(EventArgs e)
AxScriptManager scripts = AxScriptManager.GetCurrent(this.Page);
if (scripts != null)
scripts.AsyncPostBackTimeout = 900; // 600 seconds
//Call Header.DataBind to generate dynamics styles in header
Sharepoint has an service known as the request management service. This service manages all incoming requests and evalutes which is best possible machine to machines in the farm to handle the request.
The basic process to manage the request service is as follows
- Get a reference to the SPWebApplication
- Get a reference to the request management settings for the web application
- Set the parameter
- Update the setting
$waUrl = "http://ax-app:290"
$wa = Get-SPWebApplication $waUrl
$rmSettings = $wa | Get-SPRequestManagementSettings
$timeout2= New-TimeSpan -minutes 5
Increase the timeout setting for the application pool associated with bcproxy in the IIS console.