Maximum Upload Limits

<< Click to Display Table of Contents >>

Navigation:  Enterprise > Configuration >

Maximum Upload Limits

To load large files or EDDs with the Enterprise 7 web application, the maximum size setting in the web.config file (typically at .\Program Files\EarthSoft\Enterprise7\web.config) may need to be increased.

 

The default setting for uploading files is 10 MB (30 MB in IIS 7.5). If attempting to load files larger than the maximum size setting in the web.config file, a Runtime Error will occur.

Under Microsoft Internet Information Server 6.5 and earlier, the error will look like: Server Error in '/equis' Application.

Under Microsoft Internet Information Server 7 and later, an HTTP 404 error page will briefly be displayed.
https://support.microsoft.com/kb/942074/?wa=wsignin1.0

 

To change the setting for maximum upload size, ask the systems administrator to edit the Enterprise7 web.config file. The setting must be set in two places. If the values set are different, the lower of the two values will determine the effective upload limit. Caution should be used when changing this setting as it affects the server's vulnerability to denial of service attacks. Refer to the pertinent Microsoft documentation for more information regarding vulnerability to denial of service attacks.

http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits

 

maxRequestLength

 

The maxRequestLength setting defines the maximum upload size in kilobytes (1024 bytes). For example, maxRequestLength = "20479" allows for loading EDDs of approximately 20 MB. The default maxRequestLength = "10240", which is approximately 10 MB.

 

Note: The maximum limit for the EDP EDD Upload widget itself is 31743 bytes (approximately 31 MB).

 

Update the following setting in the web.config file:

 

   <httpRuntime executionTimeout="240" maxRequestLength="10240" maxUrlLength="2083" />

  http://msdn.microsoft.com/en-us/library/vstudio/e1f13641(v=vs.100).aspx

 

maxAllowedContentLength

 

The maxAllowedContentLength setting was introduced in IIS 7 as part of a suite of IIS security measures. This specifies the maximum length of the content of a request in bytes. For EQuIS purposes, this value should be the value for maxRequestLength * 1024.

 

Add the following setting in the web.config file:

 

   <requestLimits maxAllowedContentLength="10485760" maxUrl="2083"/>

  http://msdn.microsoft.com/en-us/library/ms689462(v=vs.90).aspx

 

Issues related to network QoS, latency, and available server resources make finding the actual upload limit for any particular environment a trial and error exercise. If it is expected that files larger than 50 MB must be sent to EQuIS, EarthSoft recommends that protocols other than HTTP be employed. Please contact EarthSoft Support for assistance if necessary.

 

Note: New BETA functionality in the EDP EDD Upload Widget allows maxRequestLength and maxAllowedContentLength to be respected, but enables the ability to upload EDDs larger than these two defined settings.