Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list

当你的ASP.NET MVC项跑在IIS时,出现如标题Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list异常时,可以尝试下面的解决方法,
重新为IIS注册Framework。


64位操作系统:

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i


32位操作系统:

%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

 

posted @ 2016-04-24 15:19  Insus.NET  阅读(1295)  评论(0编辑  收藏  举报