IIS 中缺少 UrlRoutingModule
我正在设置一台新服务器,但 IIS 中缺少“UrlRoutingModule-4.0”模块。我在安装 IIS 之前安装了 MVC3 更新。意识到我的错误,我卸载了 MVC3,并安装了 IIS 7 和所有“应用程序开发”角色:ASP.NET、.NET 扩展性、ASP 等...
现在,当我安装 MVC3 (AspNetMVC3ToolsUpdateSetup) 时,我检查 IIS ,“UrlRoutingModule-4.0”模块不存在。显然我的 MVC3 应用程序无法工作。每当我尝试请求控制器时,我都会收到 404。
难道是我在IIS登陆之前安装了MVC3搞砸了?我该如何修复这个盒子?
I am setting up a new server, and the "UrlRoutingModule-4.0" module is missing form IIS. I installed the MVC3 Update before installing IIS. Realizing my mistake, I uninstalled MVC3, and installed IIS 7 with all of the "Application Development" roles: ASP.NET, .NET Extensibility, ASP, etc...
Now, when I install MVC3 (AspNetMVC3ToolsUpdateSetup), and I check IIS, the "UrlRoutingModule-4.0" module is not present. Obviously my MVC3 application does not work. I just get 404s whenever I try to request a controller.
Did I mess up by installing MVC3 before IIS was landed? How can I fix this box?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试运行以下命令来查看是否可以解决问题:
应该使用 IIS 重新安装 .NET 4,以防您以错误的顺序安装它们。
Try running the following command to see if it fixes the problem:
That should re-install .NET 4 with IIS, in case you installed them in the wrong order.