Timeout occurred while loading monitors

  • KM02533828
  • 25-Aug-2016
  • 25-Aug-2016

Summary

When adding a monitor which contains large number of counters, monitor page throws error: "Timeout occurred while loading monitors".

Error

When adding a monitor which contains large number of counters, monitor page throws error: "Timeout occurred while loading monitors".

Cause

This error happens because the monitors’ page in PC times out when attempting to extract the large number of counters and generate the xml page

Fix

Here are some steps to overcome this:
 
• Increase the Server’s timeout:
On the PCS, update the value for ‘MESyncRequestWaitSeconds’ in the \dat\PCS.config (default is 180).
Update values for receiveTimeout and SendTimeout under the <binding name="BasicHttpBinding_IMESyncService"  section of \bin\MEApplication.exe.config (default 10 minutes)
 
• Increase the server’s buffer size:
In the \PCS\web.config update the value for ‘MaxRequestLength’ (default is 10.4 KB).
In the \PCWeb\web.config update the value for ‘MaxRequestLength’ (default is 10.4 KB).
If either of the web.config files does not contain this property add the following line under the <system.web> section:
<httpRuntime maxRequestLength="10400" enable="true" />
 
• Reset IIS