此文来自:http://blog626.blog.163.com/blog/static/105610732201051591450870/
搭建IIS时出现如下错误:
HTTP Error 500.21 - Internal Server Error
Handler "WebServiceHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.
原因:在安装Framework v4.0之后,再启用IIS,导致Framework没有完全安装
解决办法:开始->所有程序->附件->鼠标右键点击“命令提示符”->以管理员身份运行->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
点滴积累【other】---Windows 7 IIS (HTTP Error 500.21 - Internal Server Error)解决方案(转载)