HTTP Error 500.19

Topics: Developer Forum, Project Management Forum
Mar 18, 2008 at 8:23 PM

Starting to use MWPSK for the first time now I run into an error on my Vista machine with which I am not familiar
with on how to correct it. What is the case: I run the project in my newly installed Visual Web Developer 2008 Express
and changed the setting to IIS 7.0 on my Vista machine as described in the MWPSK_Introduction. So far so good!

Once I entered http://localhost and hit enter, I got the following long message in IE (see below):

Question: What setting is missing and/or not working correctly in my webconfig file ?

Server Error


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

Error Code: 0x80070005

Notification: BeginRequest

Module: IIS Web Core

Requested URL: http://localhost:80/

Physical Path: C:\Users\PeterNL\Documents\My Downloads\MyWebPagesStarterKit1.2.0Beta\MyWebPagesStarterKit_1.2.0 Beta

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: Not yet determined

Config Error: Cannot read configuration file

Config File: \\?\C:\Users\PeterNL\Documents\My Downloads\MyWebPagesStarterKit1.2.0Beta\MyWebPagesStarterKit_1.2.0 Beta\web.config

Config Source: -1:

More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

Server Version Information: Internet Information Services 7.0. 500.19 - Configuration data is invalid.

Mar 19, 2008 at 1:07 PM
Hi Peter

I guess this is not a particular issue of MWPSK. Have you tried to run a "normal" aspx page (some "hello world" page should do it) on the same machine?

Mar 19, 2008 at 2:00 PM
Hi Matthias,

You're putting up a nice learning curve ! As I thought the intention here was to understand the insights of ASP.NET and IIS better, you suddenly seem
to be making a distinction with MWPSK. What a progress. Grrr...

Mar 21, 2008 at 8:23 PM
For those that run into similiar problems when running MWPSK on their local Vista development machine (AND using IIS7) here are some
useful links that might help you out (it did help me out):

Good luck and hope this helps a little,