IIS7发布asp.net mvc提示404

以前服务器用的都是2003Server的服务器,发布mvc项目都没问题,今天换了一台机器,系统为Windows Server2008 R2  64位的发布mvc项目后就提示:html

百度看到好多人说在web.config文件中添加modules runAllManagedModulesForAllRequests="true"配置项就能解决问题。web

1
2
3
< system.webServer >
     < modules  runAllManagedModulesForAllRequests="true"/>
</ system.webServer >

 至少我添加了没能解决问题,后面涨转google中寻找答案,发现既然是个人Windows Server2008 R2 系统的问题。服务器

经过打了补丁以后问题解决。mvc

官方补丁地址:http://support.microsoft.com/kb/980368   须要经过邮箱下载。google

或者:http://files.cnblogs.com/liluping860122/407288_intl_x64_zip.rar  直接点击下载。spa

相关文章
相关标签/搜索