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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:46:42+00:00 2026-05-31T04:46:42+00:00

Goal I am trying to deploy an MVC3 application that requires Windows Authentication (specifically

  • 0

Goal

I am trying to deploy an MVC3 application that requires Windows Authentication (specifically Kerberos) as an Application within an older asp.net Anonymous Authentication Website.

Symptoms

In IIS 7.5 Express on my box it works perfect, obviously. When I deploy it to IIS 7.5 as its own site I get challenged for domain credentials, though none are accepted. When I deploy it as an application I get the custom error page back from the hosting site. To confirm – Kerbtray shows no ticket in either scenario.

Details

Both the Site and the new child Apps run on the same application pool, and the application pool runs as AppPoolIdentity. That built-in IIS app pool account (IIS AppPool\MyAppPoolName) has full Read/Execute permissions down both the Site’s and the App’s folder trees. No impersonation is used.

Question(s)

  1. Is there anything special I need to do to get NTLM and Kerberos working on an App inside an anonymous auth Site?

If not, any advice on things/places to look would be great – the ApplicationHost.config and the app’s web.config files look fine.


EDIT: For clarification, this is all on a corporate network that uses Kerberos extensively for other purposes. “Site” refers to an IIS Website and is distinguished from an “Application” that must be hosted within an IIS Site.

  • 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-31T04:46:45+00:00Added an answer on May 31, 2026 at 4:46 am

    After working on this a bit more, I found the answer:

    1. Nothing special is needed to host a Windows (Kerberos) authenticated IIS App within an Anonymous authenticated IIS Site on IIS 7.5 so long as:

      a. Kernel Mode Authentication is On – No SPNs required.
      b. The application uses the same App Pool Identity as the hosting parent. Different App Pools and their identities can be used, but this does require further NTFS permissions and is beyond the scope of this particular issue.

    The issue with my error was something much more simple yet elusive… the parent Site had a custom set of error pages defined in <HttpErrors> including pages for 401 and 403.

    This was the error page returned when the user requested a page from the nested Application because Kerberos sends a 401 first, to challenge the user for credentials and ask/him her to get and provide a Kerberos ticket… but because the parent Site returned a 200 response (the custom error page) the user never got a Kerberos ticket.

    With these off, the user is now appropriately getting a Kerberos ticket and falls back to NTLM as by default.

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

Sidebar

Related Questions

http://jsfiddle.net/N8dYL/ The goal i'm trying to acchieve is that when you click play, the
I am trying to interact with the windows command prompt from code. My goal
So the goal I am trying to achieve is that when I click on
This is the general goal I am trying to achieve: My VB.NET program will
Goal I'm trying to load a custom class that contains a Texture2D from an
The overall goal I'm trying to accomplish is to implement a customizable avatar system
I am trying to get my head around a LINQ issue. The ultimate goal
I'm trying to set up integration tests using the AbstractTransactionalJUnit4SpringContextTests base class. My goal
Goal: Create Photomosaics programmatically using .NET and C#. Main reason I'd like to do
I'm trying to configure pom.xml so that it automatically deploys EAR archive to GlassFish

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.