RE: security error in IIS logs (401.2 error)
- From: Alexander Ferrugia <AlexanderFerrugia@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 13:36:01 -0700
Found the solution to my problem and thought I would share:
Short story: Had to make a DNS entry for the IP address of the site name
that I was using to host my ASP.NET application.
More detailed story: I noticed that everything worked when I added the IP
address as a "trusted site" in Internet Explorer. Without having this
address added as a trusted server it would prompt me. I noticed that when I
pinged a computer name in a command window, it would show up as the fully
qualified name (sitename.domain). Therefore IE or TCPIP is getting
information back from the DNS lookup in some fashion and it knows that this
site is a "trusted site" -- although IE or TCP does not know this information
if I try to use the actual IP address (instead of the name).
This may just have something to do with our network settings. It is
interesting though because we have a large global network largely managed by
Microsoft (from the software side), so I imagine other people have or will
run into this problem in the future. For those people, I hope reading this
post helps.
Cheers,
Alexander
"Alexander Ferrugia" wrote:
Hi:.
I'm trying to deploy my VisualStudio2003 ASP.NET application on Windows
Server 2003 w/ SP-1. When I navigate to my site (locally or from another
network computer) in Internet Explorer I'm being prompting for a network
username/password. I believe have configured the server properly in ISS,
have the correct NTFS file permissions, etc.
I would really like to know what sc-win32-status 2148074254 refers to (see
my IIS log below). Anyone have any ideas? I know that the 401.2 error means
"denied by server configuration" and often means a protocol issue between the
browser and IIS. I'm not trying to do anything special here, just want to
use plain vanilla Windows Authentication. I have anonymous access turned off
for my site in IIS (my application requires this) but when I allow anonymous
access the error goes away.
I have attached my [truncated] IIS log below. Please let me know if you
require any additional details about my environment. Any help that anyone
can offer would be greatly apprecaited. I'm running out of ideas.
Thanks in advance,
Alexander
---SOF---
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2006-06-23 17:04:28
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-06-23 17:04:28 W3SVC331956636 10.34.43.11 GET /eProfitStartup.aspx - 80
- 10.34.43.11
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
---EOF---
- Prev by Date: Re: Renew certificate
- Next by Date: Re: file security/authentication
- Previous by thread: Re: security error in IIS logs (401.2 error)
- Next by thread: Re: New HTTPS web site and certificate installation
- Index(es):
Relevant Pages
|
Loading