<?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: XMLHttpRequest cannot load error with v3.2 samples in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203234#M18857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have been working on migrating from v2.8 to v3.2; among other complications, the "XMLHttpRequest cannot load..." error error shown below is being thrown.&amp;nbsp; This error also appears to be thrown when browsing to all of the live samples for the ArcGIS Javascript API v3.2 located at &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm&lt;/A&gt;.&amp;nbsp; Any ideas how to work around this error being thrown? &lt;BR /&gt;&lt;BR /&gt;XMLHttpRequest cannot load &lt;A href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;. Origin &lt;A href="http://help.arcgis.com"&gt;http://help.arcgis.com&lt;/A&gt; is not allowed by Access-Control-Allow-Origin.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Josh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;read this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466"&gt;http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Davide&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 07:11:35 GMT</pubDate>
    <dc:creator>DavideLimosani</dc:creator>
    <dc:date>2012-10-29T07:11:35Z</dc:date>
    <item>
      <title>XMLHttpRequest cannot load error with v3.2 samples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203233#M18856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been working on migrating from v2.8 to v3.2; among other complications, the "XMLHttpRequest cannot load..." error error shown below is being thrown.&amp;nbsp; This error also appears to be thrown when browsing to all of the live samples for the ArcGIS Javascript API v3.2 located at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Any ideas how to work around this error being thrown? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;. Origin &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com" rel="nofollow" target="_blank"&gt;http://help.arcgis.com&lt;/A&gt;&lt;SPAN&gt; is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 16:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203233#M18856</guid>
      <dc:creator>JoshuaDell</dc:creator>
      <dc:date>2012-10-28T16:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: XMLHttpRequest cannot load error with v3.2 samples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203234#M18857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have been working on migrating from v2.8 to v3.2; among other complications, the "XMLHttpRequest cannot load..." error error shown below is being thrown.&amp;nbsp; This error also appears to be thrown when browsing to all of the live samples for the ArcGIS Javascript API v3.2 located at &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm&lt;/A&gt;.&amp;nbsp; Any ideas how to work around this error being thrown? &lt;BR /&gt;&lt;BR /&gt;XMLHttpRequest cannot load &lt;A href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;. Origin &lt;A href="http://help.arcgis.com"&gt;http://help.arcgis.com&lt;/A&gt; is not allowed by Access-Control-Allow-Origin.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Josh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;read this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466"&gt;http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Davide&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203234#M18857</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-10-29T07:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: XMLHttpRequest cannot load error with v3.2 samples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203235#M18858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link, specifically the reply shown below was helpful. I don't usually like to ignore errors, but I'll just ignore this one and move on.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This error can be ignored - here's a blurb from the help on this error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic detection of CORS support. This is done by attempting to access the /&amp;lt;instance-name&amp;gt;/rest/info endpoint of any ArcGIS server instance used in an ArcGIS API for JavaScript application. For servers that do not support CORS, this request will fail and an error will be logged to the browser's developer console. This can be observed in most of the API's samples as the majority of the servers used do not support CORS. This error can safely be ignored. There are cases where the API will not send a request to /&amp;lt;instance-name&amp;gt;/rest/info and are as follows:&lt;BR /&gt;The browser does not support CORS&lt;BR /&gt;The Server is already listed in esri.config.defaults.io.corsEnabledServers&lt;BR /&gt;esri.config.defaults.io.corsDetection is false&lt;BR /&gt;JSON is used instead of JSONP in the following cases:&lt;BR /&gt;The resource being fetched is on the same domain as the application&lt;BR /&gt;The resource being fetched is on a server that supports CORS&lt;BR /&gt;&lt;BR /&gt;To read the blurb in context see the API reference for esri.request&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/jav...space_esri.htm" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/jav...space_esri.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 14:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/xmlhttprequest-cannot-load-error-with-v3-2-samples/m-p/203235#M18858</guid>
      <dc:creator>JoshuaDell</dc:creator>
      <dc:date>2012-11-01T14:28:35Z</dc:date>
    </item>
  </channel>
</rss>

