我有一个问题与在IIS 10中注册asp有关。 我的环境是安装了Windows 10,IIS 10,VS 2013和VS 2015,.NET 3.5是Windows中的一项功能功能。 我想在iis中使用nettcpbinding,因此,我安装了WCF HTTP激活和WCF非HTTP激活。之后,我需要在IIS中重新注册asp。我在命令下运行
I have one issue which is related with registering asp in IIS 10. My environment is Windows 10, IIS 10, VS 2013 and VS 2015 installed, .NET 3.5 is a feature in Windows Features. I want to use nettcpbinding in iis, so, I installed WCF HTTP activation and WCF Non-HTTP Activation. After it, I will need to re-register asp in IIS. I run below command
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i我得到了以下结果,是否在IIS中正确注册了asp? 任何帮助将不胜感激。
And I got below result, is asp registered correctly in IIS? Any help would be appreciated.
Microsoft(R)ASP.NET RegIIS版本4.0.30319.0管理要安装的实用程序并在本地计算机上卸载ASP.NET。 版权所有(C)Microsoft Corporation。版权所有。启动安装ASP.NET(4.0.30319.0)。此版本的操作系统不支持此选项。管理员应使用打开/关闭Windows 功能对话框,服务器管理器管理工具或 dism.exe命令行工具,使用IIS8安装/卸载带有IIS8的ASP.NET 4.5 。有关详细信息,请参阅 go.microsoft/fwlink/?链路ID = 216771 。完成安装 ASP.NET(4.0.30319.0)。
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 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.0). 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 go.microsoft/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.0).
推荐答案
为此问题,我通过下面的命令解决了在IIS中安装asp的问题。
For this issue, I resolved by below command to install asp in IIS.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>dism /online /enable-feature /featurename:IIS-ASPNET45更多推荐
在IIS 10中注册asp.net
发布评论