I have a main directory with many aspx pages created in
VB.net.
I have a sub-directory with the backend aspx pages. I want to protect these pages with forms authentication.
(I want to implement form authentication in the sub folder only)
In my subdirectory, I have just added web.config file and getting following error.
Parser Error Message: 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.