首页 > 技术文章 > 解决mvc部署在IIS上以后出现404错误

lummon 2014-03-12 23:42 原文

首先:aspnet_regiis -i

如果还不行,更改web.config文件,添加红色的部分


 <system.webServer>

<modules runAllManagedModulesForAllRequests="true">
...
</modules>
</system.webServer>


 

应该可以了

 

推荐阅读