gpt4 book ai didi

asp.net - HTTP 错误 500.19 - 内部服务器错误

转载 作者:行者123 更新时间:2023-12-05 01:17:27 25 4
gpt4 key购买 nike

我在将我的 web 包部署到 IIS 后遇到了这个问题:

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

Config Source:


119: </modules>
120: <handlers>
121: <remove name="WebServiceHandlerFactory-Integrated" />

我该如何解决这个问题?

最佳答案

请参阅此页面上的场景 7 Troubleshooting HTTP 500.19 Errors in IIS 7 ,它看起来与您的错误消息几乎相同。

我认为的关键点之一是:

This usually indicates that ASP.NET is either not installed or has corrupted/incomplete installation because installation of asp.net unlocks that section. Hence if this is the case, one should install asp.net feature from Server Manager (Under Web Server Role in Windows Server 2008 and in Program Features-> Application server in Vista/Windows7). This KB929772 talks about the ASP.NET installation failure reason.

如果您只是在本地桌面 IIS 上而不是在服务器上执行此操作,您可能需要使用 aspnet_regiis 向 IIS 重新注册 .NET,但我不保证这会解锁该部分。

关于asp.net - HTTP 错误 500.19 - 内部服务器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10999534/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com