在SharePoint 2013中配置Office Web Apps 2013遇到的问题

在安装并配置完SharePoint 2013和Office Web Apps 2013服务时,遇到上传Word或Excel文件出现错误的原因,具体错误如下:

Word文档:“很抱歉,出现问题,无法打开此文档。如果此情况持续发生,请尝试在Microsoft Word中打开文档。”

Excel文档:“无法找到您想要的文件。很可能已重命名、移动或删除该文件。”

后来发现,如果是在HTTP环境下访问,除了要在配置Office Web Apps 2013时添加-AllowHttp,还需要在SharePoint 2013中设置AllowOAuthOverHttp属性。

以管理员身份运行“SharePoint 2013 命令行管理程序”,键入以下内容:

$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()

然后...然后就OK啦!@

原文地址:https://www.cnblogs.com/o2ds/p/3037032.html