How to get rid of an HTTP 500.19 – Internal Server Error message in a SharePoint 2010 Server
To get articles like this free in your inbox, subscribe to our newsletter.
Even when I’m performing the most common and simple of tasks, sometimes I still manage to mess things up and get an error message I’ve never seen before.
This time the error occurred after I installed Office Web Apps on my SharePoint Server 2010. When the installation ended, I received a message saying I must run the SharePoint Products Wizard. So I did.
After the SharePoint configuration wizard finished running, I tried to access the site collection I had created, and was surprised to see the following error message:
“HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.”
The strange thing was that I could still access the Central Administration:
Other details on the error screen:
Config section ‘system.webServer/staticContent’ already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
I decided to check to see what was going on in my web.config file. I backed it up before making any changes.
Then, I traced the” <staticContent /> “line and erased it from the web.config.
Simple as that – the error message was gone and my sites started working again.
Hope this helps!
What you should do next…
1. Subscribe to our newsletter:
2. Learn how virtual labs can grow your business:
To learn more about how CloudShare helps software organizations grow revenue, increase efficiency and improve quality, visit our resources page. You’ll be able to browser dozens of valuable white papers, eBooks, webinars, case studies, and brochures.
3. Get a FREE, no obligation demo:
Discover just how easy it is to create your cloud environment—in minutes! One of our friendly virtual labs experts will be happy to:
- Show you the platform in action
- Calculate pricing for your business
- Set you up with a 14-day free trial
- Answer any questions you have
- No pressure or obligation