Elczar Adame's Shared Points on SharePoint


 

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.

 

Invalid Configuration Data

 

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:

 

Authentication

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.

 

Access

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: