c# express consumption of wcf works in development but not when installed using click once.
Posted on 2011-09-21
I have created two systems:
1. A c# express 2010 winform that will sit at the cleints. It will read a sql server database and send the information to:
2. A asp.net wcf 2010 web service which sits on my web server.
I have published the c# express winform client with "publish" with a "click ionce" option hosted on my web server.
On my development machine everything works fine. Then from the same deveopment machine I used the click once and installed.
The installation seems to be crashing on:
EvalServiceClient svcClient = new EvalServiceClient();
string cXmlClasses = svcClient.SendClassesList(27, txtUsername.Text.Trim(), txtPassword.Text.Trim());
where I am trying to invoke the web service I have installed on my web server.