I am trying to run a simple Silverlight application based on code provided by ESRI at this link (Silverlight Samples). My app works fine if I just use the TiledLayer but if I add the Dynamic layer and set it to a Wells MapService I have running on my server, I get an error stating that the WellsLayer has a SerializationException and is not a valid JSON primitive and this error can occur when extraneous data is present after JSON data. What does that mean? I did see in the forums that someone suggested that a clientaccesspolicy may not be in place at the wwwroot folder. I have downloaded and placed that file there but no luck.. Thoughts?
As far as I know the JSON data file is used for mobile device or other device user-agents. Perhaps if you have something relating to GIS application and Device Targeting (may be Mobile Device or Other Devices) for which you are referring to JSON data and something is incorrectly configured to the JSON file. ... not sure if I am correct.