asp.net - Internal server 500 error with 958 records (not maxRequestLength issue) -


i have system.web.ui.webcontrols.gridview control. running in asp.net sharepoint web part application using .net 3.5.

on form submit, if grid has 957 rows, works fine. if has 958 rows, fails. i'm confident not maxrequestlength overflow because have changed in web.config, , i've loaded 957 records of large size, , 958 records of smaller size , same behavior occurs. it's not 1 record either because load more records , randomly eliminate them before returning view client (which how found magic number of 958).

it's never random; 957 records submit no matter total size , despite delays while debugging (no timeout occurs). 958 fail. actual server error returned is:

uncaught sys.webforms.pagerequestmanagerservererrorexception: sys.webforms.pagerequestmanagerservererrorexception: unknown error occurred while processing request on server. status code returned server was: 500

i beyond stumped. has run before or have ideas?

the issue turned out 1000 key value pairs in submitted data. that's why number of records broke @ 958 (there 43 other key value pairs in form submission).

asp.net has limit of 1000 records. answer here explains this.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -