It’s a silverlight application connects to a wcf service which in turn connects to another wcf service.
This entire application is on a windows 2003 server, both wcf services and the silverlight application. It’s silverlight, so it works on a browser. We can access/run it from 2 of our many development machines. It works fine from those 2 machines but not from any other machines or from within the same server.
It throws the following error:
[Async_ExceptionOccurred] Arguments: Debugging resource strings are
unavailable. Often the key and arguments provide sufficient
information to diagnose the problem. See
http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60310.0&File=System.dll&Key=Async_ExceptionOccurredat
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at
SilverlightClient.TestWCFReference.sendRequestCompletedEventArgs.get_Result()
at SilverlightClient.Views.TestFormControl.sendRequestCompleted(Object
sender, sendRequestCompletedEventArgs e) at
SilverlightClient.TestWCFReference.Service1Client.OnsendRequestCompleted(Object
state)
I found the issue, the silverlight client was using the clientconfig file from .xap, not the external one. I had to remove the clientconfig from the project.
And for the EndPoint setting, I manually added the settings in the silverlight web project’s web.config, pass it to the .js file and read it from App.config. It works.
web.config
default.aspx.cs
default.aspx
App.xaml.cs
MainPage.Xaml.cs