IIS部署时failed to execute url 解决方法

web.config中增加如下节点:

<system.webServer>

<validation validateIntegratedModeConfiguration="false" />

</system.webServer>

应用程序池托管管道模式改为集成模式。