Increasing the ASP.NET upload limit (Windows Hosting)

As a security feature Windows Hosting plans have an ASP.NET upload limit of 4 MB. To exceed the 4 MB limit, you can set the maximum request length in your web.config.  See below:

 

<configuration>

    <system.web>

        <httpRuntime maxRequestLength="32768" />

    </system.web>

</configuration>

 

This will allow uploads up to 30 MB.