Select to view content in your preferred language

Legend not working anymore

1003
6
11-16-2011 04:54 AM
MichaelKohler
Frequent Contributor
I have an app with a dynamic map service layer. It was tested and deployed and working fine last week. Now, the ability to show the legend for a sub-layer in the dynamic map service is gone! The user can not expand any of the sub layers to see the legend! If I add the service as a FeatureLayer, the legend can be expanded. So it works as a FeatureLayer but not as a DynamicMapServiceLayer.

Nothing changed from the time of deployment last week to this week with the server or code. I am stumped as to why it's not working anymore.

I restarted the services, cleared the REST cache, recreated the services and nothing worked.

using Silverlight API 2.2 and ArcServer 10.0
0 Kudos
6 Replies
DominiqueBroux
Esri Frequent Contributor
Are you using ArcGISServer 10.0 or ArcGISServer 10.0 SP1?

From SP1, the map service is providing a legend REST end point.

You can check that with a request like : http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Daytime_Population/MapServer

From SP1, you should see a Legend hyperlink.

Is this hyperlink working?
0 Kudos
MichaelKohler
Frequent Contributor
We are on ArcServer 10.0 with no service packs
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Could you share the map service URL? I'll give a try.
0 Kudos
MichaelKohler
Frequent Contributor
I tried using the ArcGIS.com link from within the REST services directory and it couldn't create a legend either. When I try to see the legend, it says creating legend for a second or two and then says no legend. If I add just a single map layer from the service, it works. Just like my app, the FeatureLayer works but the DynamicMapService doesn't.

We did have an internet issue Tuesday that has not been fully resolved and has a "band-aid". I've noticed a decrease in speed. Is there a time-out on the legend service where it will just return no legend?

the dynamic service is at:
edited

Thanks for any help you may be able to provide. I put a band-aid on the app by adding an image with the legend but would like to get this resolved.
0 Kudos
DominiqueBroux
Esri Frequent Contributor
For the time being, I am not able to access to your server.

I am even not able to resolve the ip address of 'pslgis.cityofpsl.com'.
That might explain your issue.

If, for any reason, your server is no more public, you will have to migrate to 10SP1. In this case, the legend is provided by the server itself instead of arcgis.com.
0 Kudos
MichaelKohler
Frequent Contributor
seems be working again. guess it was issues with our internet going down this week.
0 Kudos