我正在尝试将一个ASP.NET MVC3应用部署到我的Windows 8桌面上,使用的是IIS8。当我尝试路由到该网站时,我会得到以下错误:
几乎所有我能找到的关于此问题的内容都建议运行:
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中可以正常运行,但我无法成功部署它。我对接下来该怎么做完全一头雾水。我已经尝试了这个站点的集成和经典管道模式,但都没有成功。