<?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: Display a map WPF App: Map is blank - No such host is known error in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584274#M13278</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;It sounds like the SDK isn’t able to reach Esri’s basemap styles service, which is why you’re seeing the “No such host is known” error. This error typically indicates that the client can’t resolve or reach the hostname.&lt;/P&gt;&lt;P&gt;Here are a few things to check:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Verify that your machine has a stable Internet connection and isn’t behind a firewall or proxy that might be blocking requests.&lt;/LI&gt;&lt;LI&gt;Even though the error is DNS-related, it’s always good to double-check that your API key is set correctly in your App.xaml.cs file.&lt;/LI&gt;&lt;LI&gt;Try clearing DNS cache to resolve connectivity problem.&lt;/LI&gt;&lt;LI&gt;If the issue persists, try using another basemap style in case there's a temporary issue with the default one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Map = new Map(BasemapStyle.ArcGISImagery);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if these steps help or if you need further assistance.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 22:47:41 GMT</pubDate>
    <dc:creator>pnarkhede</dc:creator>
    <dc:date>2025-02-11T22:47:41Z</dc:date>
    <item>
      <title>Display a map WPF App: Map is blank - No such host is known error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584120#M13277</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I'm new to this and trying to follow the display a map tutorial:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;All seems to be good until I run the app at which time I see a blank, white map with the "powered by esri" label at the bottom.&amp;nbsp; The output window has the following errors:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ArcGIS Maps SDK: Load Error: Basemap&lt;BR /&gt;System.Net.Http.HttpRequestException&lt;BR /&gt;No such host is known. (basemapstyles-api.arcgis.com:443)&lt;BR /&gt;ArcGIS Maps SDK: Load Error: Map&lt;BR /&gt;System.Net.Http.HttpRequestException&lt;BR /&gt;No such host is known. (basemapstyles-api.arcgis.com:443)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;before starting, I created a&lt;SPAN&gt;&amp;nbsp;Location Platform Account and API Key as per the tutorials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any idea where the issue may be?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 17:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584120#M13277</guid>
      <dc:creator>bwl</dc:creator>
      <dc:date>2025-02-11T17:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display a map WPF App: Map is blank - No such host is known error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584274#M13278</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;It sounds like the SDK isn’t able to reach Esri’s basemap styles service, which is why you’re seeing the “No such host is known” error. This error typically indicates that the client can’t resolve or reach the hostname.&lt;/P&gt;&lt;P&gt;Here are a few things to check:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Verify that your machine has a stable Internet connection and isn’t behind a firewall or proxy that might be blocking requests.&lt;/LI&gt;&lt;LI&gt;Even though the error is DNS-related, it’s always good to double-check that your API key is set correctly in your App.xaml.cs file.&lt;/LI&gt;&lt;LI&gt;Try clearing DNS cache to resolve connectivity problem.&lt;/LI&gt;&lt;LI&gt;If the issue persists, try using another basemap style in case there's a temporary issue with the default one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Map = new Map(BasemapStyle.ArcGISImagery);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if these steps help or if you need further assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 22:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584274#M13278</guid>
      <dc:creator>pnarkhede</dc:creator>
      <dc:date>2025-02-11T22:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display a map WPF App: Map is blank - No such host is known error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584476#M13280</link>
      <description>&lt;P&gt;Thanks for reply.&amp;nbsp; I believe I've ruled out 2, 3, and 4.&amp;nbsp; &amp;nbsp;I was trying this on my office network where there is indeed a proxy server, so I think that is cause.&amp;nbsp; Also, I tried the same tutorial on my home machine and it worked fine.&amp;nbsp; Looks like I will need to look into if there is a way to work around the proxy issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 15:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/display-a-map-wpf-app-map-is-blank-no-such-host-is/m-p/1584476#M13280</guid>
      <dc:creator>bwl</dc:creator>
      <dc:date>2025-02-12T15:51:14Z</dc:date>
    </item>
  </channel>
</rss>

