Windows Vista Beta | WinVistaBeta.com - Message | Exception while calling wcf service from the IIS

August 29, 2008  
Subject: Exception while calling wcf service from the IIS
Group: microsoft.public.windows.developer.winfx.indigo
Date: 2/20/2008 12:00:52 AM
From: nimichan13@gmail.com

HI,

i am facing a problem while callign the WCF service from the IIS, its
showign the error(mentioned below) :

The HTTP request is unauthorized with client authentication scheme
'Anonymous'. The authentication header received from the server was
'Negotiate,NTLM'.

From on forum i received a reply like, to check the checkboxes in the
IIS>vritual Directory>properties>Direct Security>edit>1. anonymus and
Integrated.

Even though both are checked, its throwing the same error..

Does anybdy have come accross with the same error, please help me...


Nimi

Back
Subject: Re: Exception while calling wcf service from the IIS
Group: microsoft.public.windows.developer.winfx.indigo
Date: 2/23/2008 12:13:19 PM
From: "Tiago Halm" [Email Address Protection]

if your scenario is

BROWSER => IIS (ASP.NET) => IIS (WCF)

Then examine the authentication method setup on the WCF side. If
wsHttpBinding (default setup), then you must use Windows Auth. In this
scenario you must delegate either:
- present WCF with the AppPool account (impersonate = false) - can be wither
NTLM or Kerberos, although Kerberos requires the serviceModel proxy config
to be changed a bit.
- present WCF with the browser account by using kerberos (impersonate =
true). Requires a bit more work.

Tiago Halm

<nimichan13@gmail.com> wrote in message
news:e8c31be8-87c4-468f-a2d4-74cc201bff97@64g2000hsw.googlegroups.com...
> HI,
>
> i am facing a problem while callign the WCF service from the IIS, its
> showign the error(mentioned below) :
>
> The HTTP request is unauthorized with client authentication scheme
> 'Anonymous'. The authentication header received from the server was
> 'Negotiate,NTLM'.
>
> From on forum i received a reply like, to check the checkboxes in the
> IIS>vritual Directory>properties>Direct Security>edit>1. anonymus and
> Integrated.
>
> Even though both are checked, its throwing the same error..
>
> Does anybdy have come accross with the same error, please help me...
>
>
> Nimi



Back