<?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: Error creating RouteTask  in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710519#M8939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the exact same issue, only for WPF instead of android. My NAS works for 10.2.7 and in ARCMap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2020 16:52:52 GMT</pubDate>
    <dc:creator>JasonStearns</dc:creator>
    <dc:date>2020-01-09T16:52:52Z</dc:date>
    <item>
      <title>Error creating RouteTask</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710518#M8938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm writing a mobile Xamarin Android app that uses a network analysis service (NAS) to find routes.&lt;BR /&gt;This is my work environment:&lt;BR /&gt;Windows 10 Pro (v. 1809)&lt;BR /&gt;Visual Studio 2017 Community with Xamarin&lt;BR /&gt;ArcGIS Runtime SDK for .Net (v. 100.4.0; I also tried with v. 100.5.0)&lt;BR /&gt;Xamarin.Android... library packages (v. 27.0.2.1; I also tried with v. 28.0.0.1)&lt;BR /&gt;ArcGIS Server 10.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NAS uri is http://geoservizi.iuav.it:6080/arcgis/rest/services/network/venezia_network/NAServer/Route&lt;/P&gt;&lt;P&gt;To create a route task I use this code:&lt;/P&gt;&lt;P&gt;System.Uri myNasUri = new System.Uri("http://geoservizi.iuav.it:6080/arcgis/rest/services/network/venezia_network/NAServer/Route");&lt;BR /&gt;RouteTask solveRouteTask = await RouteTask.CreateAsync(myNasUri);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the app I catch this error:&lt;/P&gt;&lt;P&gt;Error: Esri.ArcGISRuntime.ArcGISRuntimeException: Internal error: Data type Unknown&lt;BR /&gt; at Esri.ArcGISRuntime.Tasks.NetworkAnalysis.RouteTask+&amp;lt;CreateAsync&amp;gt;d__11.MoveNext () [0x0005f] in C:\daily_r\api_xam\dotnet\api\src\Esri.ArcGISRuntime\Esri.ArcGISRuntime.Shared\Tasks\NetworkAnalysis\RouteTask.cs:100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use another (more simple) NAS at http://geoservizi.iuav.it:6080/arcgis/rest/services/network/test3_service/NAServer/Route no error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, if I load in ArcMap the NAS that causes the error, and then I try to find a route with the Find Route tool, everything works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what can cause the error?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 11:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710518#M8938</guid>
      <dc:creator>MassimoMazzanti</dc:creator>
      <dc:date>2019-05-03T11:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating RouteTask</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710519#M8939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the exact same issue, only for WPF instead of android. My NAS works for 10.2.7 and in ARCMap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 16:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710519#M8939</guid>
      <dc:creator>JasonStearns</dc:creator>
      <dc:date>2020-01-09T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating RouteTask</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710520#M8940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you retest with 100.7?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 18:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710520#M8940</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-01-09T18:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating RouteTask</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710521#M8941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved the problem by following the tips in this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/233541"&gt;Transit Evaluator app error on ArcGIS Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the app run correctly using 100.x SDK version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 08:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-creating-routetask/m-p/710521#M8941</guid>
      <dc:creator>MassimoMazzanti</dc:creator>
      <dc:date>2020-01-10T08:10:24Z</dc:date>
    </item>
  </channel>
</rss>

