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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:00:12+00:00 2026-05-31T13:00:12+00:00

I am just starting to learn ASP.NET. I opened a default ASP.NET application and

  • 0

I am just starting to learn ASP.NET. I opened a default ASP.NET application and changed the web.config file to enable Windows authentication.

<authentication mode="Windows">
</authentication>

When I run from VS using the asp.net development server, it is able to detect my windows login and display it.
I tried publishing it to the IIS server 7.5 in the same PC and ran from there. Now my windows login is not getting detected.
I have enabled the Windows Authentication from the Authentication feature in IIS.
What else I might be missing in this case?

Thanks..

  • 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-05-31T13:00:15+00:00Added an answer on May 31, 2026 at 1:00 pm

    Try disabling Anonymous Authentication in IIS 7.5 for that web-site.

    • Open IIS Console.
    • Select website.
    • Double-click “Authentication”
    • Ensure “Anonymous Authentication” is disabled

    Only “Windows Authentication” should be enabled for your purposes.

    The reason this works is that a browser will perform the first request anonymously. If anonymous authentication is enabled this request will succeed, and so the web-server will have no idea who you are.

    If you use a tool like Fiddler to examine the network traffic between you and the server, you will notice that you actually get 3 requests if Windows Authentication is the only configured method. The requests get the following responses:

    • Request 1: “Please can I log-in anonymously?”
    • Response 1: “NO!!!” [HTTP Status Code 401]
    • Request 2: “Alright, what do you support?”
    • Response 2: “I support Windows Authentication” [HTTP Status Code 401]
    • Request 3: “Alright – here’s my Windows token”
    • Response 3: “Hi RB, here’s your web-page” [HTTP Status Code 200]
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just starting to learn ASP.NET (C#) and I am using Visual Studio 2008. I
I'm just starting to learn asp.net mvc and I'm not sure what the right
I'm just starting to learn ASP.NET MVC and I'd like to know how I
I'm new to ASP.NET and have just starting to learn ASP.NET MVC 3. I've
I am just starting to learn ASP.NET MVC and I have a situation where
I'm starting to learn ASP.NET Forms Authentication, and I'm looking for a good article
I'm just starting to learn the iphone API, and I've done plenty of windows
I'm just starting to learn about jQuery. I'm more of a html+css web designer
I'm starting to learn ASP.Net MVC (the release candidate), and I'm having a little
I'm just starting to learn C# and ASP.NETMVC, but every example I've found puts

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.