Ok so I am taking an ASP.NET class at school. The first thing I did was install IIS on my laptop. I'm running Windows Vista Home Premium. After I installed IIS I installed MS Visual Studio Pro 2008. Then I installed the files for the textbook from murach.com I used all the default directories for the files I downloaded.
In my assignment, it instructs me to go to the IIS manager, to the default site node and create an application called Ch01Cart. I followed all the instructions, but it isn't working. I keep getting the following screen when I try to open the application in my browser. I type http://localhost/Ch01Cart/Order.aspx in the browser bar and the following page appears.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the realted configuration data for the page is invalid.
Module IIS Web Core
handler Not yet determined
Error code 0x80070021
Config error This configuration cannot be used at this path.
This happens when the section is locked at a parent level. Locking
is either by default (overrideModeDefault="Deny"), or set explicitly
by a location tag with overrideMode="deny" or the legacy allowOverride="false".
Confige File \\?\C:ASP.NET 3.5 VB\Ch01Cart\web.config
Requested URL http://localhost:80/...Cart/Order.aspx
Physical Path C:\ASP.NET 3.5 VB\Ch01Cart\Order.aspx
Logon Method Not yet determined
Logon User Not yet determined
When i test the original settings I get the following messages:
Authentication Pass-through authentications(DefaultAppPol:NetworkService)
Authorization Cannot verify access to path (C:\ASP.NET 3.5 VB\Ch01Cart).
Any help would be greatly appreciated.
Edited by ljett, 16 February 2010 - 08:43 AM.