Web.Config问题:这个配置段不能在这个路径下使用

问题描述 投票:0回答:0

我需要在 ASP.NET web.config 中设置 **uploadReadAheadSize **属性 **serverRuntime **元素,但在启动它后抛出 HTTP 错误 500.19 并显示消息“此配置部分不能用于此路径”。

我发现here,我只需要在{ProjectDirectory}.v中为ServerRuntime设置overrideModeDefault为“允许”

asp.net iis iis-express applicationhost
© www.soinside.com 2019 - 2024. All rights reserved.