<?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 No 'Access-Control-Allow-Origin' header is present on the requested resource. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607169#M23352</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 made a gp tool using the model builder. the tool&amp;nbsp; is making an intersection between a point layer and a line layer.&lt;/P&gt;&lt;P&gt;I published the gp tool to my GIS server and I want to use it in WAB. So I from&amp;nbsp;the GP widget&amp;nbsp;I chose the GP tool in my server.&lt;/P&gt;&lt;P&gt;when I executed the tool I get no results and in the browser console I get this error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MLHttpRequest cannot load&lt;/STRONG&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%2Fmapateva.org.il%2Farcgis%2Frest%2Fservices%2FTools%2FSelectingRoadKillsByRoadNumber%2FGPServer%2FSelect%2520Road%2520Kills%2520By%2520Road%2520Number%2Fexecute" rel="nofollow" target="_blank"&gt;http://mapateva.org.il/arcgis/rest/services/Tools/SelectingRoadKillsByRoadNumber/GPServer/Select%20Road%20Kills%20By%20Road%20Number/execute&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;STRONG&gt;No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin&lt;/STRONG&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%2Fdeshe.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://deshe.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;STRONG&gt;is therefore not allowed access.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do I need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dikla.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 16:25:07 GMT</pubDate>
    <dc:creator>SPNIOrganization</dc:creator>
    <dc:date>2017-04-27T16:25:07Z</dc:date>
    <item>
      <title>No 'Access-Control-Allow-Origin' header is present on the requested resource.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607169#M23352</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 made a gp tool using the model builder. the tool&amp;nbsp; is making an intersection between a point layer and a line layer.&lt;/P&gt;&lt;P&gt;I published the gp tool to my GIS server and I want to use it in WAB. So I from&amp;nbsp;the GP widget&amp;nbsp;I chose the GP tool in my server.&lt;/P&gt;&lt;P&gt;when I executed the tool I get no results and in the browser console I get this error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MLHttpRequest cannot load&lt;/STRONG&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%2Fmapateva.org.il%2Farcgis%2Frest%2Fservices%2FTools%2FSelectingRoadKillsByRoadNumber%2FGPServer%2FSelect%2520Road%2520Kills%2520By%2520Road%2520Number%2Fexecute" rel="nofollow" target="_blank"&gt;http://mapateva.org.il/arcgis/rest/services/Tools/SelectingRoadKillsByRoadNumber/GPServer/Select%20Road%20Kills%20By%20Road%20Number/execute&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;STRONG&gt;No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin&lt;/STRONG&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%2Fdeshe.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://deshe.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;STRONG&gt;is therefore not allowed access.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do I need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dikla.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 16:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607169#M23352</guid>
      <dc:creator>SPNIOrganization</dc:creator>
      <dc:date>2017-04-27T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: No 'Access-Control-Allow-Origin' header is present on the requested resource.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607170#M23353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you need to add the server in config.json file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"authorizedCrossOriginDomains": [&lt;BR /&gt; "deshe.maps.arcgis.com" ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 15:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607170#M23353</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2017-05-05T15:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: No 'Access-Control-Allow-Origin' header is present on the requested resource.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607171#M23354</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;For testing i use CORS module (exist on chrome and firefox). It add the Allow-Cross-Origin on the response request header automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 15:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/no-access-control-allow-origin-header-is-present/m-p/607171#M23354</guid>
      <dc:creator>DE_WAZIERESFLORENT</dc:creator>
      <dc:date>2017-07-06T15:11:31Z</dc:date>
    </item>
  </channel>
</rss>

