Invalid Configuration Data in IIS 7.0: A Security Stuff
HTTP Error 500.19 – Internal Server Error. The request page cannot be accessed because the related configuration data for the page is invalid. Have you encountered this in hosting your Web application in Web Server (IIS 7.0) role of Windows Server 2008? Let us start with an illustration.
This is a security matter and not an issue! The Internet Information Services 7.0 lucidly communicated that it can’t read the configuration file of our Web application. It is because of the following:
1. We are using Anonymous Authentication access. Below is the illustration:
2. Our Web application file is located in our user’s folder – e.g. Documents > Visual Studio 2005 > Projects – where only the owner has an access. Below is the illustration.
With this, I would recommend to put our Web application files in C:\inetpub\wwwroot directory where permission is granted to USERS and/or IIS_IUSRS by default – or any directory where you can afford to grant such permission. Together with this, we could now browse our Web application hosted in IIS 7.0.
Hope to share with you something.