Last post Apr 23, 2013 02:13 AM by amit_agrawal
Apr 19, 2013 01:46 PM|amit_agrawal|LINK
I am facing an error while page post back which says"Opertaion Invalid due to current state of an object". When I set the value of maxhttpCollectionkey to 5000 it allows some more data rows to be posted back. But after certain number of records it shows
the error. I need some dynamic solution to this problem as fixing the value won't solve my problem where data postback is dyanmic. It depends on the user what the amount of data he wants to post.
Please suggest some alternative approach or implementation to this issue.
Apr 19, 2013 06:03 PM|kedarrkulkarni|LINK
the maxhttpcollection restriction is set to make asp.net application secure... this helps in avoiding DOS(denial of service) attacks
i would rather think about restructuring the application flow in such a way that, it will not required so mane request values to be passed to the server in same request... it will also affect the performance/scalability of application
may be u can think of wiazrd like flow wherein u will need to get data from user in batches
hope this helps...
Apr 21, 2013 11:54 PM|amit_agrawal|LINK
Thank you for replying to my query. I already read about the security updates released by Microsoft for preventing DoS attacks.
Please give me some more idea about how can I get data from user in batches. Mine is a ASP.Net website and the requirement is that when user adds a data row in the grid on UI, it can copy it, add new data row or update/delete any data row. When he clicks
on update button, the page is posted back carrying the whole data back to the server. This keeps on increasing everytime on post back. It shows error after certain number of records are entered depending upon the value of maxhttpCollectionkey. Since the data
elements are more on the page which needs to be filled at a time so how can I take care of this.
Apr 22, 2013 02:31 AM|kedarrkulkarni|LINK
when user adds a data row in the grid on UI, it can copy it, add new data row or update/delete any data row. When he clicks on update button, the page is posted back carrying the whole data back to the server
or, limit the number of rows user can create/copy in a single request
Apr 23, 2013 02:13 AM|amit_agrawal|LINK
Can I refer and use the implementation in below link in my application using MVP model. This link have implementation in MVC model. Please suggest.