<?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: Error ArcGIS API for Javascript v3.1 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399786#M36838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...and your app is definitely referencing the API the same way?&lt;BR /&gt;&lt;BR /&gt;Just humour me, put this in your application page &lt;STRONG&gt;before&lt;/STRONG&gt; the script element used to load the API:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;script type="text/javascript"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var dojoConfig = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl:"http://localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo/"
&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;lt;/script&amp;gt;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankssssssss. I resolve my problem with this code &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much for the help!! Now my web app work correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But why in Api &amp;lt; 3.0 this code is not necessary? And in the documentation isn't specified!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the localapitest.htm there isn't this code but work good! I don't understand.....but i'm happy &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:15:28 GMT</pubDate>
    <dc:creator>KristianLucido</dc:creator>
    <dc:date>2021-12-11T18:15:28Z</dc:date>
    <item>
      <title>Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399766#M36818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a big problem with the new Api for Javascript. :confused: In my web app i have the version 2.7 and run correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i upgrade my webapp at version 3.1 i have this problem. I did the correct installation of the API. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Put the Api in a local webserver and change the configuration of "init.js" and "dojo.js" with correct parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is the result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17910[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for the answer! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399766#M36818</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T07:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399767#M36819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What does that screenshot tell you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399767#M36819</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T07:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399768#M36820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What does that screenshot tell you?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The url of the request is not correct! Of course the result is the error 404 Not found! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the url is not correct? Can i change this url? There is a problem in my configuration? I don't understand!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399768#M36820</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T07:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399769#M36821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, paths need to be set - did you follow the installation instructions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, as you're migrating from 2.7 to 3.1 it's probably worth reading &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399769#M36821</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399770#M36822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, paths need to be set - did you follow the installation instructions?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yes of course! i follow the instruction and put the correct parameters of my webserver in the "init.js" and "dojo.js".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did for try the test code in the installation guide and the map run correctly but in my web app i have this error!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399770#M36822</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T08:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399771#M36823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you put your application in a webserver? It is needed from 3.0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399771#M36823</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-09-24T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399772#M36824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;did you put your application in a webserver? It is needed from 3.0&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399772#M36824</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399773#M36825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please show us the path you have used to the JS API and also what you've got in your dojoConfig etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The base URL being used to retrieve resources is incorrect, we just need to work out why.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399773#M36825</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T08:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399774#M36826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Please show us the path you have used to the JS API and also what you've got in your dojoConfig etc.&lt;BR /&gt;&lt;BR /&gt;The base URL being used to retrieve resources is incorrect, we just need to work out why.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My Arcgis Api is in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\xampp\htdocs\arcgis_js_api\library\3.1\jsapi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in the configuration i put this url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;192.168.13.56/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;192.168.13.56 is my local ip in my network...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399774#M36826</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T09:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399775#M36827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My Arcgis Api is in:&lt;BR /&gt;&lt;BR /&gt;C:\xampp\htdocs\arcgis_js_api\library\3.1\jsapi&lt;BR /&gt;&lt;BR /&gt;and in the configuration i put this url:&lt;BR /&gt;&lt;BR /&gt;localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo &lt;BR /&gt;or &lt;BR /&gt;192.168.13.56/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo&lt;BR /&gt;&lt;BR /&gt;192.168.13.56 is my local ip in my network...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....and where is your application (web page) relative to the API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...and exactly what have you set in your dojoConfig?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:05:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399775#M36827</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T09:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399776#M36828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;....and where is your application (web page) relative to the API?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\xampp\htdocs\&amp;lt;name of webapp&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399776#M36828</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T09:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399777#M36829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to be sure...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;those errors are very similar to mine when I call a page with api &amp;gt; 3.0 with the phisycal path "file:///C:/inetpub/wwwroot/test.html" instead of "localhost/test.html". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you calling your page in the proper way, right? In this case, are esri samples working on your webserver?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399777#M36829</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-09-24T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399778#M36830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I hope we don't need to know about physical paths, only about the virtual paths provided by the web server.&amp;nbsp; (otherwise Davide is probably going to be correct! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the &amp;lt;script&amp;gt; element where you reference the API what have you got in the src attribute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399778#M36830</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T09:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399779#M36831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Just to be sure...&lt;BR /&gt;&lt;BR /&gt;those errors are very similar to mine when I call a page with api &amp;gt; 3.0 with the phisycal path "file:///C:/inetpub/wwwroot/test.html" instead of "localhost/test.html". &lt;BR /&gt;&lt;BR /&gt;Are you calling your page in the proper way, right? In this case, are esri samples working on your webserver?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes is very similar...but i call my web page with the correct url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;localhost/&amp;lt;name of web app&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;192.168.13.56/&amp;lt;name of web app&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The esri samlpes run correctly. I use the sample in the installation guide and run!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the configuration for dojoConfig?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the code for include the API&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.13.56/arcgis_js_api/library/3.1/jsapi" rel="nofollow" target="_blank"&gt;http://192.168.13.56/arcgis_js_api/library/3.1/jsapi&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399779#M36831</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399780#M36832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Save the attached file (localapitest.htm) to the root of your site, in your case that appears to be C:\xampp\htdocs\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The click this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/localapitest.htm"&gt;http://localhost/localapitest.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(it's just the sample file from the API zip)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you see?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(need to zip attachement to upload)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:28:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399780#M36832</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399781#M36833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Save the attached file (localapitest.htm) to the root of your site, in your case that appears to be C:\xampp\htdocs\&lt;BR /&gt;&lt;BR /&gt;The click this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/localapitest.htm"&gt;http://localhost/localapitest.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(it's just the sample file from the API zip)&lt;BR /&gt;&lt;BR /&gt;What do you see?&lt;BR /&gt;&lt;BR /&gt;(need to zip attachement to upload)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have this file in my zip Api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i try the example in the installation guide. this is the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/html4/strict.dtd" rel="nofollow" target="_blank"&gt;http://www.w3.org/TR/html4/strict.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Simple Map&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dijit/themes/tundra/tundra.css" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dijit/themes/tundra/tundra.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.1/jsapi/" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.1/jsapi/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("esri.map");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function init() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myMap = new esri.Map("mapDiv");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //note that if you do not have public Internet access then you will need to point this url to your own locally accessible cached service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.addLayer(myTiledMapServiceLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addOnLoad(init);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;body class="tundra"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and see this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17912[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same result with your file localapitest.htm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399781#M36833</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T09:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399782#M36834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They are the same file, in the one I attached I had hard-coded the paths to the API based on your previous responses to make sure I understood the location of your API installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post one of your files that doesn't work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399782#M36834</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399783#M36835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;and in the configuration i put this url:&lt;BR /&gt;&lt;BR /&gt;localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo &lt;BR /&gt;or &lt;BR /&gt;192.168.13.56/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where exactly did you put this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399783#M36835</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399784#M36836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much for the help &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry but i can't post my file. Is a big web app and i work for important project and i can't post my file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I follow the instruction for put the correct url. Subscribe [HOSTNAME_AND_PATH_TO_JSAPI] with the url. But the problem isn't the configuration in Api file because the example work good! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going crazy :mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399784#M36836</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-24T10:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error ArcGIS API for Javascript v3.1</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399785#M36837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;...and your app is definitely referencing the API the same way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just humour me, put this in your application page &lt;/SPAN&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;&lt;SPAN&gt; the script element used to load the API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;script type="text/javascript"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; var dojoConfig = { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl:"http://localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo/" &amp;nbsp;&amp;nbsp;&amp;nbsp; }; &amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-arcgis-api-for-javascript-v3-1/m-p/399785#M36837</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-09-24T10:37:35Z</dc:date>
    </item>
  </channel>
</rss>

