The URL-encoded form data is not valid Error

You may see a "The URL-encoded form data is not valid" error. while posting a large amount of data to the server.

This error is a side effect of a security fix released by Microsoft (to read more about this issue, see this link: http://weblogs.asp.net/scottgu/archive/2011/12/28/asp-net-security-update-shipping-thursday-dec-29th.aspx)
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:

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

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SQL server- network related or instance-specific error happened while connection establishing

  Instance-specific or network related error happening while connecting to SQL server   Please...

OleDB connection string examples

OleDB connection string examples MS Access (Jet) "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA...

Do you allow custom COM components?

Do you allow custom COM components? We are not offering to install the custom COM components...

Error when accessing a WCF services

Error when accessing a WCF services Error when accessing a WCF service: "IIS specified...

How to cache static contents to client with UseMaxAge?

You can consider to caches static contents to the client with UseMaxAge if your website has too...