Solved

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

Posted on 2011-09-21
3
315 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
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now