We help IT Professionals succeed at work.

Silverlight 4 Async_ExceptionOccurred

I've been developing a Silverlight 4 wb application w/ WCF service on my laptop (visual studio 2010). Everything works as expected.

Now i'm trying to "deploy" to a test environment (windows server 2003, ii6, dotnet4).

The WCF service is working AOK (i installed wcfstorm and can connect and interact with it).

The Silverlight web application is loading but not interacting with the service. I'm seeing the following error:

Uncaught Error: Unhandled Error in Silverlight Application [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.50524.0&File=System.dll&Key=Async_ExceptionOccurred at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at adDEPOT_Invoice_Emailer.aIE.getInvoiceListCompletedEventArgs.get_Result() at adDEPOT_Invoice_Emailer.MainPage.adDEPOT_IE_getInvoiceListCompleted(Object sender, getInvoiceListCompletedEventArgs e) at adDEPOT_Invoice_Emailer.aIE.adDEPOT_IEClient.OngetInvoiceListCompleted(Object state)
I don't believe it's a crossdomain/policy issue as the web app and service reside on the same domain/port. I've create the xml files anyway just in case!

Any ideas?

Watch Question

see if the technique suggested in this helps you

Thanks and regards,


The web development helper tool doesn't show anything interesting & i've already put the crossdomain.xml and clientaccesspolicy.xml files in the root (just in case) even though the service and silverlight app reside on the same domain/port.

Any other ideas?
Hallelujah! I solved it! What a waste of time- Visual Studio does something a little bit weird...

I have my solution containing 2 projects (the service and the silverlight web app). However! The service actually contains the webapp aswell. I was just deploying the service (which appears to contain the webapp).

I did a build on the other project and voila everything works!

I can't believe i didn't find anything while searching for the solution to this problem. The deployment is definitely the trickiest bit (there are so many files/folders it's confusing!)