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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:31:21+00:00 2026-06-13T16:31:21+00:00

When I try to access my page I only get redirected to login.aspx, which

  • 0

When I try to access my page I only get redirected to login.aspx, which is not what’s intended.

What I’m after is instead a windows login popup where I authenticate if my current logged in user is not allowed, and if it is, it goes straight to the application.

I’m running a MVC4 project on an IIS6 webserver (yeah, I know.).

I’ve disabled “Enable anonymous access” in Directory Security – Authentication and access control and checked in “Integrated Windows authentication”.

My web.config looks as follows:

<authorization>
  <allow roles="DOMAIN\Role1"/>
  <deny users="*"/>
  <deny users="?"/>
</authorization>
<compilation targetFramework="4.0" debug="true"/>
<authentication mode="Windows">
</authentication>

Any clues?

  • 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-13T16:31:22+00:00Added an answer on June 13, 2026 at 4:31 pm

    I finally figured this out, by finding this stackoverflow question:
    ASP.NET MVC3 and Windows Auth on IIS keeps redirecting to /Account/Login

    By removing the references WebMatrix.Data.dll and/or WebMatrix.WebData.dll it worked as intended.

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

Sidebar

Related Questions

I get this wired error only when I try to access the web page
When try to access site i created after 3 login attempts it gives unauthorised
The error message I gen when I try to access the web page server
I try to access session variables stored on a different page. When I have
I try to access the MainContentBlock control from the aspx, but unable to do
When you try to access a key which isn't in a Dictionary (for example),
When I try to access info that is not presented in xml like so:
On this page: http://developers.facebook.com/docs/opengraph/using-app-tokens/ It describes how to get the app access token, yet
The first time, each day, I try to access a web page at work,
When I try to access my site, then check my Heroku logs, I see

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.