运行 WCF 服务时出现 MIME 未注册错误。我使用此链接来解决此问题。之后,我开始收到另一个错误,要求我向 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 吗?