Hello,
We have been wrestling with this issue for quite awhile - perhaps someone else has encountered this issue and knows the resolution.
Our Silverlight mapping app worked well in SL3, but after the migration to SL4, we began receiving the generic "child of another element" (4009) error in Silverlight. We aren't sure why, but reprojecting the shapefiles from a conical-type to a geographic, cylindrical type resolved the issue. However, the findamental look/feel of the map has changed, and we have tried, unsuccessfully, to force the project to load the conical files.
It was difficult to narrow the line of code that caused the problem, but it appears that DataMapping.Converter.ConvertFromString may have a part to play:
...
If
strStateCounty = "County" Then
reader.DataMapping =
TryCast(converter.ConvertFromString("Name=STATE_FIPS; Label=STATE_NAME; Caption=STATE_NAME"), DataMapping)
It seems that the app does not like Caption=STATE_NAME as removing this bit from this line, and anywhere else that attempts the type conversion, the shapefile will load. Of course, we rely upon that Caption conversion. Additionally, it does not seem like the issue is related to any sort of shapefile corruption as these same exact files work well in our SL3 application; furthermore, I have tried regenerating the files from scratch, and all files load without issue, and behave as expected, in ArcGIS.
We are using v9.2
Thank you.
Just checking if the latest reply helped you out and if you require any further assistance or clarifications.
Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support