Hi All,

I need to use different login forms for different folders with forms authentication. So i am using different web.config for each folder. Now if i write authentication tag in any sub folder's web.config it shows this 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 need it urgent, can u help.

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.