Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum value for "maxAllowedContentLength" in IIS 7.5?

What is the maximum value for maxAllowedContentLength in a Web.config file having a Windows Server 2008 R2 and IIS 7.5?

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="???"/>
      </requestFiltering>
    </security>
  </system.webServer>
like image 252
Simant Avatar asked Oct 30 '22 00:10

Simant


1 Answers

The comment above obviously showed where to find the answer.

Another source is to check IIS schema files, which locates usually at %windir%\system32\inetsrv\config\schema folder

https://github.com/lextm/iis_schema/blob/master/IIS_schema.xml#L1321

like image 145
Lex Li Avatar answered Jan 23 '23 23:01

Lex Li