AnsweredAssumed Answered


Question asked by empicard on Aug 28, 2012
Latest reply on Oct 18, 2013 by kai_der_kaefer
XMLHttpRequest cannot load Origin http://<myserverIP> is not allowed by Access-Control-Allow-Origin.

I get this in the console.
I've added

<system.webServer>    <httpProtocol>      <customHeaders>        <add name="Access-Control-Allow-Origin" value="*" />      </customHeaders>    </httpProtocol>  </system.webServer>

to C:\inetpub\wwwroot\ArcGIS\rest\Web.Config
and restarted server, as instructed by and

I still get the same error.

AGS server 10.0 JSAPI 3.1