Versions: All released versions of DSP / DSMA / ISA
Issue:
When trying to upload a large file in any application (Construct, Track, etc.) an error is thrown:
“Internal Error - Uploaded file is too large”
Cause:
The .NET runtime has a default value for MaxRequestLength of 4096 KB. An explanation of this setting can be found here: https://msdn.microsoft.com/en-us/library/e1f13641%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396.
The default value is insufficient for large files (>4MB).
Resolution:
The way to resolve this issue is to increase the value for MaxRequestLength. This can be done in the web.config file using the following instructions:
1. Navigate to {Install location}BOA\DSP\Web and create a backup of the web.config file.
2. Edit the web.config file using Notepad.
3. Locate the <system.web> section and add the following element:
<httpRuntime maxRequestLength="X" />
Where X is a value in KB so 16384 would be 16 MB. Realize that extremely large values could trip other timeouts or cause slow performance.
4. The change should take effect immediately. If it doesn't then perform an application pool recycle or IISReset.
Example <system.web> section:
<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication mode="Windows" />
<customErrors mode="RemoteOnly" defaultRedirect="~/Error.aspx" redirectMode="ResponseRewrite" />
<webServices>
<protocols>
<add name="HttpPost" />
<add name="HttpGet" />
</protocols>
</webServices>
<httpRuntime maxRequestLength="16384" />
</system.web>