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" />

11 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
  6. A very stylistic way of writing, creating effects especially in language and literature.
    software development company in delhi

    ReplyDelete
  7. This is really great work. Thank you for sharing such a good and useful information here in the blog for students.  Learn more

    ReplyDelete
  8. I am hoping the same best effort from you in the future as well. In fact your creative writing skills has inspired me. maggiori informazioni

    ReplyDelete
  9. Many homework on the continual hunt along with offstage on the road to winning. Definitely not attached, simple to-fall as a result of wayside; And not investigation, afterward into a path travel toward the black. Klick für mehr

    ReplyDelete
  10. Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. allertaprivacy.it

    ReplyDelete
  11. Within this webpage, you'll see the page, you need to understand this data.
    mason soiza

    ReplyDelete