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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:08:58+00:00 2026-06-12T19:08:58+00:00

This VS 2012 extension is meant to allow me to add a local Development

  • 0

This VS 2012 extension is meant to allow me to add a local Development STS to my MVC application http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1-4d81-b3d3-795cb104066e

I follow the very simple instructions e.g. Right Click the project name and select Identity and Access in the menu. Select your Identity Provider and the OK to apply the settings to your web.config.

I run my MVC 4 application and it redirects immediately to login.aspx

I’m guessing there are special instructions for MVC 4.

What are they?

Where do I find them?

EDIT

To be clear I have created a ASP.MVC 4 Internet application in visual studio 2012. Then I am using the Identity & Access Tool to add a local development STS to Test my application.

I am running the site on a local IIS Express

When I debug the application I am redirected to

localhost:11378/login.aspx?ReturnUrl=%2f

This occurs even if I remove forms authentication as suggested in advice already given.

  • 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-12T19:09:01+00:00Added an answer on June 12, 2026 at 7:09 pm

    In my case I added this

    <system.web>
    ...
    <httpModules>
    ...
        <remove name="FormsAuthentication" />
    </httpModules>
    </system.web>
    

    and this

    <system.webServer>
    ...
       <modules>
       ...
          <remove name="FormsAuthentication" />
       </modules>
    </system.webServer>
    

    EDIT

    The next problem you might get is this

    A claim of type
    ‘http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier‘
    or
    ‘http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider‘
    was not present on the provided ClaimsIdentity. To enable anti-forgery
    token support with claims-based authentication, please verify that the
    configured claims provider is providing both of these claims on the
    ClaimsIdentity instances it generates. If the configured claims
    provider instead uses a different claim type as a unique identifier,
    it can be configured by setting the static property
    AntiForgeryConfig.UniqueClaimTypeIdentifier.

    add these 2 claims to the Development STS in the Identity and Access Tool

    http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
    http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider

    and add this line to your Global.asax

    AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
    

    This article helped me

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

Sidebar

Related Questions

What I want To get this guide to work http://blog.bigpixel.ro/2012/07/building-cc-applications-with-maven/ The Error I'm running
Given a datetime string like this: 2012-06-19 03:44:39 I want to use it to
I'm trying to convert this 2012-03-27 16:01:48 CEST into 1 hour and 22 minutes
Around the web I see people posting things like this: 2012-03-12 10:26:32.495 squirrels[330:707] cocos2d:
I have a timedate string in a round-trip data pattern like this: 2012-07-05T11:30:44.1533815Z .
How to order date, like this - 2012-02-01 00:00:00 by the hour,minutes,and the seconds,
I'm working with lines of text in a csv file similar to this: 2012-03-16
PHP code: echo date(c); //out put like this 2012-06-19T20:37:44+05:30 echo date(d M, Y); //out
I have this string 2012-06-27 16:17:06 and I want to convert it to GMT
CAST(IH.InvoiceDate AS date) AS InvoiceDate this returns 2012-03-16 is it possible to format this

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.