当我运行WCF服务时,我得到的MIME不是注册错误。我使用这个link来解决这个问题。之后,我开始收到另一个错误,要求我向IIS注册ASP.NET框架。为此,我使用了"aspnet_regiis"命令,但它显示了以下错误。
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).
This option is not supported on this version of the operating system. Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog, the Server Manager management tool, or the dism.e
xe command line tool. For more details please see http://go.microsoft.com/fwlin
k/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929).
我试图从服务器上安装/卸载ASP.Net 4.5。但这样做后,我的服务器没有再次启动,它总是显示黑色的屏幕。所以我必须再次安装WS 2012。有人能解释一下如何在WS 2012上再次向IIS注册ASP.NET吗?
发布于 2016-12-09 23:19:37
我以前在安装了GUI的Server安装上尝试过一次。就像最初的海报看到的一样,我被扔进了一个黑色的屏幕。不确定他是否看到了同样的事情,但您可以通过重新安装GUI来恢复,而不是启动干净的安装。在2012年,卸载.NET 4.5作为最后的手段,如果您完全删除所有的.net,不要惊讶地看到命令提示重新启动。有关GUI重新安装的帮助,请参阅:https://www.linkedin.com/pulse/20140618170857-12975178-procedure-to-recover-gui-in-windows-2012-and-2012r2-net-framework-feature-dependency-in-windows-2012-2012-r2
https://stackoverflow.com/questions/14495429
复制相似问题