ASP.NET MVC上传文件太大显示“HTTP 错误 404.13 - Not Found”,如何屏蔽
sense 2012-04-28 01:43:21 HTTP 错误 404.13 - Not Found
请求筛选模块被配置为拒绝超过请求内容长度的请求。
我在WEB.CONFIG下也指定了:
<customErrors mode="On" defaultRedirect="~/Error/Error500.html">
<error statusCode="404" redirect="~/Error/Error404.html"/>
<error statusCode="500" redirect="~/Error/Error500.html" />
</customErrors>
就是无法显示我自己定义一个友好页面,其他404错误会自动跳转到友好页。