versaterm001

Error when using basemap layer

Discussion created by versaterm001 on Oct 19, 2011
Latest reply on Oct 20, 2011 by versaterm001
I've just started working with ArcGIS Runtime.  Unfortunately, I have no ArcView background, so I'm not sure if I'm doing something wrong or 'stupid'.

I created a very simple map with 3 layers, river,city boundaries and airports.  If I just add them and build a MapPackage and run using :

<Window x:Class="Test1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:esri="http://schemas.esri.com/arcgis/client/2009"
        Title="MainWindow" Height="350" Width="525">
   
    <Grid>
        <esri:Map x:Name="MyMap">

           <esri:LocalArcGISDynamicMapServiceLayer ID="LocalDynamicLayers" Path="portland.mpk" />
         </esri:Map>

    </Grid>
</Window>

everything work fine.  If I place the 3 layers in a Group Layer, again it works fine, but if I put them in Basemap layer then I get the following error:

"Failed to create service portland MapServer. SharedMemoryLinkClosedException Error code: 500"

Needless to say I started the other way around and it took a while to realize my problem.

Outcomes