title: System.Net.WebException: The request was aborted: the request was cancelled
body: <p>I have a WCF service that has been giving me this error under load conditions (and I can't seem to recreate the error otherwise). We've been trying to find a way around it for about a week now with no such luck..</p>
  
  <p>The error I see has two parts to it,</p>
  
  <blockquote>
    <p>System.ServiceModel.CommunicationException:
    An error: (The request was aborted:
    the request was cancelled.) occurred
    while transmitting data over the http
    channel.</p>
  </blockquote>
  
  <p>and:</p>
  
  <blockquote>
    <p>System.Net.WebException: The request
    was aborted: the request was
    cancelled.</p>
  </blockquote>
  
  <p>I've seen many people suggest to disable working with keep alive by overloading a method in the <code>Reference.cs</code> file and setting <code>KeepAlive = false</code>, however, our client side is using a service reference (in addition to web reference) and this option does not exist anymore.</p>
  
  <p>Another option I've seen was to add a custom Binding to the service instead of the <code>BasicHttpBinding</code> we are using now, but that would bother backwards support of the webservice to those who have been using a webReference (since <code>CustomBinding</code> is not SOAP enabled).</p>
  
  <p>Has anyone dealt with this error before? Is there a way to disable keep alive in WCF without affecting the server side? Is there anything other that keep alive that is known to cause this error?</p>