Asp.net mvc windows server 2008 IIS 7.5最大文件接受限制
我已经在windows server 2008操作系统的IIS 7.5上部署了我的应用程序,我想知道最大文件上载限制是多少,以及如何提高该限制?我正在使用asp.net mvc2此设置配置上载文件大小限制:Asp.net mvc windows server 2008 IIS 7.5最大文件接受限制,asp.net-mvc,iis-7.5,Asp.net Mvc,Iis 7.5,我已经在windows server 2008操作系统的IIS 7.5上部署了我的应用程序,我想知道最大文件上载限制是多少,以及如何提高该限制?我正在使用asp.net mvc2此设置配置上载文件大小限制: <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1048
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="10485760"/>
</requestFiltering>
</security>
</system.webServer>
默认大小为~30Mb。使用以下内容设置web.config,其中xxx是最大上载大小(以KB为单位):
<configuration>
<system.web>
<httpRuntime maxRequestLength="xxx" />
</system.web>
</configuration>
默认值为4096(=4MB) 阅读博客文章,您将了解最大长度是多少以及如何增加其限制谢谢alex,但您提供的链接是我自己的博客:)