Click here to Skip to main content
15,741,581 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have the following setup, but when I access the ManageContacts.aspx (from IIS express), it does not point me to the login.aspx, did I do anything wrong ? Simple password are for illustration purpose only.

<location path="~/ManageContacts.aspx">
        <deny users="?"/>
        <allow users="admin"/>

      <authentication mode="Forms">
        <forms loginUrl="~/Account/Login">
            <user name="admin" password="123456"/>


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