IIS 7.0 Error (401.5) page overrules the original page
Posted on 2011-03-17
I have a classic ASP web site, running on IIS 7.0
When browsing the pages locally they show up correct, but from an an external IP/PC I get the "401 - Unauthorized: Access is denied due to invalid credentials."
According to the IIS log its a 401.5 error. (I get the 401.5 for the ASP page, while the images get a 304).
I have tried changing the credentials for both the application pool and the anonymous authentication, but its still the same error.
After a lot of trial-errors, it changed the custom errors (the Error Pages section). In here I changed it to show detailed errors for both external and internal browsers (before it was configured to show detailed error messages for internal browsers and custom errors for external) - and now I don't get the Authentication Error any more!
If I change the setting back to not showing detailed error messages, I get the Authentication error again!
What am I doing wrong? Or is it a bug in IIS?