?
Solved

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

Posted on 2011-09-21
3
Medium Priority
?
325 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 500 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

771 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