<?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: ArcGIS pre-requisites not loading on Windows Server 2012? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-pre-requisites-not-loading-on-windows/m-p/715480#M66514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Faisal,&lt;/P&gt;&lt;P&gt;If you are testing your solution in a browser on the server machine itself check through your network tab in developers tool that it downloaded all scripts successfully. &amp;nbsp;Generally, due to security policy on&amp;nbsp;server machines it's behavior is different than client machines or in some cases it may be blocking asynchronous calls in the background. &amp;nbsp;Also as you suspect, it could be the CORS issue. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 07:49:13 GMT</pubDate>
    <dc:creator>MirHashmi</dc:creator>
    <dc:date>2017-05-24T07:49:13Z</dc:date>
    <item>
      <title>ArcGIS pre-requisites not loading on Windows Server 2012?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-pre-requisites-not-loading-on-windows/m-p/715479#M66513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGIS javascript API 4.3 for loading map in my Asp.Net MVC web application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The map loads fine on my local machine but it does not load when I deploy my build on the server machine which is a Windows Server 2012 machine, the map does not load up and browser console complains something about "require" function not defined. I checked on my peer developer's machine and on that also map loads correctly but on server it still does not load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following script headers related to ArcGIS core files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.3%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.3/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.3%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.3/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am suspecting it might be an issue of CORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please guide me what should I do to fix this issue? Please elaborate the solution as I don't know details of CORS much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 16:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-pre-requisites-not-loading-on-windows/m-p/715479#M66513</guid>
      <dc:creator>FaisalMushtaq</dc:creator>
      <dc:date>2017-05-19T16:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS pre-requisites not loading on Windows Server 2012?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-pre-requisites-not-loading-on-windows/m-p/715480#M66514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Faisal,&lt;/P&gt;&lt;P&gt;If you are testing your solution in a browser on the server machine itself check through your network tab in developers tool that it downloaded all scripts successfully. &amp;nbsp;Generally, due to security policy on&amp;nbsp;server machines it's behavior is different than client machines or in some cases it may be blocking asynchronous calls in the background. &amp;nbsp;Also as you suspect, it could be the CORS issue. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-pre-requisites-not-loading-on-windows/m-p/715480#M66514</guid>
      <dc:creator>MirHashmi</dc:creator>
      <dc:date>2017-05-24T07:49:13Z</dc:date>
    </item>
  </channel>
</rss>

