Upload large files on webpage?

797 Views Asked by At

We use the MojoPortal to a website and have some problems to upload files that is around 100 MB with the upload module. (Pleas note that this has probably nothing to do with MojoPortal but with the ASP.NET and the IIS)

The MojoPortal is set to use regular file Upload(not Neat Uploader) and to be able to upload big files we have set the following :

<httpRuntime maxRequestLength="2097151" executionTimeout="18000" requestValidationMode="2.0"/>

And :

<compilation debug="false" defaultLanguage="C#" targetFramework="4.0">

The problem is that the upload will cacel after a couple of minuts (Aborted).

Is there any other values that I need to set to make this possible? The MojoPortal itself should not have any settings for this as far as I know so its regular ASP.NET 4.0.

BestRegards

1

There are 1 best solutions below

2
On BEST ANSWER

I assume you're running this under IIS 7 or higher. In this case you might want to update this property as well, in your web.config:

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="204800000"></requestLimits>
      </requestFiltering>
    </security>
  </system.webServer>