I am deploying a Silverlight APPlication that calls a WCF Service

Posted by Rico on Stack Overflow See other posts from Stack Overflow or by Rico
Published on 2010-03-25T22:25:35Z Indexed on 2010/03/26 8:03 UTC
Read the original article Hit count: 319

Filed under:
|
|
|

It Runs It Loads but when it calls the service I get

An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at SalesSimplicityPO_SL.POSvc.GetPurchaseOrdersCompletedEventArgs.get_Result() at SalesSimplicityPO_SL.About.mySvc_GetPurchaseOrdersCompleted(Object sender, GetPurchaseOrdersCompletedEventArgs e) at SalesSimplicityPO_SL.POSvc.POSvcClient.OnGetPurchaseOrdersCompleted(Object state)

What is the problem does anyone know? I load and call my web service like..

    BasicHttpBinding binding = new BasicHttpBinding();
    EndpointAddress address = new EndpointAddress(new Uri("http://localhost/POSystem/POSvc.svc"));
    POSvc.POSvcClient mySvc = new POSvc.POSvcClient(binding, address); 
    mySvc.InsertPOCompleted += new EventHandler<SalesSimplicityPO_SL.POSvc.InsertPOCompletedEventArgs>(mySvc_InsertPOCompleted);
    mySvc.InsertPOAsync(InitialsTextBox.Text.ToString(), DescTextBox.Text.ToString(), ClientTextBox.Text.ToString());

Works great in debug....

What am i Doing to get this error?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about wcf