Which gets priority, maxRequestLength or maxAllowedContentLength?

maxRequestLength indicates the maximum request size supported by ASP.NET, whereas maxAllowedContentLength specifies the maximum length of content in a request supported by IIS. So you need to set both in order to upload large files: the smaller one “takes priority”. (I picked this up from http://forums.iis.net/t/1169846.aspx — credit where it’s due.) You can set both … Read more