Hi,
I want to configure my web application to use js library on local server.
Did the following,
\arcgis_js_api\library
and all its contents from the DVD to your Web server. In this example the files are copied to:C:\Inetpub\wwwroot\arcgis_js_api\library
C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\init.js
in a text editor and search for the text '[HOSTNAME_AND_PATH_TO_JSAPI]'
, and replace this text with "<myserver>/arcgis_js_api/library/3.14/3.14/"
C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\dojo\dojo.js
in a text editor and search for the text '[HOSTNAME_AND_PATH_TO_JSAPI]'
, and replace this text with "<myserver>/arcgis_js_api/library/3.14/3.14/"
The index.html has following references,
<link rel="stylesheet" href="http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css"/>
<script type="text/javascript" src="http://myserver/arcgis_js_api/library/3.14/3.14/init.js" />
I get following error:
Appreciate any feedback.
Thanks