Jus*_*Y17 44 asp.net-mvc-4 iis-8
我正在尝试使用IIS8将ASP.NET MVC3应用程序部署到我的Windows 8机器上.当我尝试路由到该网站时,我收到以下错误:

几乎我能在这个问题上找到的所有东西都说:
aspnet_regiis.exe -ir
Run Code Online (Sandbox Code Playgroud)
当我在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.
Run Code Online (Sandbox Code Playgroud)
ASP.NET 4.5已经安装在我的系统上.

我的应用程序在Visual Studio中正确运行,但我无法部署它以挽救我的生命.我完全不知道从哪里开始.我也尝试过这个站点的集成和经典管道模式.
Had*_*ari 40
运行以下命令,该命令将在IIS中安装并注册ASP.NET 4.5:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all
Run Code Online (Sandbox Code Playgroud)
小智 22
我遇到了同样的问题.到目前为止,我只找到了这个论坛帖子,其中一个答案表明通过Web Platform Installer安装解决了这个问题,尽管这对我不起作用.IIS ASP.NET 4.5功能已禁用,因为它已安装.
更新: 我终于开始工作了.
按照此SO问题中的说明启用IIS中的wcf服务: IIS8上的WCF;*.svc处理程序映射不起作用
以下是有关如何安装处理程序映射的一些信息
| 归档时间: |
|
| 查看次数: |
68802 次 |
| 最近记录: |