Using both FORMs and WINDOWs authentication in one WebApplication
Hi.
I have a webapplication on my server machine. It has 2 subfolders in it, FolderA and FolderB.
I have a web.config file in the root of that webapplication, as follows
serverRootFolder\WebApplication1\web.config
serverRootFolder\WebApplication1
Everything worked fine until I changed the web.config file to set FORMS authentication to the FolderB (using location="FolderB" in web.config file).
When I did that, I got a machine to application root folder exception.
I tried to solve this situation by moving my web.config file from the root folder of the webapplication to its parent. That is , now my web.config file and the root are in the folder one level above, as follows.
serverRootFolder\web.config
serverRootFolder\WebApplication1
serverRootFolder\WebApplication1\FolderA
serverRootFolder\WebApplication1\FolderB
Now everything is working fine.
Recently Iwanted to set WINDOWS authentication to FolderA (by changing some server machine settings AND without changing anything in the web.config file)
Now my WINDOWS authentication is NOT working correctly, i.e., even if an incorrect password is given, I'm able to login.
Any help is greatly appreciated.
Thanks,
Srivalli.