After you install the Office Web Apps, you cannot browse word

Source: Internet
Author: User

After the installation of Office Web Apps is deployed, browse word in the SharePoint 2010 Browser prompt:" Word Web App cannot open this document for viewing due to an unexpected error." To view this document, open it in Microsoft Word. "

Special case: An error occurs when sharepoint2010 is installed on a domain controller to view Word files online.

First step: You need to enter the SharePoint Management shell from the Start menu to execute the following command in the command window:

$e = Get-spserviceapplication | where {$_. Typename.equals ("Word viewingservice Application")}

$e. wordserverissandboxed= $false

$e. wordserverissandboxed

$p = Get-spserviceapplication | where {$_. Typename.equals ("PowerPoint serviceapplication")}

$p. enablesandboxedviewing= $false

$p. enablesandboxedediting= $false

$p. enablesandboxedviewing

$p. enablesandboxedediting

# (Pleaseuse the below script for powerpointserviceapplication–you need-enter "Y" for the answer of each cmd)

get-sppowerpointserviceapplication| Set-sppowerpointserviceapplication-enablesandboxedviewing $false

get-sppowerpointserviceapplication| Set-sppowerpointserviceapplication-enablesandboxedediting $false

Or create a new Notepad file, copy the above content, save and change the file suffix to. ps1 such as Temp.ps1

Then enter the SharePoint Management shell from the Start menu in the Command window to enter E:\TEMP.PS1

Step Two: Open the C:\windows\system32\inetsrv\config\applicationHost.config file with Notepad

Add <add mimetype= "Application/zip" enabled= "false"/> in front of </dynamicTypes>, save.

Precautions:

1. On the Central Administration Web site, in the Application Management section, click Manage Service applications to see the type name

For example, the English version of the type name is "Word viewing Service Application" Chinese version is

"Wordviewing Service Application", please control the change command.

2. If you want to make the system support PowerPoint for all questions please answer Y Yes

3. Previously uploaded Word files need to be re-uploaded to use

4.office Web Apps does not support excel97-2003 format files online browsing and editing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.