title: connection that was expected to be kept alive was closed by the server in asp.net
body: <p>When i try to redirect to next page, I get the following error</p>
  
  <p><strong>Note:</strong> <code>Even the connection is open and it is fine.</code></p>
  
  <blockquote>
    <p>The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
    
    <p>Exception Details: <code>System.Net.WebException</code>: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.</p>
  </blockquote>
  
  <p><strong>Source Error:</strong></p>
  
  <blockquote>
    <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p>
  </blockquote>
  
  <p><strong>Stack Trace</strong>:</p>
  
  <pre><code>[WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.]
    Effrtpartsigndone.Page_Load(Object sender, EventArgs e) +8196
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
  </code></pre>
  
  <p>Version Information: Microsoft .NET Framework Version:4.0.30319; </p>
  
  <p>ASP.NET Version:4.0.30319.272 </p>