Windows 7 IIS (HTTP Error 500.21 - Internal Server Error)解决

今天装了windows 2010尝尝鲜,将网站发布到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

OK!

你可能感兴趣的:(windows,server,Module,IIS,2010)