Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

401.2 Denied by Server Configuration Errors w/ Windows 200..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Windows 2000 Server SP IIS5 asp errors - I am running Windows 2000 Server (sp4) iis 5 with virtual I am having random issues where the website stops serving .asp pages but it continues to serve .html. The problem fixes itself and to the virtual directory after a random..

Strange Win32Status=64 errors in IIS 6 logs on new webserv.. - While the IIS 6 logs on our new Windows Server 2003 webserver running 2 web apps, I noticed that around 10% of the hits on the webserver have a Win32 Status of 64 and most of those requests return zero bytes to the browser.

IIS Access Denied errors - Recently the company web server began prompting for account passwords as users visited sites (even redirects to external sites). No account passwords would login. After some research, I decided to reset the Anonymous Access on..

windows 2003 web edition - Access denied - Hi all, Could somebody please enlighten me with the following issue: I have an that uses OWC11 to generate a chart. works fine until i try to use I get an Access denied exception which I tried to resolve by making..

FileSystemObject Permission Denied accessing file using In.. - I have some VBScript on our intranet site that opens a file located on an NT share using the (FSO) and writes its content to the response buffer. I had used a domain user for Anonymous Access in order to gain..
Next:  IIS: A Way to configure IIS 6.0 to allow Blank or empty Organiz..  
Author Message
Richard Roche

External


Since: Jan 03, 2008
Posts: 2



(Msg. 1) Posted: Thu Jan 03, 2008 8:37 am
Post subject: 401.2 Denied by Server Configuration Errors w/ Windows 2003 Server
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have a 2003 ASP.NET intranet application set to Windows Authentication in
my Web.config. In IIS (Windows 2003 Server) i've set only Integrated
Security. My clients are using IE7. I get almost the same number of 401.2
error and i do status code 200 Success.

What are the options to avoid the 401.2 errors?
--
Richard

 >> Stay informed about: 401.2 Denied by Server Configuration Errors w/ Windows 200.. 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Thu Jan 03, 2008 6:06 pm
Post subject: Re: 401.2 Denied by Server Configuration Errors w/ Windows 2003 Server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Richard,

Is this a problem or an observation?

When Internet Explorer (and any other web browser) sends a request to a
website, it first tries to access it anonymously. If you have set up IIS to
only allow Windows Authentication, IIS will respond with 401.2 telling the
client "you must send credentials, you cannot access this resource
anonymously". If Internet Explorer automatically logs you on, you will not
see anything of this happening in the web browser, but it will be logged.

This would explain why you roughly have the same number of 401.2 as 200,
because if you have set up IIS to only allow Windows Authentication, they
will come together.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Richard Roche" <RichardRoche.TakeThisOut@discussions.microsoft.com> skrev i meddelandet
news:19FD1463-77B4-4C2A-9209-377741583944@microsoft.com...
>I have a 2003 ASP.NET intranet application set to Windows Authentication in
> my Web.config. In IIS (Windows 2003 Server) i've set only Integrated
> Security. My clients are using IE7. I get almost the same number of 401.2
> error and i do status code 200 Success.
>
> What are the options to avoid the 401.2 errors?
> --
> Richard

 >> Stay informed about: 401.2 Denied by Server Configuration Errors w/ Windows 200.. 
Back to top
Login to vote
Richard Roche

External


Since: Jan 03, 2008
Posts: 2



(Msg. 3) Posted: Thu Jan 03, 2008 6:06 pm
Post subject: Re: 401.2 Denied by Server Configuration Errors w/ Windows 2003 Se [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for taking time. To answer you question, i'm not sure, probably just
an observation. If there was a way to do the authentication once it would
save network traffic, obviously. I didn't know if there was some setting in
IIS to tell it to re-use the authentication.

--
Richard


"Kristofer Gafvert" wrote:

> Hi Richard,
>
> Is this a problem or an observation?
>
> When Internet Explorer (and any other web browser) sends a request to a
> website, it first tries to access it anonymously. If you have set up IIS to
> only allow Windows Authentication, IIS will respond with 401.2 telling the
> client "you must send credentials, you cannot access this resource
> anonymously". If Internet Explorer automatically logs you on, you will not
> see anything of this happening in the web browser, but it will be logged.
>
> This would explain why you roughly have the same number of 401.2 as 200,
> because if you have set up IIS to only allow Windows Authentication, they
> will come together.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Richard Roche" <RichardRoche.DeleteThis@discussions.microsoft.com> skrev i meddelandet
> news:19FD1463-77B4-4C2A-9209-377741583944@microsoft.com...
> >I have a 2003 ASP.NET intranet application set to Windows Authentication in
> > my Web.config. In IIS (Windows 2003 Server) i've set only Integrated
> > Security. My clients are using IE7. I get almost the same number of 401.2
> > error and i do status code 200 Success.
> >
> > What are the options to avoid the 401.2 errors?
> > --
> > Richard
>
>
 >> Stay informed about: 401.2 Denied by Server Configuration Errors w/ Windows 200.. 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Thu Jan 03, 2008 10:04 pm
Post subject: Re: 401.2 Denied by Server Configuration Errors w/ Windows 2003 Se [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

So you see this 401.2 for each request by a client? For example, for one
client accessing 2 files on the webserver with only a few seconds between
the requests, you see this:

GET /file.htm 401.2
GET /file.htm 401.1
GET /file.htm 200
GET /anotherfile.htm 401.2
GET /anotherfile.htm 401.1
GET /anotherfile.htm 200

That is not how it is supposed to be (i thought you meant you had only one
401.2 per client and session). The authentication handshake should only
happen once per connection, so if you see this multiple times where the
connection should have been open, something closes the connection.

Can we get an excerpt from the log (you can remove any data you do not want
to share with the world) to better understand this?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Richard Roche" <RichardRoche.RemoveThis@discussions.microsoft.com> skrev i meddelandet
news:0BD87B4E-C927-426B-A65F-6D8AEC44FF14@microsoft.com...
> Thanks for taking time. To answer you question, i'm not sure, probably
> just
> an observation. If there was a way to do the authentication once it would
> save network traffic, obviously. I didn't know if there was some setting
> in
> IIS to tell it to re-use the authentication.
>
> --
> Richard
>
>
> "Kristofer Gafvert" wrote:
>
>> Hi Richard,
>>
>> Is this a problem or an observation?
>>
>> When Internet Explorer (and any other web browser) sends a request to a
>> website, it first tries to access it anonymously. If you have set up IIS
>> to
>> only allow Windows Authentication, IIS will respond with 401.2 telling
>> the
>> client "you must send credentials, you cannot access this resource
>> anonymously". If Internet Explorer automatically logs you on, you will
>> not
>> see anything of this happening in the web browser, but it will be logged.
>>
>> This would explain why you roughly have the same number of 401.2 as 200,
>> because if you have set up IIS to only allow Windows Authentication, they
>> will come together.
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Richard Roche" <RichardRoche.RemoveThis@discussions.microsoft.com> skrev i
>> meddelandet
>> news:19FD1463-77B4-4C2A-9209-377741583944@microsoft.com...
>> >I have a 2003 ASP.NET intranet application set to Windows Authentication
>> >in
>> > my Web.config. In IIS (Windows 2003 Server) i've set only Integrated
>> > Security. My clients are using IE7. I get almost the same number of
>> > 401.2
>> > error and i do status code 200 Success.
>> >
>> > What are the options to avoid the 401.2 errors?
>> > --
>> > Richard
>>
>>
 >> Stay informed about: 401.2 Denied by Server Configuration Errors w/ Windows 200.. 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 5) Posted: Thu Jan 03, 2008 10:05 pm
Post subject: Re: 401.2 Denied by Server Configuration Errors w/ Windows 2003 Se [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Can you please also tell us if you use NTLM or Kerberos?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Richard Roche" <RichardRoche.DeleteThis@discussions.microsoft.com> skrev i meddelandet
news:0BD87B4E-C927-426B-A65F-6D8AEC44FF14@microsoft.com...
> Thanks for taking time. To answer you question, i'm not sure, probably
> just
> an observation. If there was a way to do the authentication once it would
> save network traffic, obviously. I didn't know if there was some setting
> in
> IIS to tell it to re-use the authentication.
>
> --
> Richard
>
>
> "Kristofer Gafvert" wrote:
>
>> Hi Richard,
>>
>> Is this a problem or an observation?
>>
>> When Internet Explorer (and any other web browser) sends a request to a
>> website, it first tries to access it anonymously. If you have set up IIS
>> to
>> only allow Windows Authentication, IIS will respond with 401.2 telling
>> the
>> client "you must send credentials, you cannot access this resource
>> anonymously". If Internet Explorer automatically logs you on, you will
>> not
>> see anything of this happening in the web browser, but it will be logged.
>>
>> This would explain why you roughly have the same number of 401.2 as 200,
>> because if you have set up IIS to only allow Windows Authentication, they
>> will come together.
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Richard Roche" <RichardRoche.DeleteThis@discussions.microsoft.com> skrev i
>> meddelandet
>> news:19FD1463-77B4-4C2A-9209-377741583944@microsoft.com...
>> >I have a 2003 ASP.NET intranet application set to Windows Authentication
>> >in
>> > my Web.config. In IIS (Windows 2003 Server) i've set only Integrated
>> > Security. My clients are using IE7. I get almost the same number of
>> > 401.2
>> > error and i do status code 200 Success.
>> >
>> > What are the options to avoid the 401.2 errors?
>> > --
>> > Richard
>>
>>
 >> Stay informed about: 401.2 Denied by Server Configuration Errors w/ Windows 200.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]