IIS 7.5 中“maxAllowedContentLength”的最大值是多少?

Sim*_*ant 5 .net web-config iis-7.5

具有 Windows Server 2008 R2 和 IIS 7.5 的 Web.config 文件中maxAllowedContentLength的最大值是多少?

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="???"/>
      </requestFiltering>
    </security>
  </system.webServer>
Run Code Online (Sandbox Code Playgroud)

Lex*_* Li 2

上面的评论显然表明了在哪里可以找到答案。

另一个来源是检查 IIS 架构文件,该文件通常位于%windir%\system32\inetsrv\config\schema文件夹

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