HTTP Error 500.19 – Internal Server Error after installing Office Web Application


Recently i installed Office Web apps and once i completed the configuration , i noticed that i was getting error on all the site collections on the farm:

It appered that Office web Apps installation messed up the web.config files and problem was resolved by manually removing the following duplicate enteries from the web.config files:

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