title: Setting Timeout Value For .NET Web Service
body: <p>I have a web service written in C# that is living on a SharePoint site.  I have modified the web.config with the following code:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;system.web&gt;
      &lt;httpRuntime executionTimeout="360" /&gt;
  </code></pre>
  
  <p>...</p>
  
  <p>for the IIS Inetpub file, the SP ISAPI web.config file and the SP layouts web.config.  I have also modified the machine.config file with the same code and tried to bump any timeouts that I see in IIS.</p>
  
  <p>When I call this web service from a Windows C# application I can step into the web method and start debugging the variable but after a short time (~1 minute, maybe less) the variable values are no longer present because this gets returned:</p>
  
  <p>System.Net.WebException "The request was aborted: The operation has timed out."</p>
  
  <p>I am trying to figure out where the correct timeout values needs to be set and how.  I restart IIS after I have made every change but nothing changes to give different results.</p>
  
  <p>Thanks</p>