<?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: LocalServer stopped rendering in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303797#M11955</link>
    <description>&lt;P&gt;I have solved the issue:&amp;nbsp;LocalServer.Instance.AppDataPath was the default location (my user appdata temp folder). My organisation uses roaming profiles and another machine I logged into had an older version of ArcGIS runtime installed, which must have put something into this folder which was incompatible with the latest version. Setting&amp;nbsp;LocalServer.Instance.AppDataPath to a path specific for my app has allowed the layer to render again&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 07:42:23 GMT</pubDate>
    <dc:creator>PhilBastian</dc:creator>
    <dc:date>2023-06-28T07:42:23Z</dc:date>
    <item>
      <title>LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302289#M11942</link>
      <description>&lt;P&gt;I followed the tutorial for setting up a WPF map project from&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/maps-2d/tutorials/display-a-map/," target="_blank"&gt;https://developers.arcgis.com/net/maps-2d/tutorials/display-a-map/,&lt;/A&gt;&amp;nbsp;except using .NET Framework and replacing the reference to the basemap with loading a LocalService&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        private void SetupMap()
        {
            // Create a new map with a 'topographic vector' basemap.
            //Map = new Map(BasemapStyle.ArcGISTopographic);
            Map = new Map();
            var layerService = new LocalMapService(@"C:\temp\MMIS_BaseMap.mpkx");
            layerService.StartAsync().ContinueWith((_) =&amp;gt;
            {
                var layer = new ArcGISMapImageLayer(layerService.Url);
                //Map.Basemap = new Basemap(layer);
                Map.OperationalLayers.Add(layer);
            });
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was all working great, but suddenly the local service stopped rendering, or rather it's only rendering a blank canvas, and I can't work out why.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilBastian_0-1687476044696.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73994i547F4573F7DC292D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilBastian_0-1687476044696.png" alt="PhilBastian_0-1687476044696.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilBastian_1-1687476161930.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73995iA30404016A009D0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilBastian_1-1687476161930.png" alt="PhilBastian_1-1687476161930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;any ideas why? Potentially related is this error in the xaml? I have the&amp;nbsp;&lt;SPAN&gt;Ar&lt;/SPAN&gt;&lt;SPAN&gt;c&lt;/SPAN&gt;&lt;SPAN&gt;G&lt;/SPAN&gt;&lt;SPAN&gt;IS Runtime Local Server SDK installed, but there doesn't appear to be any SDK installation that would put a runtime folder in the visual studio folder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilBastian_3-1687476335645.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73997i96B25290533FF4D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilBastian_3-1687476335645.png" alt="PhilBastian_3-1687476335645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Windows 10, VS2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 23:29:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302289#M11942</guid>
      <dc:creator>PhilBastian</dc:creator>
      <dc:date>2023-06-22T23:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302299#M11943</link>
      <description>&lt;P&gt;did you mean the basemap not showing up?&lt;/P&gt;&lt;P&gt;Uncomment below line to use basemap:&lt;/P&gt;&lt;PRE&gt;//Map = new Map(BasemapStyle.ArcGISTopographic);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 23:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302299#M11943</guid>
      <dc:creator>ParhatM</dc:creator>
      <dc:date>2023-06-22T23:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302304#M11944</link>
      <description>&lt;P&gt;no, i commented that out on purpose so that it was possible to see the issue. The issue is the layer served by the local map service is rendering as blank&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 00:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1302304#M11944</guid>
      <dc:creator>PhilBastian</dc:creator>
      <dc:date>2023-06-23T00:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303740#M11952</link>
      <description>&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;Might be a silly question, but did you check if the localserver is running?&lt;/P&gt;&lt;P&gt;You can check with&amp;nbsp;&lt;SPAN&gt;LocalServer.Instance.Status or check and monitor the services with the sample:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/local-server-services/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/local-server-services/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 04:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303740#M11952</guid>
      <dc:creator>sjones_esriau</dc:creator>
      <dc:date>2023-06-28T04:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303768#M11953</link>
      <description>&lt;P&gt;Thanks: I have confirmed that&amp;nbsp;LocalServer.Instance.Status is 'Started'. Also, the screenshot of Edge shows the map export request directly from the service rest endpoint&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303768#M11953</guid>
      <dc:creator>PhilBastian</dc:creator>
      <dc:date>2023-06-28T06:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer stopped rendering</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303797#M11955</link>
      <description>&lt;P&gt;I have solved the issue:&amp;nbsp;LocalServer.Instance.AppDataPath was the default location (my user appdata temp folder). My organisation uses roaming profiles and another machine I logged into had an older version of ArcGIS runtime installed, which must have put something into this folder which was incompatible with the latest version. Setting&amp;nbsp;LocalServer.Instance.AppDataPath to a path specific for my app has allowed the layer to render again&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 07:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/localserver-stopped-rendering/m-p/1303797#M11955</guid>
      <dc:creator>PhilBastian</dc:creator>
      <dc:date>2023-06-28T07:42:23Z</dc:date>
    </item>
  </channel>
</rss>

