zoukankan      html  css  js  c++  java
  • Website Develop: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

    1. install all features in IIS

    2. Try the following steps to register it.

    run %windir%Microsoft.NETFrameworkv4.0.21006aspnet_regiis.exe -i

    运行,跳出如下错误:

    开发环境是Window Server2008, Visual Studio2010。

    出现原因:在安装开发环境时有关模块的安装顺序不太正确引起。(如先安装.NetFramework v4.0后安装IIS)

    解决方法:

    一、修复 .NET Framework 4.0.   针对 32 bit or 64 bit 计算机方法如下: 

    1.Click Start -> All Programs -> Accessories -> Run
    2.在命令框中输入

        针对32 bit 机和.Net Framework version 4.0.30319:
         %windir%Microsoft.NETFrameworkv4.0.30319SetupCacheClientsetup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart
        针对64 bit 机和.Net Framework version 4.0.30319:
        %windir%Microsoft.NETFramework64v4.0.30319SetupCacheClientsetup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

    3. 点击 OK 开始修复,修复完成后要重启IIS 7.5。  

    二、以管理员的身份运行vs命令行工具,然后运行一下asp.net_regiis.exe -i 命令,安装成功后重启iis便可。

    以System Administrator方式打开命令行

        32 Bit机

      %windir%Microsoft.NETFrameworkv4.0.30319aspnet_regiis.exe –i
        64 Bit机

      %windir%Microsoft.NETFramework64v4.0.30319aspnet_regiis.exe –i

    网上不少人使用第二种方法就解决了问题,我是两个都试过才解决的。

  • 相关阅读:
    Advanced Configuration Tricks
    Reviewing the Blog Module
    Editing and Deleting Data
    Making Use of Forms and Fieldsets
    Understanding the Router
    SQL Abstraction and Object Hydration
    Preparing for Different Databases
    Java学习理解路线图
    Openstack学习历程_1_视频
    CentOS安装Nginx负载
  • 原文地址:https://www.cnblogs.com/vipsoft/p/3298966.html
Copyright © 2011-2022 走看看