Select to view content in your preferred language

JSON Extraneous data error???

591
2
03-08-2011 06:31 AM
JoshV
by
Regular Contributor
Please help, I'm not understanding this error.  I have a simple Silverlight App with a Tiled layer ESRI service and a Dynamic Layer MapService (dynamic is running off same server as the silverlight app) and when I try to run my Silverlight App, I'm getting the attached error.  Something to do with JSON and extraneous data, etc.  I saw in one forum someone had mentioned that there might not be a clientaccesspolicy.xml file in the wwwroot folder so I downloaded one and place it in my inetpub/wwwroot folder but no luck.  Thoughts?
0 Kudos
2 Replies
DanielWalton
Frequent Contributor
Hey, saw your post over at StackExchange, too. 🙂 Are you accessing the REST endpoint of your map service, i.e. http://servername/ArcGIS/rest/services/foldername/MapServer ? That error looks like you might be trying to hit a SOAP endpoint.
0 Kudos
JoshV
by
Regular Contributor
Hey, saw your post over at StackExchange, too. 🙂 Are you accessing the REST endpoint of your map service, i.e. http://servername/ArcGIS/rest/services/foldername/MapServer ? That error looks like you might be trying to hit a SOAP endpoint.


Thanks Dan-  You are correct.  Thanks again for your help.

Best regards,
0 Kudos