MVC4发布到IIS7报404错误

在MVC根目录的web.config中添加

<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
原文地址:https://www.cnblogs.com/jimcheng/p/4182778.html