[英]The role, role service, or feature name is not valid: 'InkandHandwritingServices'. The name was not found Office Online Server
I am following Official Microsoft Guide to install Office online Server and Getting below error while running the below command:我正在按照Microsoft 官方指南安装 Office 在线服务器并在运行以下命令时出现以下错误:
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices,NET-Framework-Features,NET-Framework-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation添加-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression ,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter ,Web-Includes,InkandHandwritingServices,NET-Framework-Features,NET-Framework-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media -基础
It gave me below Error:它给了我以下错误:
The role, role service, or feature name is not valid: 'InkandHandwritingServices'.角色、角色服务或功能名称无效:“InkandHandwritingServices”。 The name was not found未找到名称
Found the Issue: the problem is There are two versions of the command one is for windows server 2012 and another is for window server 2016.发现问题:问题是命令有两个版本,一个用于 windows server 2012,另一个用于 windows server 2016。
The "InkandHandwritingServices" are no longer supported in 2016 so you need to use the modified version of the command in powersell as given below: 2016 年不再支持“InkandHandwritingServices”,因此您需要使用 powersell 中命令的修改版本,如下所示:
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,NET-Framework-Features,NET-Framework-45-Features,NET-Framework-Core,NET-Framework-45-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation添加-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression ,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter ,Web-Includes,NET-Framework-Features,NET-Framework-45-Features,NET-Framework-Core,NET-Framework-45-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF -HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation
Also you can check your current version of the OS by typing:您还可以通过键入以下内容来检查当前的操作系统版本:
Open Run=> Ctrl+R打开运行=> Ctrl+R
type in run => winver输入运行 => winver
Press enter按回车
and then you can see the current version of the OS.然后您可以看到操作系统的当前版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.