Form submit resulting in “InvalidDataException: Form value count limit 1024 exceeded.”
I have created an mvc site and I'm posting a large amount of json form data ( Content-Type:application/x-www-form-urlencoded ) back to the mvc controller. When I do this, I receive a 500 response that states: "InvalidDataException: Form value count limit 1024 exceeded." In previous versions of aspnet, you would add the following to the web.config to increase the limit: <appSettings> <add key="aspnet:MaxHttpCollectionKeys" value="5000" /> <add key="aspnet:MaxJsonDeserializerMembers" value="5000" /> </appSettings> When I put these values in the web.config, I do not see any change, so I'm