【发布时间】:2015-04-02 18:55:51
【问题描述】:
我有一个托管在 IIS 7.5 中的经典 asp 站点。目前它只允许我上传
【问题讨论】:
-
这个问题之前已经回答过了。如果你想要一个完整的细分去here
标签: asp-classic iis-7.5
我有一个托管在 IIS 7.5 中的经典 asp 站点。目前它只允许我上传
【问题讨论】:
标签: asp-classic iis-7.5
ASP 限制属性默认位于服务器 applicationHost.config 中,如果您无权访问它,您的托管服务提供商必须将 ASP 功能委托给较低级别。
完成后,将其放入您的 web.config:
<system.webServer>
<asp>
<limits maxRequestEntityAllowed="200000000" />
</asp>
</system.webServer>
请注意,如果服务器未正确委派此功能,您将在尝试向您的应用发出请求时收到错误消息。
【讨论】:
applicationHost.config 中并不意味着您不能在Web 应用程序自己的web.config 中包含该部分来覆盖它。更改 applicationHost.config 中的值是多余的。