Click here to Skip to main content
15,922,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my Web Application, i need to implement two authentications,based on requreted url, if the user requests http:/App/Admin/login.aspx it has to take forms authentication and if the user
 requests http:/App/User/default.aspx it has to take windows authentication.

For that i have taken two separate folders for admin and user, but i could not call the separate authentication for both using their folder specific web.config files,it showing some  errors.

How could i achieve this functionality, can you show some examples if any?.


1 solution

Share this answer
V G S Naidu A 2-Sep-14 0:55am    
I have tried this , but showing some errors like 500.19 errors.. Config Error:" This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"." even though i write allowOverride="true

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900