Monday, July 25, 2011

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

In this post we will discuss how to resolve error: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid which come in SharePoint 2010.

Also you can check my previous posts on:

- Query Search with SharePoint 2013 Client Object Model

- Image Renditions in SharePoint 2013

- Backup and Restore Site Collections in SharePoint 2010 using PowerShell

I got the below error while opening the Central Administration after the SharePoint 2010 installation. Here is the error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

There are lots of reason for this, there is a chance that you web.config contains duplicate entries. Or there is a chance that your ApplicationHost.config file contains duplicate entries
<add accessType="Allow" users="*" />
Location of ApplicationHost.config file is: %windir%\System32\inetsrv\config\applicationHost.config

But What I did is: I uninstall SharePoint 2010 and Restart my machine and then Install SharePoint 2010 and that works fine for me.