In dealing with chapter 3 begin debugging the StaticHtmlPage.htm, I get have problems with the <authentication mode="Windows"/> part of my web.config file with the error "It is an error to use a section registered as allowDefintion='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
I have tried creating a virtual directory pointing to the folder, removing anonymous access under authentication methods in the virtual directory properties, changing the ASP.NET version from 1.1 to 2.0 in the virtual directory properties and resetting each time so only one change is made at a time.
I'm using Visual Studio 2005 in XP Pro but I get the same error in Visual Web Developer 2005 in Win2K.
Any ideas would be appreciated.
|