Previous Topic: Incorrect Navigation Instructions in DSM Web Console Online HelpNext Topic: View and Edit is Not Enabled for the Volume Files


Uploading of Files That Are More Than 20MB in Size Fails

Symptom:

When I try to upload a file that is more than 20 MB in size, the upload fails and shows the following error message:

File upload failed.

Solution:

This happens because of the default upload limit allowed by IIS. To increase the upload file size limit, follow these steps:

From Command Line Interface

Run the following command :

appcmd set config /section:requestfiltering /requestlimits.maxallowedcontentlength: <upload file size in bytes>

From Graphical User Interface:
  1. Open IIS Manager and Select Default Web Site.
  2. Go to Features View and double-click Request Filtering.
  3. Click Edit Feature Settings in the Actions pane.
  4. Go to Edit Request Filtering Settings and edit the maxAllowedContentLenght as necessary, and then click OK.