安装部署完office web apps 后,没法浏览Word

安装部署完office web apps 后,在sharepoint 2010浏览器中浏览Word提示:因为出现意外错误,Word Web App 没法打开此 文档 进行查看。 要查看此 文档,请在Microsoft Word 中打开它。web

 

特殊状况:只有当sharepoint2010安装在域控制器上才会出在线查看word文件出错.windows

  第一步:须要从开始菜单进入 SharePoint 2010 Management Shell 在命令窗口执行以下命令:浏览器

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

  $e.WordServerIsSandboxed= $false网站

  $e.WordServerIsSandboxedspa

  $p= Get-SPServiceApplication | where {$_.TypeName.Equals("PowerPoint ServiceApplication")}excel

  $p.EnableSandboxedViewing= $falseip

  $p.EnableSandboxedEditing= $false文档

  $p.EnableSandboxedViewing部署

  $p.EnableSandboxedEditing

  #(Pleaseuse the below script for PowerPointServiceApplication –You need to enter "Y" for the answer of each cmd)

  Get-SPPowerPointServiceApplication| Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false

  Get-SPPowerPointServiceApplication| Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false

  或者新建一个记事本文件,将以上内容拷贝,保存后更改文件后缀为 .ps1 例如 temp.ps1

  而后从开始菜单进入 SharePoint 2010 Management Shell 在命令窗口输入e:\temp.ps1

  第二步:用记事本打开 c:\windows\system32\inetsrv\config\applicationHost.config 文件

  在</dynamicTypes>的前面加入<add mimeType="application/zip"enabled="false" />,保存。

 

  注意事项:

  1.在管理中心网站上的“应用程序管理”部分,单击“管理服务应用程序”右侧能够看到类型名

  例如英文版的类型名是 "Word Viewing Service Application" 中文版是

  "WordViewing Service 应用程序" 请对照修改命令。

  2.若是要使系统支持powerpoint 对于全部提问请回答 Y 是

  3.之前上传的word文件须要从新上传,才能使用

  4.office web apps 不支持 excel97-2003 格式文件在线浏览编辑

相关文章
相关标签/搜索