AnsweredAssumed Answered

ArcGIS pre-requisites not loading on Windows Server 2012?

Question asked by topgun743 on May 19, 2017
Latest reply on May 24, 2017 by mirhashmi2014

I am using ArcGIS javascript API 4.3 for loading map in my Asp.Net MVC web application.


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.


I am using following script headers related to ArcGIS core files:


<link rel="stylesheet" href="">

<script src=""></script>


I am suspecting it might be an issue of CORS.


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.