Previous Next

Thread: Windows Communication Foundation (WCF) authentication error

Last post 01-29-2007 11:16 AM by hughy23. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 01-19-2007, 4:32 PM

    • hughy23
    • Not Ranked
    • Joined on 01-19-2007, 3:19 PM
    • Posts 2

    Windows Communication Foundation (WCF) authentication error

    I'm just starting to learn the new WCF stuff. After completing my first 'Hello World' example I ran into a problem. Everything works fine as long as I reference the service via the ASP.Net development server but when I try to reference the service via a virtual directory in IIS it gives the following error:

    Metadata contains a reference that cannot be resolved: 'http://localhost/hello2/HelloWorldService.svc'.

    The HTTP request was forbidden with client authentication scheme 'Anonymous'.

    The remote server returned an error: (403) Forbidden.

     The virtual directory is pointing to my project folder so IIS and the .Net development server are using the exact same files so I'm assuming it's something with my IIS configuration. I have anonymous access enabled in IIS and I even added the ASP.Net and Anonymous logon user accounts to see if that made any difference and it didn't.

    Any help would be greatly appreciated.

    Thanks

  • 01-29-2007, 11:16 AM In reply to

    • hughy23
    • Not Ranked
    • Joined on 01-19-2007, 3:19 PM
    • Posts 2

    Re: Windows Communication Foundation (WCF) authentication error

    It looks like the problem was that I didn't have Server Extensions configured for the site I was using to test the service.
Page 1 of 1 (2 items)
Page view counter