Solved

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Windows app updating JSON file error. 9 48
Convert VB web project to C# 3 65
What are MicroServices? 4 67
Read top line from CSV file 14 57
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 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