Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums

Go Back   Vista Forums > Vista technology newsgroups > Indigo

Exception while calling wcf service from the IIS

Reply
 
Thread Tools Display Modes
Old 02-20-2008   #1
nimichan13
Guest
 
Posts: n/a

Exception while calling wcf service from the IIS

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
  Reply With Quote

Old 02-23-2008   #2
Tiago Halm
Guest
 
Posts: n/a

Re: Exception while calling wcf service from the IIS

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@xxxxxx> wrote in message
news:e8c31be8-87c4-468f-a2d4-74cc201bff97@xxxxxx
Quote:

> 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

  Reply With Quote
Old 04-24-2008   #3
Sivagami
Guest
 
Posts: n/a

RE: Exception while calling wcf service from the IIS

hi,
After setting "Anonymous" , restart the IIS..
this wil help u

thanks

"nimichan13@xxxxxx" wrote:
Quote:

> 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
>
  Reply With Quote
 
Reply

Thread Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48