An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
解决方法有两个:
一个是在线程池中将其改成classic(经典模式);
还有一种方法是在配置文件中添加一段:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>