Operation is not valid due to the current state of the object解决方法

当大数据量提交的时候

<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="2000" />
<add key="aspnet:MaxJsonDeserializerMembers" value="2000" />
</appSettings>

这个值是一次提交的数量

原文地址:https://www.cnblogs.com/hudasm/p/2729277.html