Share via


HTTP Error 401.2 - Unathorized Error

Question

Thursday, May 8, 2008 1:15 PM

I am getting a HTTP Error 401.2 - Unauthorized error when I try to browse my application locally at http://localhost:51908/. The trace log is showing the following Warning

MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName IIS Web Core
Notification 2
HttpStatus 401
HttpReason Unauthorized
HttpSubStatus 2
ErrorCode 2147942405
ConfigExceptionInfo 
Notification AUTHENTICATE_REQUEST
ErrorCode Access is denied. (0x80070005)
 
Any thoughts?

All replies (4)

Thursday, May 8, 2008 7:26 PM ✅Answered

Changes to Digest Authentication and it worked.


Thursday, May 8, 2008 1:58 PM

Did you click on the "More Information" Link?

It should point you to the following article: http://support.microsoft.com/kb/942043/

 


Thursday, May 8, 2008 2:07 PM

Yes I did click that and I had already checked those before posting.


Wednesday, July 10, 2013 1:29 PM

I had same error, i was using IIS 7.5 with 2008 R2 on our staging server, i had basic authentication turned on..

authentication window was prompting again and again and i triple checked my user pass, that was fine, i enabled tracing and was seeing these values in it

Module Name IIS Web core

Notification 2

HttpStatus 401

HttpReason Unathorized

Fix : it got fixed when i turned anonymous auth ON , but that was not my goal, as this was dev\staging server and i must had to use Basic Auth..... what i did was to change App Pool from integrated to Classic and that fixed it... i couldnt understand why but that fixed it, might be one of you can have better idea than me

Naveed