首页 > 代码库 > IIS文件上传限制
IIS文件上传限制
HttpException (0x80004005): 超过了最大请求长度。
MaxRequestLength单位KB,最大值2147483647(int32)最大值
<httpRuntime maxRequestLength="2147483647" executionTimeout="2147483647" />
<compilation debug="false"/>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295" />
</requestFiltering>
</security>
</system.webServer>
HTTP Error 404.13 - Not Found
Web 服务器上的请求筛选被配置为拒绝该请求,因为内容长度超过配置的值。
确认 applicationhost.config 或 web.config 文件中的 configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength 设置。
IIS文件上传限制
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。