maxRequestLength error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a parameterized query that returns results effectively to a datagrid.
These resultsets are usually between 50-2000 records.

The users have requested the ability to view ALL records which would return
100K or more records and now when I run the query with NO parameters, I can
get the gridview to initially fill. HOWEVER, anything else AFTER that, like
changing a parameter will cause a maxRequestLength error.

I tried changing the value in the web.config file of
<httpRuntime
maxRequestLength = "102400" />

But this seems to have no effect.
 
Jonefer,

It may be that all those records are being stored in the ViewState. If you
do not need ViewState for the datagrid, you set the EnableViewState property
to false.

Hope this helps,


Steve
 
Back
Top