Select to view content in your preferred language

Silverlight not picking up changes made to mxd????

687
2
05-24-2010 03:39 PM
AngelGonzalez
Frequent Contributor
I am using SL4 with ESRI 2.0 API.  I have a simple SL app with a TitledMapService and a DynamicMapService. When I first create the Map Services in ArcServer, which point to the mxds, I am able to see layers correctly in silverlight.  When I make any changes to the DynamicMapService mxd (ie add a new layer) ,restart the map service and then run the silverlight app. again the changes are not being picked by the silverlight app.  Now if I make a new Map Service pointing to the same mxd and modify the silverlight app to use this new service I am able to see the changes I made to the mxd. Also if you make changes to the mxd and re-boot ArcServer you can see the changes.

Why can't Silverlight see changes made to an mxd?

Note: I used ESRI sample SubLayer List to view the layers available.
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
Be aware that both the REST server and the browser can be doing some caching here.
Clear your REST cache (http://myserver/arcgis/rest/admin) after changing your service.
You can also disable the browser cache by setting DisableClientCache="True" on your dynamic layer.
0 Kudos
nicogis
MVP Alum
0 Kudos