Select to view content in your preferred language

Map Layers in Viewer not visible in Deployed Application

736
2
07-31-2012 02:17 PM
JamesStrocel
New Contributor
Hi there,

I am trying to publish a file geodatabase into an ArcGIS Silverlight Viewer application. I'm able to add the layers in the application builder, but when I deploy the application, the layer polygons cannot be seen and when call up the attribute table for the layers, the table says 'The selected layer does not have any attributes that can be displayed.' How can I get my layers to display?
0 Kudos
2 Replies
BrianLeroux
Frequent Contributor
So I think what you are saying is that you published a service using a file geodatabase and when adding the service you do not see any feature. Do you see any features in the builder prior to publishing the map? If you view the service at the rest endpoint usinf the ArcGIS Javascript link, do you see your features? Do you have any scale dependancies set? This may be dumb but in silverlight expand your layer service and make sure your layers are turned on. Also, you are not able to see a table of attributes when you bring in the whole service. Instead try browsing to you service and the service you want and tray adding just 1 layer of that service. Then you will be able to view attributes of that layer. I hope this steers you in the right direction..
0 Kudos
TomMagdaleno
Frequent Contributor
Is the map service cached?  Can you see it if it is not cached?  If you can't see a cached service it may be due to a permission problem in creating the cache on the server.  See if their is data in C:\arcgisserver\directories\arcgiscache\(your service name) folder on the server.  If data is not there you may need to reinstall server or try to recreate the cache.
0 Kudos