检测到在集成的托管管道模式下不适用的ASP.NET设置

by shinichi_wtn 2010-07-26 19:33

今天在用Windows Server 2008的IIS7.5部署ASP.NET4.0项目出现“HTTP错误,500.23,Internal Server Error 检测到在集成的托管管道模式下不适用的ASP.NET设置”。

网上搜索答案后,需要将应用程序池改为经典模式,如下

但是,改为经典模式后,却出现了另一个错误。。。如下图:

这个错误是说ISAPI禁用了某些组件,因为.NET Framework 4.0才装上,可能被IIS默认禁止运行,所以打开设置页面,果然,32位和64位的ASP.NET 4.0组件都被设置为“不允许”了。

 

 

 

把两个ASP.NET V4.0的组件允许通过,网站就能成功运行了!

Comments (1) -

发呆fda People's Republic of China
8/7/2013 9:39:59 AM #

对于我这种小白,不清不楚,不推荐看

Reply

(仅用于Gavatar)

  Country flag

biuquote
  • Comment
  • Preview
Loading

About

shinichi_wtnI'm Shinichi_wtn

Software Engineering Manager at Microsoft

[More...]

Widget Recent Tweets not found.

The remote server returned an error: (403) Forbidden.X


Month List