Increase form elements allowed by IIS

On December 29, 2010, Microsoft released security update MS11-100, which limits the maximum number of form keys, files, and JSON members to 1000 in an HTTP request. Since StudyTRAX allows users to create an unlimited number of variables, this limit may be exceeded. Therefore it is recommended that this limit be increased as follows:

Edit the web.config file. This file is at the root of the StudyTrax application (that is, the folder that the StudyTrax web app is pointing to in IIS). Edit the web.config file with notepad and search for appSettings. In the appSettings section add the following line:

<add key="aspnet:MaxHttpCollectionKeys" value="50000" />

Below is an example of the appSettings section. Depending on your version of StudyTRAX, there may be more items.

<appSettings>
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
    <add key="aspnet:MaxHttpCollectionKeys" value="50000" />
</appSettings>

Warning

Changing the web.config file causes IIS to restart the application. This means that all users on StudyTRAX will be logged off. Thus, this change needs to be done at a time when no users are on the system.

You can get additional information at the following links:

Stack Overflow Forum

Microsoft Knowledge Base