Select to view content in your preferred language

VisibleLayers error

602
2
12-02-2010 07:29 AM
DonFreeman
Emerging Contributor
My app has been using this line without a problem for a couple of weeks. It still runs OK now but the VisibleLayers setting is producing an error in the editor. It says "Unable to cast object of type Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimativeNode to Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNode." What does this mean and how do I fix it?

<esri:ArcGISDynamicMapServiceLayer ID="SchoolSearch3" 
 Url="http://198.182.104.173/ArcGIS/rest/services/SchoolSearch3/MapServer"
 VisibleLayers="0,1"  />
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Unfortunately this is a bug in the design view of VS2010.
Your code will still compile and run though.
0 Kudos
DonFreeman
Emerging Contributor
Unfortunately this is a bug in the design view of VS2010.
Your code will still compile and run though.


Good to know.
Thanks
0 Kudos