500.21 Bad module “ManagedPipelineHandler” in its module list

后端 未结 12 2128
遥遥无期
遥遥无期 2021-01-30 02:40

I am getting the error:

HTTP Error 500.21 - Internal Server Error Handler \"CloudConnectHandler\" has a bad module \"ManagedPipelineHandler\" in its module list

12条回答
  •  感动是毒
    2021-01-30 03:18

    I had this problem every time I deployed a new website or updated an existing one using MSDeploy.

    I was able to fix this by unloading the app domain using MSDeploy with the following syntax:

    msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp="Default Web Site/myAppName",recycleMode=UnloadAppDomain
    

    You can also stop, start, or recycle the application pool - more details here: http://technet.microsoft.com/en-us/library/ee522997%28v=ws.10%29.aspx

    While Armaan's solution helped get me unstuck, it did not make the problem go away permanently.

提交回复
热议问题