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 9258849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:30:40+00:00 2026-06-18T12:30:40+00:00

My Code : <authentication mode=Forms> <forms loginUrl=~/CRMLogin/LogOn timeout=2880/> </authentication> I want this : http://localhost:13664/CRMLogin/LogOn?ReturnUrl=%2fCRM%2fAddNewCRM

  • 0

My Code :
<authentication mode="Forms">
<forms loginUrl="~/CRMLogin/LogOn" timeout="2880"/>
</authentication>

I want this :
http://localhost:13664/CRMLogin/LogOn?ReturnUrl=%2fCRM%2fAddNewCRM

But I am getting this:
http://localhost:12340/Account/Login?ReturnUrl=%2fCRM%2fAddNewCRM

I have written in code loginUrl=”~/CRMLogin/LogOn” but also why I am getting this Account/Login. I don’t know. I tried same in another project but it works fine there. Please help me.

  • 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-18T12:30:41+00:00Added an answer on June 18, 2026 at 12:30 pm

    Try adding the following key in your <appSettings>:

    <appSettings>
        <add key="loginUrl" value="~/CRMLogin/LogOn" />
        ...
    </appSettings>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my web.config I have this: <system.web> <authentication mode=Forms> <forms loginUrl=Login.aspx protection=All path=/ timeout=30/>
In my web.config file i have the following code: <system.web> <authentication mode=Forms> <forms loginUrl=/Account/Login
Having a code-blind moment. ASP.NET 4.0. Web.config: <?xml version=1.0?> <configuration> <system.web> <authentication mode=Forms> <forms
Here is a snippet from my web.config file: <system.web> <sessionState timeout=1440></sessionState> <authentication mode=Forms> <forms
In web.config there is a parameter: <authentication mode=Forms> <forms timeout=50/> </authentication> I can find
I have this section in the Web.config for my MVC3 application: <authentication mode=Forms> <forms
I was looking at an authentication system which had this code: # prevents a
I'm working on a web application that is using Forms authentication. <authentication mode=Forms> <forms
I am devloping a sharepoint website in Forms authentication mode. I am trying to
I want to claculate the MAC(Message Authentication Code) CBC chiper(Ansi x9.9), i found a

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.