SharePoint:部署Office Online Server失败的异常排查

我的博客地址:https://blog.51cto.com/13637423

昨天群里有人咨询:为什么在Windows Server 2016上部署Office Online Server失败,提示墨迹和手写服务没有安装,然而Windows Server 2016 Server Manager里没有类似的Service,难道是不支持么?
SharePoint:部署Office Online Server失败的异常排查

这里,跟大家解释一下Office Online Server 是支持在Windows Server 2012 R2和Windows Server 2016 两个版本的系统部署的,但部署时需要系统安装的feature不同:

Windows Server 2012 R2

需要使用Powershell部署和安装如下feature,可以看到的是需要安装InkandHandwritingServices

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

Windows Server 2016

需要使用Powershell部署和安装如下feature,可以看到的是在Windows Server 2016不需要部署InkandHandwritingServices(墨迹和手写服务)

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

如果Windows Server 2016 系统部署Office Web Online Server不需要InkandHandwritingServices(墨迹和手写服务),那为什么在部署时提示系统未安装该服务呢?

我们在官网:https://docs.microsoft.com/en-us/officeonlineserver/deploy-office-online-server 查看下按照过程和要求,可以看到如果部署在Windows Server 2016上,对Office Online Server的版本是有要求的,必须是2017年4月之后的版本,如下所示:

SharePoint:部署Office Online Server失败的异常排查

我们在官网:https://docs.microsoft.com/en-us/officeonlineserver/office-online-server-release-schedule ,查看下Office Online Server的Release Schedule和对应的版本。
SharePoint:部署Office Online Server失败的异常排查

简而言之,若想在Windows Server 2016平台上部署Office Online Server,必须保证版本是16.0.7766.8550 之后的Package

最后小伙伴跟客户确认确实是Office Online Server的版本号过低,导致check 墨迹和手写服务。

仅此文做记录,希望后续大家部署时,可避免该问题发生。

猜你喜欢

转载自blog.51cto.com/13637423/2411397