I spent some time last week with ESRI support on this issue, and we're all stumped. Thought I would put it to the forums to see if anyone else has experienced this issue.
Most likely an issue with our ArcGIS server, I'm hoping someone can help us diagnose.
We're having an intermittent issue, only with our custom Silverlight application, where it will generate an error with our query tasks being used to populate some drop-down boxes or with our Sublayer list. The error is inevitably related to an inability to hit our ArcGIS server and query or pull down the appropriate data from REST.
The error seems to occur for a client machine that has not accessed our Silverlight app in several days, but I fail to understand how this could be a client cache issue. The only way we are able to force the application to generate the error is by restarting IIS, which seems to cause the REST cache to go away for a few seconds, but just clearing the REST cache doesn't do it. The .xap loads just fine, it's just that if it hasn't loaded in a while, it can't connect to the ArcGIS server on REST, and then, once you refresh, it works just fine.
Here is what we have done:
1. Changed our REST cache settings
2. Used Fiddler to no avail (no 404s, the most we have are 304s).
3. Checked ArcGIS server logs (nothing) on verbose (still nothing), Event Viewer for both IIS (lots more of nothing) and all the other places (guess what... nothing).
We're stumped. So far, there seems to be no reason why this is occurring. It is extremely intermittent. Anyone have any ideas on where to start?