Re: Integrated Windows Authentication - 401: Access Denied
- From: "Consultant" <consultant_mcngp@xxxxxxxxx>
- Date: Fri, 23 Dec 2005 10:50:03 -0800
try using iis authdiag, make sure all your permissions are squared away.
usually that is a kerberos issue, check this out:
http://support.microsoft.com/default.aspx?scid=kb;en-us;215383
"Garth" <Garth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3CED8F08-2CD4-48CB-A9C1-8C0CEC41B1B3@xxxxxxxxxxxxxxxx
> Thank you for the response.
>
> IIS is ver 5.
>
> Machine is not in a Domain, did not customize the app. pool id. I did add
> the user account to the Debugger Users group. If I turn Integrated
> Windows
> Authentication on and debug an ASP app from within VS.NET, I am
> automatically
> logged in and identified, no problem. If I irun the same ASP application
> from a browser (outside the IDE) the Integrated Windows Authentication
> fails.
>
> Very Strange.
>
> "David Wang [Msft]" wrote:
>
>> IIS version?
>>
>> If IIS6, if you use Integrated Authentication AND your machine is in a
>> domain AND you customized the Application Pool Identity AND you failed to
>> setspn the new identity as specified by documentation, then you can see
>> this
>> due to user misconfiguration.
>>
>> You may also look at any double-hop situation in your application because
>> that can also show up as a 401 using Integrated and succeed with basic --
>> because Basic is less secure.
>>
>> --
>> //David
>> IIS
>> http://blogs.msdn.com/David.Wang
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> //
>>
>> "Garth" <Garth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:CE5EB4F4-E73C-4A0A-A2F2-5FF739EE1D15@xxxxxxxxxxxxxxxx
>> > Developing .NET application to acccess web services. In IIS, if
>> > Integrated
>> > Windows Authentication is turned on, I get a 401: Access Denied error.
>> > However, if I turn off Integrated Windows Authentication and turn on
>> > Basic
>> > Authentication I am able to authenticate the user with no problem.
>> >
>> > I am having the same problem with ASP.NET applications, unable to
>> > authenticate the user through Windows prompt for Integrated Windows
>> > Authentication, but Basic Authentication works fine.
>> >
>> > This test is being run on the same machine (web server is the same
>> > machine
>> > as the development machine).
>> >
>> > Does anyone have any ideas?
>>
>>
>>
.
- Follow-Ups:
- References:
- Re: Integrated Windows Authentication - 401: Access Denied
- From: David Wang [Msft]
- Re: Integrated Windows Authentication - 401: Access Denied
- Prev by Date: Re: Password change in IIS 6
- Next by Date: An attempt was made to reference a token that does not exist.
- Previous by thread: Re: Integrated Windows Authentication - 401: Access Denied
- Next by thread: Re: Integrated Windows Authentication - 401: Access Denied
- Index(es):
Relevant Pages
|