<?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: Getting &amp;quot;Error while loading layer : Basemap...&amp;quot; in basic .net runtime project in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749057#M9361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks... I too had same problem and got the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 10:20:15 GMT</pubDate>
    <dc:creator>PremaRajanna</dc:creator>
    <dc:date>2016-06-29T10:20:15Z</dc:date>
    <item>
      <title>Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749052#M9356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running a basic .net runtime 10.2.6 project.&amp;nbsp; Here's the workflow...&lt;/P&gt;&lt;P&gt;visual studio 2013 &amp;gt; file &amp;gt; new &amp;gt; project &amp;gt; visual C# &amp;gt; windows desktop &amp;gt; ArcGIS Runtime 10.2.6 for .NET Application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Visual Studio's output window, I'm seeing...&lt;/P&gt;&lt;P&gt;"Error while loading layer : Basemap - Layer could not be added to Map because layer initialization failed. See InnerException for more information."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the InnerException argument to debug statement...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.WriteLine(string.Format("Error while loading layer : {0} - {1} - {2}", e.Layer.ID, e.LoadError.Message, e.LoadError.InnerException));&lt;/P&gt;&lt;P&gt;And it produces...&lt;/P&gt;&lt;P&gt; System.Net.Http.HttpRequestException: Proxy Authorization Required&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Layers.Layer.&amp;lt;InitializeAsync&amp;gt;b__3(Task`1 t)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at System.Threading.Tasks.Task.Execute()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, it uses this as the basemap.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no problem accessing the map through my browser. This URL produces maps everytime, quickly...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%3Ff%3Djsapi" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer?f=jsapi&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 21:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749052#M9356</guid>
      <dc:creator>SeanNakasone</dc:creator>
      <dc:date>2016-01-05T21:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749053#M9357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I setup the same project on my home PC.&amp;nbsp; I tried it on the host PC and on a VM guest.&amp;nbsp; The VM guest has the same issue--missing base map.&amp;nbsp; I turned off the windows firewall to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get the "Proxy Authorization Required" error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run fiddler, it shows the tiles being returned OK, they are just not displaying.&amp;nbsp; This might be a different problem from my work PC, which oddly, turning on fiddler actually causes the app to work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 06:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749053#M9357</guid>
      <dc:creator>SeanNakasone</dc:creator>
      <dc:date>2016-01-06T06:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749054#M9358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Editing the machine.config in&amp;nbsp; C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config&amp;nbsp; fixes the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;...&lt;BR /&gt;place the following at the bottom ...&lt;BR /&gt;&amp;lt;system.net&amp;gt;&lt;BR /&gt;&amp;lt;defaultProxy useDefaultCredentials="true" enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;proxy usesystemdefault="True"/&amp;gt;&lt;BR /&gt;&amp;lt;/defaultProxy&amp;gt;&lt;BR /&gt;&amp;lt;/system.net&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there's anyway to avoid having to do this, please let me know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 19:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749054#M9358</guid>
      <dc:creator>SeanNakasone1</dc:creator>
      <dc:date>2016-01-13T19:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749055#M9359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added that code to the app.config in the visual studio project and that's the answer. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 19:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749055#M9359</guid>
      <dc:creator>SeanNakasone1</dc:creator>
      <dc:date>2016-01-13T19:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749056#M9360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I marked this answered and thanks for sharing the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 10:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749056#M9360</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2016-01-14T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Error while loading layer : Basemap..." in basic .net runtime project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749057#M9361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks... I too had same problem and got the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 10:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-quot-error-while-loading-layer-basemap/m-p/749057#M9361</guid>
      <dc:creator>PremaRajanna</dc:creator>
      <dc:date>2016-06-29T10:20:15Z</dc:date>
    </item>
  </channel>
</rss>

