Maximum Request Length Exceeded exception / Upload limits

Getting this exception when using Secret Server means that you are uploading a file that is too large.

Secret Server - Online Edition
The maximum upload size for a file is limited to 10MB.

Secret Server - Installed Edition

The maximum upload size for a file is limited to 10MB.

If you are using Installed Edition, you can increase the limit by modifying your web.config file.  Find the following section of XML:

<location path="secretview.aspx">
      <system.web>
          <httpRuntime maxRequestLength="10240" />
      </system.web>
</location>

<location path="secretcreate.aspx">
      <system.web>
          <httpRuntime maxRequestLength="10240" />
      </system.web>
</location>


The 10240 represents 10MB (10 x 1024).  Increase this value to allow larger file uploads.

Article ID: 200, Created On: 11/21/2011, Modified: 12/9/2011