Solved

c# express consumption of wcf works in development but not when installed using click once.

Posted on 2011-09-21
3
324 Views
Last Modified: 2012-05-12
Hi

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.

The problem:
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.

Thanks

Yaacov
0
Comment
Question by:ygreenstein
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 36580538
"Seems to be crashing"
What indications are you getting?  Are there any log entries in the event log?  Are you trapping, and logging exceptions for the client application?
0
 
LVL 4

Assisted Solution

by:theHollow
theHollow earned 125 total points
ID: 36585299
What is the Exception you get? Create a try/catch around the problem code.

It may be authentication to the service that has to be entered.
But I need to see the exception.
0
 

Author Comment

by:ygreenstein
ID: 36585424
Thanks The LearnedOne and theHollow.  I got stuck on an additional problem and when I work it out I will add the catch and send the exception.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question