ASP.NET 4.5 MVC 4 无法运行在Windows2008的IIS7.0上显示404的解决方案
需要在web.config下加上这个
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
如果已存在这个节点,则只要把<modules runAllManagedModulesForAllRequests="true"/>加到里面即可
该方法已验证