加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – IIS错误 – HTTP错误500.24 – 内部服务器错误

发布时间:2020-12-16 06:47:52 所属栏目:asp.Net 来源:网络整理
导读:我最近在我的 Windows 7 PC上安装了IIS,当我打开http:// localhost /它显示 ********************ERROR********************** HTTP Error 500.24 - Internal Server ErrorAn ASP.NET setting has been detected that does not apply in Integrated managed
我最近在我的 Windows 7 PC上安装了IIS,当我打开http:// localhost /它显示

********************ERROR**********************  
HTTP Error 500.24 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.  
********************ERROR**********************

********************Detailed Error Information**************  
Module:  ConfigurationValidationModule  
Notification:  BeginRequest  
Handler:  StaticFile  
Error Code:  0x80070032  
Requested URL  :http://localhost:80/  
Physical Path  :C:inetpubwwwroot  
Logon Method  :Not yet determined  
Logon User  :Not yet determined  
************************

解决方法

我不确定您正在运行哪些代码/配置,但您可能需要更改站点的应用程序池以使用Classic而不是Integrated模式.

>这是一个很好的explanation of the difference.

Classic mode is where IIS only works with ISAPI extensions and ISAPI filters directly … Integrated mode handles all requests through a unified pipeline for IIS and is tightly integrated with ASP.NET through that same pipeline.

>你可能遇到麻烦的地方:

Some legacy code may require that you run in classic mode to execute without error. To take full advantage of IIS we strongly encourage you to review your code if your application throws an error in Integrated but runs fine in Classic.

> Laundry list of issues调试集成模式.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读