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

  • SEARCH
  • Home
  • 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 7813439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:51:50+00:00 2026-06-02T04:51:50+00:00

login CreateUserUrl=~/user/page.aspx goes to x.com/user/page.aspx instead of x.com/dir/user/page.aspx So I have this format for

  • 0

login CreateUserUrl=”~/user/page.aspx” goes to x.com/user/page.aspx instead of x.com/dir/user/page.aspx

So I have this format for my asp:login tag:

    <asp:Login ID="loginMain" runat="server" OnAuthenticate="OnAuthenticate" 
            CreateUserText="Request Account"
            CreateUserUrl="/user/RequestAccount.aspx"
            PasswordRecoveryText = "Forgot Password"
            PasswordRecoveryUrl = "/user/ForgotPassword.aspx"
            UserNameLabelText="Username:"/>

This works in my localhost IIS7. But on my server IIS6, the site is in a specific directory (it’s not a folder, just a setting in IIS), like this: domain.com/virtualdir/login.aspx

So when I am at that page, I click Request account, it goes to domain.com/user/RequestAccount.aspx which gives 404.

I want it to go to domain.com/virtualdir/user/RequestAccount.aspx

Why does IIS make the links incorrectly and not notice that I am in /virtualdir/ ?

How do I fix this?

EDIT:
It seems I totally forgot I had a Login.skin file, which is adding the link in manually, which cannot be altered. Let me do some testing.

  • 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-02T04:51:51+00:00Added an answer on June 2, 2026 at 4:51 am

    I decided to stop using “asp:login” and just building my own custom login form. Solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Login page url: https://www.xyz.com/BankAwayRetail/(S(e0x2et4504nzrn45z31vqy45))/RetailSignOn.aspx?RequestId=32421307 Page once logged in: https://www.xyz.com/BankAwayRetail/(S(e0x2et4504nzrn45z31vqy45))/main.aspx?RequestId=63780285 Check above link for reference
Here is the login page: http://www.ifreewind.net/iFreeWind.aspx I need content of this page which need
I have a simple login page and the URL structure is like www.mydomain.com/admin/auth I
In LogIn method I have: FormsAuthentication.SetAuthCookie(model.User, false); and to get name of this user
I had a login page. once user successfuly logged in, they can view and
I have a login page (an activity in Android), during which I run an
I have a login on the left sidebar of my website. When a user
A login page on our asp.net website uses https – while almost all of
I have a teacher login page below where the teacher enters in their username
I'm creating a login page for users, and I have a UITextField for users

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.