Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1464
  • Last Modified:

401 - Unauthorized: Access is denied due to invalid credentials only while on the server box itself

I have a subdirectory for a website that has Anonymous disabled and Windows Authentication enabled.
 
This works great when I browse to it from my client PC (which I'm logged into under our corporate domain account).  However, when I'm logged onto the actual server box as a domain account, when I browse to that directory, I get the challenge dialog, put in my domain credentials, and it keeps prompting me for them 3 times, then I get the unauthorized access page.
0
E43509
Asked:
E43509
  • 3
2 Solutions
 
E43509Author Commented:
Just some more info, if I enable anonymous on that directory, the browser responds with the page.
For testing it was just a simple hello.htm
The application pool is using the ApplicationPoolIdentity
0
 
E43509Author Commented:
Additional info
It works in the default web site.  On the server, I get a challenge, fill in my credentials and good to go
However, this needs to work on another site configured on the server.  
The new site works when anonymous is permitted but can't get past the challenge.  The site is local on the server box and is using the same application pool as the default site and pass thru authentication as is the default site.
0
 
kadadi_vCommented:
Did you configured the IP Security settings for this Site In IIS so that's why its not working on Local server..?

Regards,
vijay
0
 
E43509Author Commented:
Just a follow up, I may have been in an wacko mode as I was also trying to get .net framework 1.1 loaded on this w2008 box but have since tested the app and it ran under the 2.0 framework.  I removed all the 1.1 crappola and this appears to be working.
Thanks for the input above
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now