<?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 Exception loading mpk file in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-loading-mpk-file/m-p/408970#M4843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load mpk file called "l_3" using LocalMapService and get this exception&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Failed to create service l_3 MapServer. Service failed to initialize: Error unpacking map package hr=0x80004005 (No ErrorInfo)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code:&lt;/P&gt;&lt;P&gt;var mapService = new LocalMapService(fileName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;await mapService.StartAsync();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StartAsync throws the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can open the same mpk file on&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ArcGIS Pro without any problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2020 14:38:28 GMT</pubDate>
    <dc:creator>YaronAvraham</dc:creator>
    <dc:date>2020-01-21T14:38:28Z</dc:date>
    <item>
      <title>Exception loading mpk file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-loading-mpk-file/m-p/408970#M4843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load mpk file called "l_3" using LocalMapService and get this exception&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Failed to create service l_3 MapServer. Service failed to initialize: Error unpacking map package hr=0x80004005 (No ErrorInfo)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code:&lt;/P&gt;&lt;P&gt;var mapService = new LocalMapService(fileName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;await mapService.StartAsync();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StartAsync throws the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can open the same mpk file on&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ArcGIS Pro without any problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-loading-mpk-file/m-p/408970#M4843</guid>
      <dc:creator>YaronAvraham</dc:creator>
      <dc:date>2020-01-21T14:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exception loading mpk file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-loading-mpk-file/m-p/408971#M4844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some questions and things to check:&lt;/P&gt;&lt;P&gt;- What are the contents of the mpk? like types of layers, any networks etc.&lt;/P&gt;&lt;P&gt;- What version of ArcGIS Runtime SDK .Net / are you you using?&lt;/P&gt;&lt;P&gt;- If you put a try catch around StartAsync() do you get any additional information?&lt;/P&gt;&lt;P&gt;- Sometimes output window prints out relevant information too. Do you see anything written out there that may be associated to this mpk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 21:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-loading-mpk-file/m-p/408971#M4844</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2020-01-21T21:58:10Z</dc:date>
    </item>
  </channel>
</rss>

