<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: failed to load mmpk in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316297#M3707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can you give me the full program ? i didn't find on the Guide any thing about (.mmpk) , do i have to featureLayers with it or ArcgisMapImageLayer() ? need more explanation about it&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2017 16:20:23 GMT</pubDate>
    <dc:creator>ManelKEDDAR</dc:creator>
    <dc:date>2017-08-24T16:20:23Z</dc:date>
    <item>
      <title>failed to load mmpk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316295#M3705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i wonder if the runtime supports to load .mmpk file , i have .mmpk with (a map and operational Layer) when i tired to load the (.mmpk) with local map server it fails and i have the following exception&amp;nbsp;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Http.ArcGISWebexception&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"Failed to create service symbolswithbasemap MapServer. Service failed to initialize: IObjectConstruct::Construct (MapServer) hr=0x80043000 (ErrorInfo did not include a description)"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private async void StartupLocalServer()&lt;BR /&gt; {&lt;BR /&gt; // Createa local map service from a map package on disk&lt;/P&gt;&lt;P&gt;var mapService = new LocalMapService(@"C:\Users\mkeddar\Desktop\mappackage\SymbolsWithBasemap.mmpk");&lt;/P&gt;&lt;P&gt;//get the service URL&lt;BR /&gt; var mapServiceUrl = mapService.Url;&lt;BR /&gt; await mapService.StartAsync();&lt;BR /&gt; //create a new ArcGISMAPImageLayer&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer localServiceLayer = new Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer(mapServiceUrl);&lt;BR /&gt; await localServiceLayer.LoadAsync();&lt;BR /&gt; //dd the layer to the map &lt;BR /&gt; MyMapView.Map = new Esri.ArcGISRuntime.Mapping.Map();&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(localServiceLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've shared my .MMPK and my Map &amp;nbsp;please tell me if it's supported cause when i checked &amp;nbsp;local server support package i didn't see (.mmpk) files and even (.slpk)&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/guide/local-server-package-support.htm" title="https://developers.arcgis.com/net/latest/wpf/guide/local-server-package-support.htm"&gt;Local Server package support—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:57:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316295#M3705</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-24T14:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: failed to load mmpk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316296#M3706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To open an mmpk use&amp;nbsp;MobileMapPackage.OpenAsync(string path)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316296#M3706</guid>
      <dc:creator>MaraStoica4</dc:creator>
      <dc:date>2017-08-24T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: failed to load mmpk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316297#M3707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can you give me the full program ? i didn't find on the Guide any thing about (.mmpk) , do i have to featureLayers with it or ArcgisMapImageLayer() ? need more explanation about it&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316297#M3707</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-24T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: failed to load mmpk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316298#M3708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below are some resources for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mobile Map Packages:&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-map-package.htm" title="http://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-map-package.htm"&gt;Mobile map package—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using offline map in Runtime SDK for .NET:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/guide/offline.htm" title="https://developers.arcgis.com/net/latest/wpf/guide/offline.htm"&gt;Offline—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code to open an MMPK:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/ba801b4e9593b52aaf1b8f713f5ae878a23e2077/src/WPF/ArcGISRuntime.WPF.Samples/Samples/Map/OpenMobileMap/OpenMobileMap.xaml.cs" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/ba801b4e9593b52aaf1b8f713f5ae878a23e2077/src/WPF/ArcGISRuntime.WPF.Samples/Samples/Map/OpenMobileMap/OpenMobileMap.xaml.cs"&gt;arcgis-runtime-samples-dotnet/OpenMobileMap.xaml.cs at ba801b4e9593b52aaf1b8f713f5ae878a23e2077 · Esri/arcgis-runtime-sa…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WPF example app that uses mobile map packages:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/mapbook-wpf/wiki" title="https://github.com/Esri/mapbook-wpf/wiki"&gt;Home · Esri/mapbook-wpf Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:39:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/failed-to-load-mmpk/m-p/316298#M3708</guid>
      <dc:creator>MaraStoica4</dc:creator>
      <dc:date>2017-08-24T16:39:19Z</dc:date>
    </item>
  </channel>
</rss>

