<?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: 'NS_ERROR_FAILURE  location: &amp;quot;JS frame' using v3.2 of the API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726974#M67445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, I'm using the in-built Mountain Lion web server - after looking up &lt;/SPAN&gt;&lt;A href="http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/"&gt;how to configure it&lt;/A&gt;&lt;SPAN&gt; months ago I haven't touched it, and up until now it has "just worked".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL I'm using is &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;file:///Library/WebServer/Documents/demos/test.html&lt;/SPAN&gt;&lt;SPAN&gt; for the simple sample referenced above. This works when using v2.8 but fails when using 3.1 or 3.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried restarting the web server using &lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-family: monospace;"&gt;sudo apachectl restart &lt;/SPAN&gt;&lt;SPAN&gt;but this had no effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2012 21:50:03 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2012-10-11T21:50:03Z</dc:date>
    <item>
      <title>'NS_ERROR_FAILURE  location: &amp;amp;quot;JS frame' using v3.2 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726972#M67443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing a few error messages if I run this &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamic.html" rel="nofollow noopener noreferrer" target="_blank"&gt;simple sample&lt;/A&gt;&lt;SPAN&gt; from a Mac webserver directory. I'm getting the error message below, and the map fails to load:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Error: [Exception... "Failure"&amp;nbsp; nsresult: "0x80004005 (NS_ERROR_FAILURE)"&amp;nbsp; location: "JS frame :: http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2 :: &amp;lt;TOP_LEVEL&amp;gt; :: line 15"&amp;nbsp; data: no]
http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2
Line 15
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]18374[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I revert the code to use v2.8 the error messages disappear and the map loads. This code wasn't causing a problem for me previously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/map_dynamic/index.html" rel="nofollow noopener noreferrer" target="_blank"&gt;live sample&lt;/A&gt;&lt;SPAN&gt; doesn't cause the error message, implying that there's a problem with my web server - what should I be looking at in order to debug this? I'm not aware of having changed anything recently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726972#M67443</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2021-12-12T07:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: 'NS_ERROR_FAILURE  location: "JS frame' using v3.2 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726973#M67444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you elaborate on "Mac webserver directory"? Are you using the apache instance that comes with OSX (that's what I use)? Some other web server? Anvil, perhaps (I personally haven't tried this one yet)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the URL your using to access the sample via your browser?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 21:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726973#M67444</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-10-11T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: 'NS_ERROR_FAILURE  location: "JS frame' using v3.2 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726974#M67445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, I'm using the in-built Mountain Lion web server - after looking up &lt;/SPAN&gt;&lt;A href="http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/"&gt;how to configure it&lt;/A&gt;&lt;SPAN&gt; months ago I haven't touched it, and up until now it has "just worked".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL I'm using is &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;file:///Library/WebServer/Documents/demos/test.html&lt;/SPAN&gt;&lt;SPAN&gt; for the simple sample referenced above. This works when using v2.8 but fails when using 3.1 or 3.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried restarting the web server using &lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-family: monospace;"&gt;sudo apachectl restart &lt;/SPAN&gt;&lt;SPAN&gt;but this had no effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 21:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726974#M67445</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-10-11T21:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: 'NS_ERROR_FAILURE  location: "JS frame' using v3.2 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726975#M67446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Using "file:///Library/WebServer/Documents/demos/test.html" isn't actually using your web server. Your URL needs to start with "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/" rel="nofollow" target="_blank"&gt;http://localhost/&lt;/A&gt;&lt;SPAN&gt;". If I had to guess, try &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://localhost/demos/test.html"&gt;http://localhost/demos/test.html&lt;/A&gt;&lt;SPAN&gt;. Obviously you can use your machine's name or your IP address in place of localhost.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 22:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726975#M67446</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-10-11T22:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: 'NS_ERROR_FAILURE  location: "JS frame' using v3.2 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726976#M67447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, you're obviously right. I don't know why I made that simple mistake.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 22:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ns-error-failure-nbsp-location-amp-amp-quot-js/m-p/726976#M67447</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-10-11T22:30:49Z</dc:date>
    </item>
  </channel>
</rss>

