Maximum request length exceeded

Overview

If importing a file (project or variable groups) that exceeds the default maximum request length specified in the web.config file, an error will display.



 

Resolution

Modify a setting in the web.config file located at the root of the application folder. 

This is only applicable to users running StudyTRAX on their own server.  If using ScienceTRAX's server please send an email to support@sciencetrax.com.

Steps

  1. Verify the setting
    1. Log into StudyTRAX as the System Administrator
    2. Select System Administration from the main menu
    3. Select the System Configuration tab in the left panel
    4. At the bottom of the page note the value of the Max Request Length under the Web Config Settings
    5. The initial default value is 5120
    6. This is the value that will need to be changed in the web.config file
  2. Modify the setting

    Changing this setting will cause the application to restart. All current sessions will be closed causing the users to loose their work.  It is recommended that this step is peformed when no users are logged in.

    1. Open the web.config file
      1. The file is located at the root of the application folder
      2. Look in IIS to find the physical path if needed
    2. Change the value noted in step 1e (it will be on line 66)
    3. Save the changes

      Sometimes IIS may not be configured to restart after a web.config modification and IIS may need to be restarted.