Mobile app version of vmapp.org
Login or Join
Chiappetta492

: Different behaviour with windows authentication on IIS7 websites I need to run a website with just windows authentication. Given the following situation: The location of the default website is:

@Chiappetta492

Posted in: #Authentication #Iis7 #Localhost #Windows7

I need to run a website with just windows authentication.
Given the following situation:


The location of the default website is: c:inetpubwwwroot
The location of my code is: c:SitesWebApp
My hostfile is edited so any .local i use points to 127.0.0.1
I am using Windows 7 professional
IIS version: 7.5


I have created a new application called 'AppX' underneath the default website and point it to c:SitesWebApp. It will use the DefaultappPool. When I switch off anonymous and switch on windows authentication all works well when I go to localhost/AppX/.

What I really want is a new website (No need to question why I want this). So I created a 2nd website and did exact the same creation of the application. Everything is the same; destination, app pool and authentication.

Now when I browse to this website web2.local/AppX/ I get the 401.2 - Unauthorized error.
What am I missing here?

UPDATE: I also tried to create a new website directly pointing to the target folder. Same settings for authentication, applicationpool, etc. Same result as using an application in a new website.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme