Handler "PageHandlerFactory-Integrated" there is an error in the module in which the module list "

        今日在安装windowsServer服务器的网站,一切完成好后,出现:处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler”。
        系统采用的是.net 4.0,明明使用了安装版进行安装,安装过程中也没有出现任何错误提示,为何???
       到微软官网一查,才知道:4.0的框架是独立的CLR,和2.0的不同,如果想运行4.0的网站,在一些情况下需要用aspnet_regiis注册4.0框架,然后用4.0的Class池,就可以运行4.0的web项目了。
可我上次安装就没有这个步骤。管他,那就试试吧!
  1. Find the installation path .NET4.0, I was windowsServer2008R2 64Bit Ali cloud machine in the directory: C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ under, if a 32-bit machine, you should be in the C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ under;
  2. Start cmd (press and hold the "win key + R", the input "cmd", and press Enter);
  3. Executing program: aspnet_regiis.exe -i; 4.0 registered by aspnet_regiis frame.
  4. If successful, it will appear the following:
    Handler "PageHandlerFactory-Integrated" there is an error in the module in which the module list "
    the OK, the site normally open, all the best!

Guess you like

Origin blog.51cto.com/eagle6899/2474735