About Web.config

From: Wang Jie (midnightfrank_at_THIS_SHOULD_BE_HOTMAIL_DOT_COM.NoSpam)
Date: 08/26/04


Date: Thu, 26 Aug 2004 05:35:09 -0700

Hi.

I have a web app that uses Forms auth in root Web.config, users must login
to access asp.net resources. Now, I want one of the sub directory can be
accessed anonymously. I found that if I just put a web.config which sets
<authentication mode="None" /> in that sub dir will cause a Configuration
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.), but I have no idea how to deal with it.

Anybody can help me out?

Thanks!