Feb 13, 2013

Office Web Apps problems with 100% CPU

I had a problem trying to use Office Web Apps with SharePoint 2010 on a virtual machine demo.  On a simple Word document, the AppServerHost.exe service would jump to 100% and render the system unusable.

The problem is that Office Web Apps was not designed to be installed on a system that is also a domain controller (the case with my all-in-one virtual machine).


http://blogs.msdn.com/b/scicoria/archive/2011/04/14/getting-office-web-apps-to-run-on-a-domain-controller-appserverhost-exe.aspx

http://blogs.msdn.com/b/opal/archive/2010/04/25/faq-sharepoint-2010-rtm-installation.aspx

Here are the steps to fix the configuration:

Open SharePoint 2010 Management Shell, then run:

#Enable Word Web App (you can search by TypeName - language dependent or DisplayName - as it appears in SharePoint Central Administration)

$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}
$e.WordServerIsSandboxed = $false
$e.WordServerIsSandboxed

#Enable PowerPoint Web App - you need to answer "Y" for each command:
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false

Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false

On the server, use Notepad to open c:\windows\system32\inetsrv\config\applicationHost.config.  Add the line below at the end of the dynamicTypes section.
<add mimeType="application/zip" enabled="false" />

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. These are the best steps to fix the configuration. Many developers who work in a web app development company did not know these processes, so this post is very informative for these developers.

    ReplyDelete
  3. On a simple Word document, the AppServerHost.exe service would jump to 100% and render the system unusable.web design tips

    ReplyDelete
  4. Each word written has captivated its audience in the most unique way.
    wordpress website

    ReplyDelete
  5. Many phone noting and mail administrations have the lamentable notoriety of employing incompetent laborers who need involvement in giving their customers proficient client benefit. http://virtually-there.net/

    ReplyDelete