Select to view content in your preferred language

Error message explanation needed

799
2
04-30-2010 01:09 PM
DonFreeman
Emerging Contributor
What does it mean when this code
 <esri:ArcGISDynamicMapServiceLayer ID="BaseMapLayer"  VisibleLayers="0,1,8"
                     Url="http://maps.pagnet.org/arcgis/rest/services/SchoolSearch2/MapServer" />

produces an error that says "Unable to cast object of type Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimativeNode to Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNode? The error is coming from the VisibleLayers property.
Thanks
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
This is bug in Blend 4 RC. I reported it here: http://connect.microsoft.com/Expression/feedback/details/552430/it-is-not-possible-to-create-a-type-... and it was recently marked fixed, so you (hopefully) shouldn't see this when Blend goes final.
0 Kudos
DonFreeman
Emerging Contributor
Thanks Morton. This was really bugging me. 🙂
0 Kudos