Windows Vista Forums

Exception while calling wcf service from the IIS
  1. #1


    nimichan13 Guest

    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
      My System SpecsSystem Spec

  2. #2


    Tiago Halm Guest

    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

    > 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

      My System SpecsSystem Spec

  3. #3


    Sivagami Guest

    RE: Exception while calling wcf service from the IIS

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

    thanks

    "nimichan13@xxxxxx" wrote:

    > 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
    >
      My System SpecsSystem Spec

Exception while calling wcf service from the IIS problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
system service exception BSOD stirfriedsushi General Discussion 8 26 Jul 2009
exception calling .net object Rajeev PowerShell 7 24 Jun 2008
System Service Exception Robert W. Vista General 7 09 May 2008
Certificate problem calling WCF MSMQ service from ASP.Net application Dave Indigo 1 12 Jul 2007
exception when calling a method: object is read-only Steve PowerShell 2 09 May 2007