.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > WCF Service in a remote server -> SecurityNegotiationException
 

WCF Service in a remote server -> SecurityNegotiationException

Well met,

I am trying some WCF examples. I've built the web service, and placed itas a IIS web service. It runs ok in local, but when I try to access the service from another machine, I receive that expection.

The IIS is configured to use anonymous access, so it should not need any security stuff. What can be the problem? Do I need to configure something up?

This is the client code:

classTest
{
staticvoidMain()
{
Service1Clientclient=newService1Client();
//Uselavariable'client'parallamaraoperacionesenelservicio.
Console.WriteLine(client.GetData(99));
//Cierresiempreelcliente.
client.Close();
Console.ReadLine();
}
}



Any ideas? :/

PabloBenigno
You should try this forum instead:
http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=118&SiteID=1

In any case, check your service Web.config file. Does it mention security anywhere? Look for binding element configuration. It might also be in the server code.

-Chris
Christopher Scrosati, Software Design Engineer in Test, CFx, Microsoft Corp.
Christopher Scrosati - MSFT
You should try this forum instead:
http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=118&SiteID=1

In any case, check your service Web.config file. Does it mention security anywhere? Look for binding element configuration. It might also be in the server code.

-Chris
Christopher Scrosati, Software Design Engineer in Test, CFx, Microsoft Corp.
Christopher Scrosati - MSFT

You can use google to search for other answers

Custom Search

More Threads

• Problem starting webservice from VisualStudio 2008
• how to use wsdl files studio 2005
• IIS
• removing XML tags when generating XML
• How to make app.config global
• Invoking COM call in a thread from a WebService : does not work under IIS
• ASMX without IIS using WSE 3.0
• remote server problem
• xml Serialize a type
• Web services and MTOM