How to get rid of this error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

后端 未结 6 1872
再見小時候
再見小時候 2021-01-05 15:44

Using IIS7.5, the website works fine in Visual Studio but when I try to deploy on IIS get the following error.

Module IIS Web Core
Notification

6条回答
  •  长发绾君心
    2021-01-05 16:13

    Where your handlers are defined in the web.config, add a before the first item in the list, if there is not one there already. Also make sure that the application pool running the web site is running the version of .Net that you are targeting in your code.

提交回复
热议问题