HTTP 401.1 error when using IP address...
am 11.10.2007 17:04:54 von VagabondSW
Our IT team relocated our application servers yesterday. They had to take
one machine out of the cluster because it would prompt users for credentials
if accessed using the IP address, which I guess is what happens when it is
accessed through the firewall. However, it works as expected when I use the
machine name in place of the IP address.
To summarize, the application servers were moved to a new hosting site and
one machine is behaving badly. Here are the scenarios:
If I access www.myfqdn.com from the internet and I happen to hit the server
that is misbehaving, I am presented with a windows logon prompt.
If I access http://machinename/myapp/mypage.aspx, then it works as expected.
If I access http://machineip/myapp/mypage.aspx, then I am presented with a
windows logon prompt.
Any clues or suggestions of where to ask this question would be greatly
appreciated.
Of course, cancelling the windows logon prompt results in the 401.1 error.
This is a publicly available server. There should be no authentication
necessary.
Carl
Re: HTTP 401.1 error when using IP address...
am 11.10.2007 18:33:25 von Anthony Jones
"msnews.microsoft.com" wrote in message
news:OPTlVgBDIHA.5328@TK2MSFTNGP05.phx.gbl...
> Our IT team relocated our application servers yesterday. They had to take
> one machine out of the cluster because it would prompt users for
credentials
> if accessed using the IP address, which I guess is what happens when it is
> accessed through the firewall. However, it works as expected when I use
the
> machine name in place of the IP address.
>
> To summarize, the application servers were moved to a new hosting site and
> one machine is behaving badly. Here are the scenarios:
>
> If I access www.myfqdn.com from the internet and I happen to hit the
server
> that is misbehaving, I am presented with a windows logon prompt.
>
> If I access http://machinename/myapp/mypage.aspx, then it works as
expected.
>
> If I access http://machineip/myapp/mypage.aspx, then I am presented with a
> windows logon prompt.
> Any clues or suggestions of where to ask this question would be greatly
> appreciated.
>
> Of course, cancelling the windows logon prompt results in the 401.1 error.
>
> This is a publicly available server. There should be no authentication
> necessary.
>
Your IUSR_ account needs to have access to the files you wish
to serve. In the process of the move this has been damaged. Perhaps someone
has attempted to rename this user account.
--
Anthony Jones - MVP ASP/ASP.NET
Re: HTTP 401.1 error when using IP address...
am 11.10.2007 20:27:00 von David Wang
On Oct 11, 8:04 am, "msnews.microsoft.com"
gmail.com> wrote:
> Our IT team relocated our application servers yesterday. They had to take
> one machine out of the cluster because it would prompt users for credentials
> if accessed using the IP address, which I guess is what happens when it is
> accessed through the firewall. However, it works as expected when I use the
> machine name in place of the IP address.
>
> To summarize, the application servers were moved to a new hosting site and
> one machine is behaving badly. Here are the scenarios:
>
> If I accesswww.myfqdn.comfrom the internet and I happen to hit the server
> that is misbehaving, I am presented with a windows logon prompt.
>
> If I accesshttp://machinename/myapp/mypage.aspx, then it works as expected.
>
> If I accesshttp://machineip/myapp/mypage.aspx, then I am presented with a
> windows logon prompt.
> Any clues or suggestions of where to ask this question would be greatly
> appreciated.
>
> Of course, cancelling the windows logon prompt results in the 401.1 error.
>
> This is a publicly available server. There should be no authentication
> necessary.
>
> Carl
You are describing an IIS server set to require some form of
authentication and IE's default auto-login behavior.
If you say you don't want authentication, then configured IIS to not
require it. Only enable Anonymous authentication. And make sure the
configured anonymous username/password in IIS is the same as in
Windows.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//