HTTP错误500.22 - 内部服务器错误(一个ASP.NET设置已被检测,从而无法在集成应用管理管道模式)。 [英] HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.)

查看:178
本文介绍了HTTP错误500.22 - 内部服务器错误(一个ASP.NET设置已被检测,从而无法在集成应用管理管道模式)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误,当我查看应用程序。

I receive this error when I view an application.

HTTP错误500.22 - 内部服务器错误(ASP.NET设置已检测到不以集成应用托管管道模式。)

HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.)

2.0,3.5和4个安装,我使用的SQL 2008谁能告诉我有什么解决的办法是为这个错误?

.Net framework 2.0, 3.5 and 4 are installed and I am using SQL 2008. Can anyone tell me what the solution is for this error?

推荐答案

这个问题是由于管道模式在你的应用程序池的设置,你的网站设置造成的。

This issue is caused by the pipeline mode in your Application Pool setting that your web site is set to.

简短

  • 简单的方法更改应用程序池模式,以一个启用了经典的管道。
  • 正确方法您的web.config / Web应用程序都需要进行修改,以支持集成管道。通常,这很简单,只要删除你的web.config的部分。
  • 简单的方式(不好的做法)以下内容添加到您的web.config。请参阅<一href="http://www.iis.net/ConfigReference/system.webServer/validation">http://www.iis.net/ConfigReference/system.webServer/validation

  • Simple way Change the Application Pool mode to one that has Classic pipeline enabled.
  • Correct way Your web.config / web app will need to be altered to support Integrated pipelines. Normally this is as simple as removing parts of your web.config.
  • Simple way (bad practice) Add the following to your web.config. See http://www.iis.net/ConfigReference/system.webServer/validation

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

如果可能的话,最好的办法是改变你的应用程序来支持集成的管道。有一些IIS6和IIS7.x之间变化,这将导致此错误的。在这里你可以找到有关这些更改的详细信息<一个href="http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70/">http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70/.

Long If possible, your best bet is to change your application to support the integrated pipelines. There are a number of changes between IIS6 and IIS7.x that will cause this error. You can find details about these changes here http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70/.

如果您无法做到这一点,你需要更改应用程序池可能会更加困难这取决于您的可用性到Web服务器的事情。

If you're unable to do that, you'll need to change the App pool which may be more difficult to do depending on your availability to the web server.

  • 转到Web服务器
  • 打开IIS管理器
  • 在浏览到您的网站
  • 点击高级设置在右侧操作窗格
  • 在应用程序池,将其更改为具有典型的启用一个应用程序池。

检查<一href="http://technet.microsoft.com/en-us/library/cc731755(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc731755(WS.10).aspx有关更改应用程序池的详细信息

Check http://technet.microsoft.com/en-us/library/cc731755(WS.10).aspx for details on changing the App Pool

如果你需要创建一个应用程序池与经典管道,看看<一href="http://technet.microsoft.com/en-us/library/cc731784(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc731784(WS.10).aspx

If you need to create an App Pool with Classic pipelines, take a look at http://technet.microsoft.com/en-us/library/cc731784(WS.10).aspx

如果您没有访问服务器进行此更改,你需要通过你的主机服务器,以做到这一点,与他们联系,寻求帮助。

If you don't have access to the server to make this change, you'll need to do this through your hosting server and contact them for help.

随意问的问题。

这篇关于HTTP错误500.22 - 内部服务器错误(一个ASP.NET设置已被检测,从而无法在集成应用管理管道模式)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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