sarpay
11/21/2014 - 9:04 AM

[iis] [.net] Setting response timeout length for .net webservice webmethod or webform pagemethod.

[iis] [.net] Setting response timeout length for .net webservice webmethod or webform pagemethod.

1. include this in web.config

<system.web>
  <httpRuntime executionTimeout="180" /><!-- 180 seconds = 3 minutes -->
</system.web>


2. Open IIS Manager on server
  a. Select the site you'd like to apply settings on from the left pane >
      > Click "Advanced Settings" > "Connection Limits" > "Connection time-out"
  c. From IIS Homepage, double click on "ASP" > "Limits Properties" 
      > "Script Time-out"