ASP.NET MS11-100: how can I change the limit on the maximum number of posted form values?
Try adding this setting in web.config. I just tested this on .NET 4.0 with an ASP.NET MVC 2 project and with this setting your code doesn’t throw: <appSettings> <add key=”aspnet:MaxHttpCollectionKeys” value=”1001″ /> </appSettings> That should work now (after you have applied the security update) to change the limit. I hadn’t updated my machine yet, so … Read more