<?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: Problems installing JavaScript API locally. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609186#M57041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you access your map service for the cached layer? Is the console in dev tools throwing any errors? Also, I would try to use AMD module requires as dojo.require method is considered legacy (shouldn't cause an issue, just a stylistic preference nowadays).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 19:43:37 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2016-01-07T19:43:37Z</dc:date>
    <item>
      <title>Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609177#M57032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed the JavaScript API locally to use in a developer environment with no internet connection.&amp;nbsp; The issue I am encountering is when I attempt to view the sample service hosted by ArcServer I am presented with a blank white page.&amp;nbsp; The sample service is visible when viewed in Desktop &amp;amp; Catalog so I presume the issue is related to my installing of the JavaScript API and setting it for local use.&amp;nbsp; I believe I followed the windows install notes for JavaScript 3.15 to the letter using the Normal build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;I extracted and copied&lt;CODE&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\arcgis_js_api\library to the C:\Inetpub\wwwroot folder.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;I opened init.js &amp;amp; dodo.js and replaced both [HOSTNAME_AND_PATH_TO_JSAPI] with mysitehere/arcgis_js_api/library/3.15/3.15/ (did not include &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I successfully tested &lt;/SPAN&gt;&lt;/CODE&gt;&lt;A href="http://mysitehere/arcgis_js_api/library/3.15/3.15/init.js"&gt;http://&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;mysitehere&lt;/SPAN&gt;/arcgis_js_api/library/3.15/3.15/init.js&lt;/A&gt; and was prompted with init.js opening. &lt;IMG alt="vdmEeXh.jpg" class="image-2 jive-image" src="http://i.imgur.com/vdmEeXh.jpg" style="width: 620px; height: 388px;" /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-left: 58.5pt;"&gt;&lt;A href="http://i.imgur.com/vdmEeXh.jpg"&gt;http://i.imgur.com/vdmEeXh.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am unable to replicate the next step of validating the JSAPI library install using the sample service when accessing it with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WBF4DVZ.jpg" class="image-1 jive-image" src="http://i.imgur.com/WBF4DVZ.jpg" style="width: 620px; height: 388px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://i.imgur.com/WBF4DVZ.jpg"&gt;http://i.imgur.com/WBF4DVZ.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I continue with the installation document and change the ArcGIS Services Directory “View In JavaScript” URL to the ones in the document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="7esFjsW.jpg" class="image-3 jive-image" src="http://i.imgur.com/7esFjsW.jpg" style="width: 620px; height: 388px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://i.imgur.com/7esFjsW.jpg"&gt;http://i.imgur.com/7esFjsW.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly I copied the following code to the&amp;nbsp; &amp;lt;ArcGIS Server Install Location&amp;gt;ArcGIS\Server\framework\runtime\tomcat\webapps\arcgis#rest\www\client\mapserver\mapserverJSAPI.jsp file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&amp;lt;style&amp;gt;&lt;/PRE&gt;&lt;PRE class="jive-pre"&gt;@import "&amp;lt;%=jsapiArcgisCssUrl%&amp;gt;";&lt;/PRE&gt;&lt;PRE class="jive-pre"&gt;@import "&amp;lt;%=cpath%&amp;gt;/static/jsapi.css";&lt;/PRE&gt;&lt;PRE class="jive-pre"&gt;@import "&amp;lt;%=jsapiArcgisUrl%&amp;gt;/js/esri/css/esri.css";&lt;/PRE&gt;&lt;PRE class="jive-pre"&gt;&amp;lt;/style&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first attempt at attempting to setup a developer environment and any help is greatly appreciative in determining what I am doing wrong.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 23:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609177#M57032</guid>
      <dc:creator>KelseyNovacek1</dc:creator>
      <dc:date>2016-01-04T23:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609178#M57033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you copy the log of errors please...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 08:23:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609178#M57033</guid>
      <dc:creator>YousefQuran</dc:creator>
      <dc:date>2016-01-05T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609179#M57034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea i downloaded the api and how i use IIS u just do what the tutorial says for windows. I change in the init js and dojo js the path miserver/theapi and it doesnt work to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 12:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609179#M57034</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2016-01-05T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609180#M57035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evelyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm this works - I do it as a local failover in case of problems with the CDN. I suspect it might be your value in &lt;SPAN style="font-family: monospace; font-size: 13.3333px;"&gt;[HOSTNAME_AND_PATH_TO_JSAPI]&lt;/SPAN&gt;. Here's what I have:&lt;SPAN style="font-family: monospace; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'http:' : location.protocol) + '//' + "myserver/arcgis_js_api/library/3.15/3.15/dojo/"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In directories like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;../arcgis_js_api/library/3.15/3.15&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;../arcgis_js_api/library/3.15/3.15compact&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 15:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609180#M57035</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-05T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609181#M57036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try it later, but i remember that i did what u suggest some days ago and for some reason it doesnt work to me &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks, if anything goes wrong i will reply this post &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 15:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609181#M57036</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2016-01-05T15:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609182#M57037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;w/o the errors, we are just guessing. But here is how I did it. I took a slightly different approach because I have to do this all the time. None of my clients let me go outside for much of anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Downloaded latest SDK from &lt;A href="https://developers.arcgis.com/en/downloads/" title="https://developers.arcgis.com/en/downloads/"&gt;SDK Downloads | ArcGIS for Developers&lt;/A&gt; and placed in \scripts\libs\esri_3.15&lt;/P&gt;&lt;P&gt;2) Added the following to my resource bundle (I'm using APS.net MVC 4 as my base web project)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundles.Add(new ScriptBundle("~/bundles/esri")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .IncludeDirectory("~/Scripts/libraries/esri_3.15", "*.js")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;3) and the following to my .html.&amp;nbsp; it places base url in a hidden field to be pulled out by the lib so I don't have to keep doing a search and replace every time I do this for another project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@{string baseUrl = new Uri(Request.Url, Url.Content("~")).AbsoluteUri;}&lt;/P&gt;&lt;P&gt;@Html.Hidden("hfBaseUrl", baseUrl)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.hfBaseUrl = $("#hfBaseUrl").val().replace(/https*:\/\//gi, "");&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Scripts.Render("~/bundles/esri");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Replace the paths in the sdk with :&lt;/P&gt;&lt;P&gt;baseUrl: (location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + window.hfBaseUrl + "Scripts/libraries/esri_3.15/dojo",&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Reference the CSS files&amp;nbsp; (this might be why everything is blank for you)&lt;/P&gt;&lt;P&gt;I pulled the css files out and placed them in my \css dir&lt;/P&gt;&lt;P&gt;I then added them to my resource bundle and then on to the html.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609182#M57037</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2016-01-05T16:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609183#M57038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I attempt to open the page with the web service via the JavaScript API I am present these three errors.&amp;nbsp; Does anyone have an idea what these errors are referring to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Webpage error details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2)&lt;/P&gt;&lt;P&gt;Timestamp: Wed, 6 Jan 2016 19:42:46 UTC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error #1&lt;/P&gt;&lt;P&gt;Message: xhrFailed&lt;/P&gt;&lt;P&gt;Line: 23&lt;/P&gt;&lt;P&gt;Char: 100&lt;/P&gt;&lt;P&gt;Code: 0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URI: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F172.16.32.11%2Farcgis_js_api%2Flibrary%2F3.15%2F3.15%2Finit.js" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/init.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error #2&lt;/P&gt;&lt;P&gt;Message: Object doesn't support this property or method&lt;/P&gt;&lt;P&gt;Line: 245&lt;/P&gt;&lt;P&gt;Char: 1&lt;/P&gt;&lt;P&gt;Code: 0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URI: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F172.16.32.11%2Farcgis_js_api%2Flibrary%2F3.15%2F3.15%2Finit.js" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/init.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error #3&lt;/P&gt;&lt;P&gt;Message: xhrFailed&lt;/P&gt;&lt;P&gt;Line: 23&lt;/P&gt;&lt;P&gt;Char: 100&lt;/P&gt;&lt;P&gt;Code: 0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URI: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F172.16.32.11%2Farcgis_js_api%2Flibrary%2F3.15%2F3.15%2Finit.js" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/init.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 02:58:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609183#M57038</guid>
      <dc:creator>KelseyNovacek1</dc:creator>
      <dc:date>2016-01-07T02:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609184#M57039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evelyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I would suspect the directory setup/hostname isn't 100% - check and make sure you have it extracted where you think you have it extracted and the hostname set-up correctly. I had these same type of errors when I didn't have hostname correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, just to make sure... I would check the MD5 hash and make sure the API didn't get corrupted during the download. Esri publishes the MD5 hash on the download page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 04:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609184#M57039</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-07T04:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609185#M57040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added /dojo/ to the end of my location in init.js and dojo.js files to now read "localhost/ArcGIS_js_api/library/3.15/3.15/dojo".&amp;nbsp; This appears to have resolved the three error messages I was encountering.&amp;nbsp; Now When I open the sample html I am presented with the "Powered By esri" icon and hyperlink in the bottom right of the map but the map is still blank otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a hostname issue I am unsure what it would be.&amp;nbsp; I extracted the API to 'C:\Inetpub\wwwroot' and setup that folder within my IIS Default Website. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can access and open the following folders/files using these links&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost/arcgis_js_api/library/3.15/3.15/init.js"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/init.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost/arcgis_js_api/library/3.15/3.15" title="http://localhost/arcgis_js_api/library/3.15/3.15"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/dijit/themes/tundra/tundra.css&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost/arcgis_js_api/library/3.15/3.15" title="http://localhost/arcgis_js_api/library/3.15/3.15"&gt;http://localhost/arcgis_js_api/library/3.15/3.15/esri/css/esri.css&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609185#M57040</guid>
      <dc:creator>KelseyNovacek1</dc:creator>
      <dc:date>2016-01-07T19:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609186#M57041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you access your map service for the cached layer? Is the console in dev tools throwing any errors? Also, I would try to use AMD module requires as dojo.require method is considered legacy (shouldn't cause an issue, just a stylistic preference nowadays).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609186#M57041</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-07T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609187#M57042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. I was able to get the web map to work using the local API to at home on a network enabled computer.&amp;nbsp; The code appears to be referencing the local JavaScript API but I am baffled as to what this Kaspersky main.js file is or where it comes from as there is no mention of it in the html file.&amp;nbsp; The Kaspersky code is visible when I “View Source” of the web map but it is not present in the html file.&amp;nbsp; Is the main.js a required file and if so how to I reference it without it automatically being added?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="doctype"&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="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Fstrict.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;/P&gt;&lt;P&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;meta &lt;SPAN class="attribute-name"&gt;http-equiv&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;Content-Type&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;content&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/html; charset=utf-8&lt;/A&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;title&amp;gt;&lt;/SPAN&gt;Simple Map OMG did this work&amp;lt;/&lt;SPAN class="end-tag"&gt;title&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;link &lt;SPAN class="attribute-name"&gt;rel&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;stylesheet&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;type&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/css&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;href&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;http://localhost/arcgis_js_api/library/3.15/3.15compact/dijit/themes/tundra/tundra.css&lt;/A&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;link &lt;SPAN class="attribute-name"&gt;rel&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;stylesheet&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;type&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/css&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;href&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;http://localhost/arcgis_js_api/library/3.15/3.15compact/esri/css/esri.css&lt;/A&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="start-tag"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="start-tag"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;script &lt;SPAN class="attribute-name"&gt;type&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/javascript&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;src&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;http://ff.kis.scr.kaspersky-labs.com/1B74BD89-2A22-4B93-B451-1C9E1052A0EC/main.js&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;charset&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;UTF-8&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;script&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="end-tag"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="end-tag"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;script &lt;SPAN class="attribute-name"&gt;type&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/javascript&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;src&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;http://localhost/arcgis_js_api/library/3.15/3.15compact/init.js&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;script &lt;SPAN class="attribute-name"&gt;type&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;text/javascript&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; dojo.require("esri.map");&lt;BR /&gt;&amp;nbsp; function init() {&lt;BR /&gt;&amp;nbsp; var myMap = new esri.Map("mapDiv");&lt;BR /&gt;&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;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FNGS_Topo_US_2D%2FMapServer" 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;BR /&gt;&amp;nbsp; myMap.addLayer(myTiledMapServiceLayer);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; dojo.addOnLoad(init);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;body &lt;SPAN class="attribute-name"&gt;class&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;tundra&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class="start-tag"&gt;div &lt;SPAN class="attribute-name"&gt;id&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;mapDiv&lt;/A&gt;" &lt;SPAN class="attribute-name"&gt;style&lt;/SPAN&gt;="&lt;A class="attribute-value"&gt;width:900px; height:600px; border:1px solid #000;&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;body&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/&lt;SPAN class="end-tag"&gt;html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 23:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609187#M57042</guid>
      <dc:creator>KelseyNovacek1</dc:creator>
      <dc:date>2016-01-07T23:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609188#M57043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im here again.&lt;/P&gt;&lt;P&gt;I have the following, what am i doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.- I put the api in this directory: C:\inetpub\wwwroot\arcgis_js_api&lt;/P&gt;&lt;P&gt;2.- I edited both [PATH] (the dojo and init js in this way:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;baseUrl:(location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + "[localhost/arcgis_js_api/library/3.15/3.15]dojo"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;3.- When i try to access to the init.js for the next step it gives me an error:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="font-size: 1.4em; margin-top: 10px; color: #cc0000; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Error HTTP 403.14 - Forbidden&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 17:23:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609188#M57043</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2016-02-11T17:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609189#M57044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evelyn - you probably already figured this out, but the path shouldn't have any brackets, instead should look like "localhost/arcgis_js_api/library/3.15/3.15/dojo". Note also that using "localhost" limits the use of the API to the machine that it's installed on, since any client accessing it will look for it on itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 00:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609189#M57044</guid>
      <dc:creator>BryanBaker</dc:creator>
      <dc:date>2017-03-01T00:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems installing JavaScript API locally.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609190#M57045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Bryan that your path is wrong and the "[ ]" need to be removed.&lt;/P&gt;&lt;P&gt;However, I experienced that same error because I copied&amp;nbsp;in the Esri SDK and it kept the same permissions that it had in the source directory and the AppPool user did not have permissions. I had to go into FileManager, Click on the directory above, Edit permissions of the AppPool user and grant read permission. This copied&amp;nbsp;the permissions&amp;nbsp;down through the directory tree solving my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 19:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-installing-javascript-api-locally/m-p/609190#M57045</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2017-03-01T19:07:16Z</dc:date>
    </item>
  </channel>
</rss>

