Click here to Skip to main content
15,921,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have developed a Silverlight application, the webservice calling works fine in my development environment, but after building my SL application i am using the .xap file in a seperate Webapplication as follows.

<asp:Silverlight ID="Silverlight1" runat="server" Height="600" Width="880" Windowless="true"

Now the Webservice Calling which was running fine in SL application is not working through .xap file.

i have checked the Endpoint URI it is ok.

The innerexception i am getting is as follows.

The remote server returned an error: NotFound.

at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
at TableLikeForm.ServiceReference1.WebService2SoapClient.WebService2SoapClientChannel.EndGetAutoComplete_EV(IAsyncResult result)
at TableLikeForm.ServiceReference1.WebService2SoapClient.ServiceReference1_WebService2Soap_EndGetAutoComplete_EV(IAsyncResult result)
at TableLikeForm.ServiceReference1.WebService2SoapClient.EndGetAutoComplete_EV(IAsyncResult result)
at TableLikeForm.ServiceReference1.WebService2SoapClient.OnEndGetAutoComplete_EV(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)

can any one suggest me how to debug and know where and what is the problem.

Note: My older version of .xap of same Silverlight project running fine.

i think i am missing some setting, i am search for the solution since 3 days please help me regarding this issue.

Thanks in advance.
Updated 18-Feb-23 5:01am

1 solution

Did u change in client config file?
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900