What is the cause of Async_ExceptionOccurred intermittent errors in a silverlight application?

I have a Silverlight 3 application deployed to multiple client sites. Clients sometimes get a System.Reflection.TargetInvocationException exception with an internal Async_ExceptionOccurred exception.

What is the reason for this? Is it just unreliability in server connections? Is there a way to configure WCF to automatically repeat messages?

+4
source share
2 answers

I saw this when memory runs out on our IIS servers and services no longer respond to the client. It seems like they are leaving with IIS reset

+1
source

I see the same with my silverlight application. I can reproduce this error using Fiddler:

  • Rules β†’ Performance β†’ Simulate modem mail
  • You will see that your WCF svc gets hit, right-click it and β€œcancel the session”.

Is it just an internet connection? When this happens in my prod environment, I see no impact in SVC WCF when an exception occurs in silverlight. Therefore, it does not even reach our server. I used to have a VERY similar problem caused by the firewall doing something funny and killing connections.

So, I have two options left:

  • update your silverlight app to display a message when we get this error. Perhaps change EVERY WCF hit to try 5 times and then show an error. Ugh!
  • isolate any possible firewall problems. Run test wiring to reproduce the error. Test it in environments with / without any kind of firewall.
+1
source

All Articles