Problem description:
An exception occurs when the page data volume is large. Details: System. InvalidOperationException: the current state of the object invalidates the operation.
Cause:
This exception occurs because of the last abnormal update program released by Microsoft. in this security update, the maximum number of asp.net submissions is 1000. This exception occurs because the Page Submission volume exceeds the limit of 1000.
Solution:
. Net 2.0 or later versions are changed in web. config:
<Deleetask>
<Add key = "aspnet: MaxHttpCollectionKeys" value = "5000"/>
</AppSettings>
. Net 1.1
Remove the system automatic update and 360 system automatic update, and then uninstall the update Patch "kb2656358" in "Control Panel"
Source: System. InvalidOperationException: the current state of the object invalidates this operation. [a large amount of form data is submitted]