asp.net 出现Operation is not valid due to the current state of the object.

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

因为上年1229号那次微软发布的最后一次非正常更新程序引起的.在这次安全更新中对于asp.net单次的提交量做了一个最大量限制1000,出现这个异常正是因为页面提交量超过了1000这个限制.这个可以在web.config中更改.

posted @ 2012-05-17 09:22  独孤求欢  阅读(294)  评论(0编辑  收藏  举报