青松阳光

关注.NET平台及SharePoint产品
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1.       原因:

 

相关的服务应用程序和DC安装在了同一台服务器上,此服务应用程序包括:

 

A.      Word Viewing Service 应用程序

B.      PowerPoint Service 应用程序

 

 

2.       解决方法:

 

PowerShell窗口中运行以下命令:

 

#Enable Word Web App:

 

$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service 应用程序")}

$e.WordServerIsSandboxed = $false

 

#Enable PowerPoint Web App – you need to answer “Y” for each command:

 

Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false

Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false

 

IISRESET /NOFORCE

 

3.       结果

 

 After following above steps viewing and editing of PowerPoint files worked without any issue. But for word files editing worked but viewing encountered the same issue,

Wonder what’s wrong with the issue and came no solutions.. But after I edit the uploaded word file and saved and viewed on browser everything worked fine there after.

 

It’s recommended not to follow these steps on production environment and should not install Office Web Apps on a DC

 

更新,大家也可以查看这里: