Windows Server 2008 Maximum IIS 7.5 File Size

I deployed my application in IIS 7.5 on the Windows Server 2008 operating system, and I want to know what is the maximum file upload limit and how to increase this limit? Im working on asp.net mvc2

+6
asp.net-mvc
source share
3 answers

This parameter sets the size limit for the uploaded file:

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

The default size is ~ 30 MB.

+8
source share

Set your web.config as follows, where xxx is the maximum download size in kilobytes:

 <configuration> <system.web> <httpRuntime maxRequestLength="xxx" /> </system.web> </configuration> 

The default value is 4096 (= 4 MB). MSDN Documentation

+4
source share

Read this blog and you will find out what the maximum length is and how to increase its limit.

+1
source share

All Articles