Application deployment problem.

Oct 10, 2012 at 3:02 PM

Hello Olmo.

I created a small application that I published on an Server Windows 2008R2 with IIS 7.
Strangely, the WPF application works if I launch it on the same machine, but on the remote machines it doesn't work.
I get a "SecurityNegotiationException".
The machines are outside the local network.

Where did I go wrong?


Oct 10, 2012 at 3:14 PM

oops ... I wanted to say: IIS 7.5

Oct 10, 2012 at 3:58 PM
Edited Oct 10, 2012 at 3:58 PM

Sorry, but I solved it.
In the client application I added:



	channelFactory = new ChannelFactory<IServerAccerta>("server");
	channelFactory.Credentials.Windows.ClientCredential.UserName = "user";
	channelFactory.Credentials.Windows.ClientCredential.Password = "password";

Thanks for your patience