HTTP 错误 500.21 Internal Server Error IsapiModule

问题

系统是windows7+IIS7。

今天发布的时候,一直遇到HTTP 错误 500.21 - Internal Server Error
处理程序“PageHandlerFactory-ISAPI-4.0_32bit”在其模块列表中有一个错误模块“IsapiModule”。

查找网络上一般的解决方法是

程序-附件-命令提示符右键-以管理员身份运行命令行:

->%windir%\Microsoft.NET\Framework\vxxxxxxxx\aspnet_regiis.exe -i

vxxxxxxxx 表示你的机器上已经安装的.net framework的最新版本。

但对我来说还是没用。错误依然存在。

解决方法

最后的解决方法是将应用程序池中的APS.NET v4.0 Classic经典管道模式改为ASP.NET v4.0集成管道模式。

参考来源http://www.dc9.cn/post/574.html感谢作者

原文地址:https://www.cnblogs.com/gisalameda/p/1861313.html