Highlighted
Micro Focus Expert
Micro Focus Expert
172 views

(PC) Support tip: Configuring timeouts and requests size in PC

How to increase the timeout settings and requests size for the REST requests, page downloads, monitor configurations and network communication from a PC Server

Below are the general definitions that can be added/configured to the web.config file on the PCS to change the server’s request and response timeouts

The 3 important properties are:

executionTimeout - Indicates the maximum number of seconds that server will spend processing a request (for example, will influence ASP.Net requests).

maxRequestLength - Specifies the maximum request size, in kilobytes (KB)

maxAllowedContentLength - Specifies the maximum length of content in a request, in bytes.

User can update these values in a web.config file as the below example:

<system.web>

    <httpRuntime maxRequestLength="163840" executionTimeout="600"   />

  </system.web>

  <system.webServer>

    <security>

      <requestFiltering>

        <requestLimits maxAllowedContentLength="167772160" ></requestLimits>

      </requestFiltering>

    </security>

Attached is a sample web.config file containing these changes that can be replaced under <PC install>\PCWEB folder

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.