title: Web service method call times out, metadata request works fine
body: <p>I have a <strong>WCF service</strong> which is not responding to method calls. On the client side, I get timeouts when I call any method.</p>
  
  <p>Interestingly, when I update the reference on Visual Studio it works fine. It responds to metadata requests as expected.</p>
  
  <p>Looking at the Windows <strong>Event Log</strong> (on the server), I see the message <code>App Pool exceeded time limits during shut down</code>.</p>
  
  <p>And looking at <strong>IIS log</strong>, I see the message <code>Connection_Abandoned_By_AppPool FooBar</code>, where <code>FooBar</code> is the name of the application pool.</p>
  
  <p>Can anyone tell me why my WCF service is not responding to client requests?</p>
  
  <hr>
  
  <p>Here is the <strong>web.config</strong> on the server:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
    &lt;startup useLegacyV2RuntimeActivationPolicy="true"&gt;
      &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/&gt;
    &lt;/startup&gt;
  
    &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
  
    &lt;system.serviceModel&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="FooBarBehaviors"&gt;
            &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
            &lt;serviceMetadata httpGetEnabled="true"/&gt;
            &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
  
      &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="FooBarBinding"&gt;
            &lt;readerQuotas maxArrayLength="1048576" /&gt;
          &lt;/binding&gt;
        &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;
  
      &lt;services&gt;
        &lt;service name="FooBarSvc.FooBar" behaviorConfiguration="FooBarBehaviors"&gt;
          &lt;endpoint contract="FooBarSvc.FooBar" binding="basicHttpBinding" bindingConfiguration="FooBarBinding" address="" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
    &lt;/system.serviceModel&gt;
  
  &lt;/configuration&gt;
  </code></pre>