Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

I have a WCF service and client, which worked fine, when I debug it on my local machine.

However when I deployed the service to test server on the different domain.


I've started to receive error

System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. ---> System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.

I've found a few similar recommendations, e.g.
<wsHttpBinding>
                <binding name="CustomBinding">
                    <security mode="None">
                        <message establishSecurityContext="false"/>
                        <transport clientCredentialType="None"/>
                    </security>
                </binding>
            </wsHttpBinding>
 
 
Unfortunately, it didn't work for me.
Fortunately, after I've replaced wsHttpBinding  to basicHttpBinding , my client is able to access the server. 

Posted on Monday, July 5, 2010 6:35 AM Web Services/WCF | Back to top


Comments on this post: WCF: Suppress authentication for testing on different domain.

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net