MVC4发布到IIS7报404错误 在MVC根目录的web.config中添加 <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer>