Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8370229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:51:56+00:00 2026-06-09T13:51:56+00:00

I am using asp.net. I have a login page. I use this control in

  • 0

I am using asp.net.
I have a login page.
I use this control in the login page:

  <asp:HyperLink runat="server" ID="forgotPassword" Text="Forgot Password" 
       NavigateUrl="~/Account/PasswordRecovery.aspx" >Forgot Password</asp:HyperLink>

When I click this Link I find myself redirected back to the login page. The address in the Browser’s address bar is like this:

/Account/Login.aspx?ReturnUrl=%2fAccount%2fPasswordRecovery.aspx

It does not concern the PasswordRecovery page. any other page does not work as well, even a new fresh page with nothing on it or in the code behind.

The only page that Works is About.apsx, Which was located in the project automaticlly on creation.

I tried lookin for some kind of a spaciel permision to the about page, but I cannot find any in Web.Config.

Please help me, this stuff is really wierd and I can’t explain it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:51:58+00:00Added an answer on June 9, 2026 at 1:51 pm

    You need to allow access for this page to all users including guests. To do that, the easiest way is to create a new folder (for example “Public”) and put there this page or other pages that need the same access. In this folder add a web.config with this code:

    <configuration>
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </configuration>
    

    If you don’t want to change the page location, you can use the “location” tag:

    <configuration>
        <system.web>
          <!-- regular configuration -->
        </system.web>
        <location path="Account/PasswordRecovery.aspx">
            <system.web>
                <authorization>
                    <allow users="*"/>
                </authorization>
            </system.web>
        </location>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.NET MVC 2 and have a login page that is secured via
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
Using ASP.Net, I have a server control for which i would like to add
Using ASP.NET VB, I have a form with some text boxes and a Gridview.
Using asp.net 3.5 Gridview control, visual studio 2008. I have played with all the
I have a nested form in an asp.net page. This nested form is a
I'm using VS2010,C#,SQL Server to develop my ASP.NET web app, although this is not
I am using Asp.net Javascript and C# I have a content page, and left
I've written a simple web application using asp.net mvc3 and I have a login
sending mail along with embedded image using asp.net I have already used following but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.