Using Local Data - msd?

3243
2
08-11-2011 08:08 AM
Labels (1)
MichaelErlich
New Contributor II
I have assigned a path to a map pack file using the LocalArcGISDynamicMapServiceLayer so that I can read local map data.  When the map control loads, I get the following errors:
"Failed to create service arvada_mp MapServer. Service failed to initialize: The map package is not supported by the ArcGIS Runtime. There is no .msd file available inside the package. Check that it was authored with ArcGIS Runtime support enabled. Error code: 500"

How do I get the msd file created and placed inside the package or is there a different layer type I should be using with the map control?
0 Kudos
2 Replies
MichaelErlich
New Contributor II
Ok figured it out.  Had to create a service definition file, extract the file with a zip utility and then create the map pack with attaching the msd file from the sd file.  Hopefully, there is an easier way?
0 Kudos
MichaelBranscomb
Esri Frequent Contributor
Hi,

Wow, you've certainly gone the roundabout route. But fortunately there is a much easier way to do this - it's just a case of switching on ArcGIS Runtime support in the ArcMap options:

1. Click Customize > ArcMap Options...
2. Select the Sharing tab
3. Under Packaging, check the box to "Enable ArcGIS Runtime Tools".

For more info check out the conceptual docs on Preparing Data:

- High level package info: http://resourcesbeta.arcgis.com/en/help/runtime-wpf/help/#/Packages_used_by_the_ArcGIS_Runtime/01700...

- Creating a Map Package: http://resourcesbeta.arcgis.com/en/help/runtime-wpf/help/#/How_to_create_a_map_package/01700000005t0...


Cheers

Mike
0 Kudos