title: C#: Root cause of Max pool size was reached
body: <p>We are getting following error in our <code>WCF application</code>.</p>
  
  <blockquote>
    <p>Timeout expired.  The timeout period elapsed prior to obtaining a
    connection from the pool.  This may have occurred because all pooled
    connections were in use and max pool size was reached.</p>
  </blockquote>
  
  <p>When we received the error at the time total 24 connection were consumed by the application and I think 100 is a default connection pool size.</p>
  
  <p>We always close the <code>SQL connection</code> and also we dispose the <code>SQLDataReader</code>.</p>
  
  <p>I am not sure why this execution occurred. Is there any other situation when we get this error?</p>