Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WCF authentication problems

Thread Tools

WCF authentication problems
Posts: n/a

I've written a WCF service which I host on IIS under Windows 2003.
Security wasn;t working, so I amended the web site security settings
to allow Negotiate,NTLM as per the MS documentation and set the client
proxy code to allow impersonation..and now a client can communicate
successfully to the web service.

So now I can access the web service from a remote server, it does its
work and returns. However, if I try and access the service from the
same server...I get the familar error below;

The HTTP request is unauthorized with client authentication schema
'Negotiate'. The authentication header received from the server was

The Win2003 is using a DNS name to resolve the URL? Could that have
any bearing? However I can't understand why I can run the client code
on my PC and it calls the server, does the WCF link and returns happy
- and when I execute the same code on the server it fails with this

Everything is running with the same user credentials in both

Any ideas?

Many thanks
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Ajax Enabled WCF service and regular WCF? Cindy Lee ASP .Net 1 03-19-2010 05:59 PM
AJAX enabled WCF Service Vs Standard WCF Service Simon ASP .Net 0 10-13-2009 09:13 AM
WCF service, legacy client using Basic authentication? Jeff Stephens ASP .Net Security 1 06-02-2009 07:25 PM
WCF Window Authentication - How To? ASP .Net 1 05-02-2009 04:49 AM
WCF and web client authentication issues. Maxus ASP .Net Web Services 0 06-30-2008 06:02 AM