SecurityNegotiationException

Hi everybody

I really need help..

I have a error in a wcf application. The System.ServiceModel.Security.SecurityNegotiationException

Exception with the message ‘SOAP security negotiation with ‘http://10.10.10.1/ClientService’ for target ‘http://10.10.10.1/ClientService’ failed.

’, I have looked for this error message over the forums e blogs, and looks like its something about authentication between my Service Server and the Client Desktop. I’m using self-hosting.

This is m Scenario, I have:

A wcf windows host application: There is only one Service with one operationContract that it implementation generate a simple txt file. I using wsHttpBinding, I didn’t put the port number so the default port is 80.

A wcf windows client application: I generated the proxy calling the “Add Service option” instead of calling svcutil.exe by myself.

A virtual machine Windows 2003 server been the Service Server , with firewall turned on with just the 80 port enabled.

A virtual machine with Windows XP server been the Client, with firewall turned off.

Well, When I test in my developer machine it works marvelously!!!

But when I put in the VMs I receive the error xxxx kind of xxxx exception. I have already put in the client App.config the <identity> tag with theAdministrator@mynetwork.com I though it would have worked but it wouldn’t have.

The worst is because sometimes it work in the network, sometime doen’t

Can someone help me?

Thanks a lot, a lot, a lot…..

[4279 byte] By [EdwinSantos] at [2008-1-10]
# 1

Can you post the bindings of the server and client? Also next thing would be enable tracing so that you can see why the negotiation is failing on the service side. Look at this link to know how to enable tracing http://msdn2.microsoft.com/en-us/library/ms733025.aspx

srilathainavolu at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified