【发布时间】:2019-12-18 09:50:12
【问题描述】:
我收到最大请求长度超出错误,尝试从站点下载文件(在 asp.net 中开发)。我确实尝试了下面链接中建议的解决方案 Maximum request length exceeded.
但我仍然有同样的错误。
我使用的是 8.5 [1]:https://i.stack.imgur.com/pCLEs.png 我在 web.conf 中添加了以下标签
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
当我添加以下标签时,它会抛出“500 - 内部服务器错误”。
<httpRuntime maxRequestLength="1048576" />
但似乎没有任何效果。
【问题讨论】: