You need to make that subdirectory an AppRoot for that second web.config to
work. That is why you get the "virtual directory not being configured as an
application" error.

Signature
MARK RICHMAN
> Hi,
> Please help me. I would like to know how to add more than one web.config
[quoted text clipped - 52 lines]
> With Thanks
> Aditya Ch S
ADITYA CHS - 29 Jun 2005 13:50 GMT
I didnt understand the thing AppRoot.I am a new bee in .NET and in learing
stage.Any way by searching in web I got a solution which solved my probelm.
The solution is :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<allow users="Satya"/>
<deny users="*" />
</authorization>
</system.web>
</configuration>
The thing is we should remove every thing from inner Web.Config except the
above code.What I did is using VS IDE i added a web.config file ,in which
there will be built in code given by IDE ,i simply edited the code and added
my code.Which is the reason for error.Now after removing all unnesasary code
I got the solution.
> You need to make that subdirectory an AppRoot for that second web.config to
> work. That is why you get the "virtual directory not being configured as an
> application" error.