<?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: AGS: Network element evaluator error: Script control error -2147352319 in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/ags-network-element-evaluator-error-script-control/m-p/58740#M581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case anyone finds this again, this issue was caused by a bug that was fixed in the 10.5.1 release.&amp;nbsp; See&amp;nbsp;&lt;A href="https://community.esri.com/thread/197171-network-analyst-script-control-error"&gt;https://community.esri.com/thread/197171-network-analyst-script-control-error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 22:58:09 GMT</pubDate>
    <dc:creator>MelindaMorang</dc:creator>
    <dc:date>2018-05-11T22:58:09Z</dc:date>
    <item>
      <title>AGS: Network element evaluator error: Script control error -2147352319</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/ags-network-element-evaluator-error-script-control/m-p/58739#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a Network Dataset (ArcGIS 10.3.1) with some script evaluators in VBScript. In ArcGIS Desktop I can calculate routes without any issues.&lt;/P&gt;&lt;P&gt;I published the Network Dataset to ArcGIS Server as a Network Analyst service on one machine that had both ArcGIS Desktop and Server installed. I can calculate routes using this service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I published the Network Dataset to a server with only ArcGIS Server. Same Network Dataset and importing the settings from the service on the other server. Same OS: Windows Server 2012 R2 Standard.&lt;/P&gt;&lt;P&gt;When I now try to calculate a route, I get errors:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The evaluator failed to return a value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Attribute: HeightRestriction, Source: FT_Fairway_Downstream, OID = 1520, EID = 4327.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Network element evaluator error.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Script Control Error - 2147352319.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that when changing the script evaluators to Python code for the mentioned evaluator, the error does'nt show up for this evaluator (still for others that are in VBScript).&lt;/P&gt;&lt;P&gt;As Python code is said to be slower and I have many script evaluators, how can I solve this while still using VBScript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thibaut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;I installed ArcGIS desktop on the second server with AGS without license (as I don't have one for this machine) and now I can calculate routes. So why do I need to install ArcGIS Desktop to be able to use VBScript script evaluators in a network server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/ags-network-element-evaluator-error-script-control/m-p/58739#M580</guid>
      <dc:creator>ThibautDelaere1</dc:creator>
      <dc:date>2017-01-06T11:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: AGS: Network element evaluator error: Script control error -2147352319</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/ags-network-element-evaluator-error-script-control/m-p/58740#M581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case anyone finds this again, this issue was caused by a bug that was fixed in the 10.5.1 release.&amp;nbsp; See&amp;nbsp;&lt;A href="https://community.esri.com/thread/197171-network-analyst-script-control-error"&gt;https://community.esri.com/thread/197171-network-analyst-script-control-error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 22:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/ags-network-element-evaluator-error-script-control/m-p/58740#M581</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2018-05-11T22:58:09Z</dc:date>
    </item>
  </channel>
</rss>

