Listing 18-11 <location path='AdminPage.aspx'>
When I try listing 18-11 I get the error
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
I can only get rid of the error by changing
but then the application doesn't try and authenticate when I jump from a non-secure page to AdminPage.aspx.
I create a virtual directory using IIS Admin called Website14 and pointing to the Website14 folder. I suspect this isn't the real problem, though.
Anyone else get this problem or have a solution?