URL恩codeD形式的数据是无效的 [英] URL-encoded form data is not valid
问题描述
我有一个网页的帖子多个表单标签。这是一个在线编辑页面,在那里我可以在一次或多次行发布一行。昨晚,而不进行任何更改到code或数据,我开始在多个职位的URL-EN codeD形式的数据是无效的
错误,虽然单列岗位正常工作。
I have a webpage that posts multiple form tags. It's an inline edit page, where I can either post one row at a time or multiple rows. Last night, without making any changes to the code or data, I started getting The URL-encoded form data is not valid
error on multiple posts, although single row posts work fine.
推荐答案
有问题的MS KB的问题是:<一href=\"http://weblogs.asp.net/scottgu/archive/2011/12/28/asp-net-security-update-shipping-thursday-dec-29th.aspx\">http://weblogs.asp.net/scottgu/archive/2011/12/28/asp-net-security-update-shipping-thursday-dec-29th.aspx
The MS KB issue in question is: http://weblogs.asp.net/scottgu/archive/2011/12/28/asp-net-security-update-shipping-thursday-dec-29th.aspx
在简单地说现在有对可以同时发布HTTP表单元素的数量上限。现在1000默认是没有与此键&LT明确改变它;&的appSettings GT;
web.config中的部分:
In a nutshell there is now an upper bound on the number of simultaneous HTTP form elements that may be posted. The default is now 1000 without explicitly changing it with this key in the <appSettings>
portion of the web.config:
<add key="aspnet:MaxHttpCollectionKeys" value="some number greater than 1000" />
这篇关于URL恩codeD形式的数据是无效的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!