uoload trouble

This forum post has been removed

Number of replies: 4
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: uoload trouble

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Is your Moodle hosted on IIS? That's an important detail when asking for help as most Moodle servers are Apache or Nginx.

IIS has a maximum request size which by default is just under 30 MB. Has this been increased?

In reply to Leon Stringer

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: uoload trouble

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

On my Windows Server 2016 server the steps are:

  1. Open Internet Information Services (IIS) Manager console.
  2. Select the website in the left-hand pane and open Configuration Editor:
    Screenshot of IIS Manager console showing "Configuration Editor" selected.
  3. In Configuration Editor in Section select the path system.webServer/security/requestFiltering:
    Screenshot of "Configuratin Editor" with "Section" drop-down list expanded showing system.webServer/security/requestFiltering
  4. In the list of settings expand requestLimits and change maxAllowedContentLength to the required value (number of bytes, 134217728 = 128 MB):
    Screenshot of Configuration Editor requestFiltering section with requestLimits['maxAllowedContentLength'] selected

This setting can be applied to the IIS server and/or to websites individually.

In reply to Leon Stringer

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.