我正在尝试使用 IIS8 将 ASP.NET MVC3 应用程序部署到我的 Windows 8 机器上。当我尝试路由到该站点时,出现以下错误:
我在这个问题上能找到的几乎所有东西都说要运行:
aspnet_regiis.exe -ir
当我在我的 Windows 8 机器上运行它时,我收到以下消息:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\Justin>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe
-ir
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929) without changing existing web
applications to use this version of ASP.Net. This option is not supported on
this version of the operating system. Administrators should instead install /
uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog,
the Server Manager management tool, or the dism.exe command line tool. For more
details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929) without changing existing web
applications to use this version of ASP.Net.
我的系统上已经安装了 ASP.NET 4.5。
我的应用程序在 Visual Studio 中正常运行,但我无法部署它来挽救我的生命。我完全不知道从这里去哪里。我也为此站点尝试了集成和经典管道模式。