Uploading Large Files

While uploading files to the intranet, you may encounter issues with file limitations at the server level. This is because the Windows Server comes preconfigured with these limitations. It is possible to adjust these settings as needed for what you are looking to upload on the intranet. 

Note: As files are uploaded to the web server, larger files can use up the available hard drive space. For this reason, we recommend limiting the file sizes allowed to some degree, or using external hosting services for large video files.

Errors commonly encountered are:

  • Page cannot be displayed
  • 404 File not found

To correct these errors, please try the settings shown below:

All steps must be done by remoting into the web server.

maxRequestLength limit

Used for Multiple File Upload and Message Box widgets/fields

1) Navigate in IIS to the Configuration Editor

2) Open System.Web > httpRuntime as shown on the image below

3) Look for maxRequestLength and executionTimeout and adjust as necessary (default is typically 4MB)

  • The web server will need enough time to process the request, the example image below uses 10mins instead of the default of 1 minute and 50 seconds.
  • To determine the minimum bytes that you will need to put into this setting, click here for a site that has a converter.

Example: If you need 100MB, the value would be: 102400 as shown in the image below.

Note: The maxRequestLength cannot exceed 2097151.

4) Tap the enter key after updating each value

5) Click 'apply' on the right side of your IIS screen

request_edit.png

Reference articles:

 

MaxAllowedContentLength: 30 MB limit - IIS 7+

Problem:  When attempting to upload files using the "Multiple File Upload" flash-based utility, or uploading large video files that may be over 30 MB, they are not being properly uploaded to the site.

Answer:  In IIS7 there is a default upload size limit of 30 MB.  To resolve this issue, please use the following instructions:

Execute the following command on the webserver (the attached technote explains the purpose of the command which increases the size limit of upload transactions, in this case to 300MB).

C:\Windows\System32\Inetsrv\appcmd set config /section:requestfiltering /requestlimits.maxallowedcontentlength:314572800 (300mb in this case - adjust as required per filesize)

To determine the minimum kilobytes that you will need to put into this setting, click here for a site that has a converter.

OR

1) Navigate in IIS to the Configuration Editor

2) Open System.Webserver > Security > RequestFiltering > RequestLimits as shown on the image below

3) Look for maxAllowedContentLength and adjust as necessary (default is typically 30MB)

 

Related articles:

 

ColdFusion Timeouts (if applicable)

In the Server Settings window of the ColdFusion Administrator (Accessing the ColdFusion Admin Site), please uncheck the 'timeout requests after [60] seconds' option. Apply this change.

Also, at the bottom of that page you will find a setting 'Maximum size of post data'. Please change this to a large enough number and apply that change as well. You may also have to adjust Request Throttle Memory.

 image002_thumb.png

IIS 7.5 - Connection Reset

If you are getting a connection reset error message, you will also have to increase the Connection Limits timeout in IIS. With the Intranet Web Site selected, Click limits in the right menu, and increase connection time-out from 120 seconds to something larger.

iis7.5limits.png

 

Connection was reset - Network Configuration

On some networks, there may be an option within the firewall software to set an upload file size limit.  If this is set, the user may get some variant of the "Connection Reset" error below (pictured is Internet Explorer).  Either remove this setting or set it at a higher value.

Have more questions? Submit a request

0 Comments

Article is closed for comments.