Click here to Skip to main content
15,919,132 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created an ASP .net web application
My application redirects all the unauthorised users to Login.aspx
But i am facing a problem with password recovery.
This page does not open unless i login in the system.
i have made changes to config file to allow access to password recovery to all users it works fine during development but doesn't work when i publish it to IIS.
my config settings are as follows
XML
<location path="~/Account/PasswordRecovery.aspx">
    <system.web>
      <authorization>
           <allow users="*"/>
      </authorization>
    </system.web>
  </location>
Posted

1 solution

Your code seems correct. However, if you want to write something on that folder through website , you have to give IIS_User permission to the folder you are accessing.
Hope this helps!
 
Share this answer
 

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