iis8不支持 aspnet_regiis.exe -iru 命令的解决办法

服务器版的限制,我看你给的提示说也可以使用 dism.exe 命令行。

C:> DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation
C:> DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation45

另外,在 http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45#TOC301268619 此页面的第 6 步中的界面中,找到“.NET Framework 4.5 Advanced Services” 节点,把它下面的“ASP.NET 4.5”和“HTTP Activation” 选中。

原文地址:https://www.cnblogs.com/wangjingblogs/p/4275736.html