ASPNET_REGIIS.EXE -ir不能在Windows 8工作 [英] aspnet_regiis.exe -ir does not work on windows 8

查看:1005
本文介绍了ASPNET_REGIIS.EXE -ir不能在Windows 8工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个ASP.NET MVC3应用程序部署到我的Windows 8 IIS8框。当我尝试路由到现场我收到以下错误:

I am trying to deploy an ASP.NET MVC3 app to my Windows 8 box with IIS8. When I try to route to the site I get the following error:

pretty太多的一切,我可以找到关于这个问题说来运行:

Pretty much everything I can find on this issue says to run:

aspnet_regiis.exe -ir

当我在我的Windows 8设备上运行,我得到了以下信息:

When I run this on my Windows 8 box, I get the following message:

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已经安装在我的系统上。

ASP.NET 4.5 is already installed on my system.

我的应用程序正常运行在Visual Studio中,但我不能部署到救我的命。在我在哪里从这里走的亏损已经完全。我已经尝试了这个网站集成和经典管道模式以及

My application runs correctly in Visual Studio, but I can not deploy it to save my life. I am completely at a loss on where to go from here. I have tried both integrated and classic pipeline modes for this site as well.

推荐答案

我有同样的问题。到目前为止,我只找到这个论坛主题其中的答案之一规定,通过网络平台安装程序安装解决的问题,虽然这并不为我工作。因为它已经安装了IIS 4.5 ASP.NET功能被禁用。

I'm having the same problem. So far I only found this forum thread of which one of the answers states that installing via Web Platform Installer solved the problem, though this doesn't work for me. The IIS ASP.NET 4.5 feature is disabled as it is already installed.

更新:
我得到了它的最后工作。

UPDATE: I got it to work finally.

这这太问题按照说明启用IIS WCF服务:
<一href=\"http://stackoverflow.com/questions/11116134/wcf-on-iis8-svc-handler-mapping-doesnt-work?rq=1\">WCF在IIS8; * .SVC处理程序映射不起作用

Follow the instructions from this SO question to enable the wcf service in IIS: WCF on IIS8; *.svc handler mapping doesn't work

下面也了解如何得到处理的一些信息安装映射

这篇关于ASPNET_REGIIS.EXE -ir不能在Windows 8工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆