在IIS 10中注册asp.net [英] Register asp.net in IIS 10

查看:431
本文介绍了在IIS 10中注册asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题与在IIS 10中注册asp.net有关。

我的环境是安装了Windows 10,IIS 10,VS 2013和VS 2015,.NET 3.5是Windows中的一项功能功能。

我想在iis中使用nettcpbinding,因此,我安装了WCF HTTP激活和WCF非HTTP激活。之后,我需要在IIS中重新注册asp.net。我在命令下运行

I have one issue which is related with registering asp.net 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.net in IIS. I run below command

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i

我得到了以下结果,是否在IIS中正确注册了asp.net?

任何帮助将不胜感激。

And I got below result, is asp.net 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
。有关详细信息,请参阅
http://go.microsoft.com/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 http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.0).


推荐答案

为此问题,我通过下面的命令解决了在IIS中安装asp.net的问题。

For this issue, I resolved by below command to install asp.net in IIS.

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>dism /online /enable-feature /featurename:IIS-ASPNET45

这篇关于在IIS 10中注册asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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