Select to view content in your preferred language

"Failed to get the legend info of layer..."

669
2
02-28-2012 05:55 PM
BrianMoran1
Deactivated User
Hello all,

I'm a novice web application developer, and I have been playing around with the configurable template provided in one of ESRI's code samples:
http://www.arcgis.com/home/item.html?id=ad9b257016ab40ee9def89ac2d3db2b3

I've had my fair share of hiccups while playing around with this template, but I've had one I cant seem to solve.  I am attempting to add a layer (map service) from my server which I run on my personal machine onto the application.  This is the syntax I am using

<Layer title="Nuclear Power Plants" serviceType="Dynamic" opacityBar="false" opacity="1.0" visibleInitial="true" toggleLayer="false" visibleLayers="*" refreshRate="0" restURL="http://brian-thinkpad/MoranGISServer/services/power_plants/MapServer" proxyURL="" token=""></Layer>

I feel like it should be working, however when I deploy the application, I get this error message:

[ATTACH=CONFIG]12299[/ATTACH]

followed by another message that the layer has failed to initialize.

Can anyone help me get to the root of this issue?

Thanks a lot!
0 Kudos
2 Replies
BrianMoran1
Deactivated User
Any help/guidance would be greatly appreciated!
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Your question seems very tied to that sample posted on arcgis.com gallery.
You could try to pst your question there.
0 Kudos