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

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.

XML
<asp:Silverlight ID="Silverlight1" runat="server" Height="600" Width="880" Windowless="true"
        Source="~/ClientBin/TableLikeForm.xap">
    </asp:Silverlight>


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.

Quote:
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.

Quote:
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.
Posted
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