HTTP错误500.23 - ASP.Net部署中的内部服务器错误 [英] HTTP Error 500.23 - Internal Server Error in ASP.Net deployment

查看:144
本文介绍了HTTP错误500.23 - ASP.Net部署中的内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

得到HTTP错误500.23 - 内部服务器错误,错误代码0x80070032

我在IIS 7中的应用程序,默认站点

应用程序池:DefaultAppPool(.Net FW:V4 .0,管理管道:集成,身份:网络服务)

然后我试过:

应用程序池:经典.NET AppPool(.Net FW:V4.0,管理管道) :集成,身份:ApplicationPoolIdentity)

同时,在Web.config中(参见http://stackoverflow.com/questions/14925383/http-error-500-23-internal-server-error- local-iis-web-serve),添加

Got HTTP Error 500.23 - Internal Server Error, Error Code 0x80070032
My application in IIS 7's, the Default Site
Application Pool: DefaultAppPool (.Net FW: V4.0, Managed Pipeline: Integrated, Identity: NetworkService)
Then I tried:
Application Pool: Classic .NET AppPool (.Net FW: V4.0, Managed Pipeline: Integrated, Identity: ApplicationPoolIdentity)
Meanwhile, in Web.config (refer to http://stackoverflow.com/questions/14925383/http-error-500-23-internal-server-error-local-iis-web-serve ), add

<system.webServer>
  <validation validateIntegratedModeConfiguration="false"/>
</system.webServer>



错误仍然相同。希望得到解决方案的一些提示。感谢!


The error is still the same. Wish to get some hints for the solution. Appreciate!

推荐答案

请查看以下链接。



注意:在以下更改后,您必须重新启动应用程序池。



HTTP Error 500.23
Please check below link also.

Note : You have to restart the application pool after the below changes.

HTTP Error 500.23


当ValidateConfigurationModule检测到system.webServer / validation validateIntegratedModeConfiguration等于true并且httpHandlers或httpModules部分中的某些配置未在integratedMode中选取时,它通常会发生此错误。 system.web/identity@impersonate设置为true,在integratedMode中也无效。您可以按照错误消息中的建议迁移配置,以便托管模块/处理程序在集成模式和经典模式下工作。
This error is generally occurs by ValidateConfigurationModule when it detects that system.webServer/validation validateIntegratedModeConfiguration equal true and there is some configuration in httpHandlers or httpModules section which is not picked in integratedMode or system.web/identity@impersonate is set to true which is also not effective in integratedMode. You can follow the suggestions in the error message to migrate the configuration so that your managed modules/handlers work in integrated and classic mode both.


更改IIS DefaultAppPool的设置如下:

净FW:V4.0

托管管道:集成

身份:ApplicationPoolIdentity

同样在web.config中,添加

Changed IIS DefaultAppPool's settings as follows:
Net FW: V4.0
managed Pipeline: Integrated
Identity: ApplicationPoolIdentity
Also in web.config, add
<pre lang="HTML">
  <system.webserver>
    <modules runallmanagedmodulesforallrequests="false" />
    <validation validateintegratedmodeconfiguration="false" />
  </system.webserver>



部署项目的一个(Asp Web应用程序)错误500.23已经消失,但是另一个项目(Asp Dile System) )在同一个IIS文件夹中,获得配置错误


The Error 500.23 was gone for one (Asp Web Application) of deployed projects, but for another project (Asp Dile System) in the same IIS folder, got Configuration Error at

<pre lang="HTML">
<authentication mode="Windows" />



我正在继续对此项目进行调试。感谢审稿人,尤其是那些提供意见或解决方案反馈的人。


I am continuing the debugging on that in this project. Thanks to the reviewers, esp. those who provided comments or solutions feedbacks.


这篇关于HTTP错误500.23 - ASP.Net部署中的内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆