Re: 401.2 Error

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Robert Aldwinckle (robald_at_techemail.com)
Date: 05/25/04


Date: Tue, 25 May 2004 14:50:37 -0400


<anonymous@discussions.microsoft.com> wrote in message
news:11acd01c44203$e1c0a390$a601280a@phx.gbl
...
>I tried the regsvr32 commands you suggested but it didn't
> fix the problem.

I just noticed that your code is 401.2 not just 401.
Some KB articles about that code also refer to fixes in urlmon.dll
so it would probably be a good idea to re-register it too:

    regsvr32 /i urlmon.dll

Do wininet.dll too. It doesn't have an entrypoint for DllRegisterServer
but it does have a DllInstall:

    regsvr32 /i /n wininet.dll

> -Https is not being used

That's good. That allows you to do some tracing.

I suspect what you will find is that you are receiving an HTTP 401 response
with headers such as
    Authenticate: negotiate
    WWW-Authentication: NTLM

That is what should cause the prompt you are expecting but since
it also carries the HTML for the Access denied message it is what
you are seeing instead. That assumes you also have unchecked:
    Show friendly HTTP error messages
(Options, Advanced tab)

If you don't have a proper tracing tool you could capture this particular
response using a telnet client. If necessary you could capture the same
diagnostic both from machines which are working and from the machine
which isn't working. Other diagnostics which could be illuminating via
this compare technique would be tracing using RegMon and FileMon
(freeware from SysInternals).

> a failed logon attempt is not recorded.

If you aren't getting a prompt but just seeing the message
I think that this just means that there was no attempt.

> Any other ideas?

You might get more informed help posting in a newsgroup which
specializes in Security for either IIS or XP.

HTH

Robert
---



Relevant Pages

  • Re: 401.2 Error
    ... That allows you to do some tracing. ... >If you don't have a proper tracing tool you could capture ... >diagnostic both from machines which are working and from ... Other diagnostics which could be ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: debugging web services
    ... You have to enable the WSE tracing feature. ... Enabling tracing has a significant performance penalty ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: OT: Pachislo slot question
    ... These machines are usually too loud. ... I would start by tracing the ... wires off each speaker to make sure each one is connected or check to ... I have 3 of these machines and I also belong to Pachitalk. ...
    (rec.games.pinball)
  • automating profiler
    ... I have created a stored proc that will automate the capture of traces. ... The trace is captured to a file instead of a table because tracing to a table on the same server has caused performance issues. ...
    (microsoft.public.sqlserver.tools)