SP 2010: 500–Internal Server Error after installing Office Web Apps

Customer installed Office Web Apps, runs PSCONFIG and then sees the dreaded 500-Internal Server Error when browsing to site collections in their farm.


From past experience, I knew this must be a problem with the web.config and that it must have to do with installing Office Web Apps because everything was working fine just before doing so. And it was affecting all web applications on the farm. I did the basics, reset IIS, clear the config cache but none of that worked, although I hoped it would. After scouring the internet, asking colleagues, I was so happy to find this blog post that fixed the problem: http://amritatalreja.wordpress.com/2011/07/27/http-error-500-19-internal-server-error-after-installing-office-web-application/

  1. Open web.config file for one of your web applications
  2. do a search for <staticContent> and if you find this block below, you’ll notice that there are two <staticContent> tags. You will need to manually remove the block highlighted. REMEMBER: Backup the web.config file first!!!

    <mimeMap fileExtension=".atomsvc" mimeType="application/atomsvc+xml" />
    <remove fileExtension=".svg" />
    <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />

    <staticContent />


Fight Comparison
GSP vs BJ Penn I….after getting his butt kicked in the first round, GSP listened to his coach, modified his game, like I modified the web.config file per my online coach Amrita, and won by split decision. A win is a win.

Comments (0)