pulling data from the database to a gridview with error code 413
<p>When I bind a datatble which contains: 183785 records from the database, I got this problem:</p>

<blockquote>
  <p>Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
  occured while processing the request on the server. The status code
  returned from the server was: 413.</p>
</blockquote>

<p>By searching around, the error indicates that:</p>

<p>"The status code 413 means that Request Entity Too Large.
The 413 status code indicates that the request was larger than the server is able to handle, either due to physical constraints or to settings. Usually, this occurs when a file is sent using the POST method from a form, and the file is larger than the maximum size allowed in the server settings."</p>

<p>But in the web.config, we already increase the maxRequestLength</p>

<pre><code>&lt;httpRuntime executionTimeout="9000" maxRequestLength="2097151" useFullyQualifiedRedirectUrl="false"/&gt;
</code></pre>

<p>How can we fix this problem?</p>

<p>Thanks in advance. </p>
