Dear All,
i am facing problem publishing website.on my server where i published the website working very well.but when i see the website on intranet my main page load.but the navigation page only shows labels.not shows the icons.image 2 show this status.
when i go to inspect from google chrome.i find errors .image 1 and 1_1 shows the error.i am using arcgis library from my local machine.
Please help.
Thanks in advance.
Solved! Go to Solution.
Dear All.
Thanks for your cooperation.i solved the issue by replacing machine name with IP address in arcgis api files.
Thanks,
Nadir,
The errors are saying that they can not resolve these URLs:
http://arcgis-dev-1/arcgis_js_api/library/3.15/3.15/dijit/Toolbar.js
http://arcgis-dev-1/arcgis_js_api/library/3.15/3.15/esri/toolbars/navigation.js
The duplication of 3.15 in the urls raises a flag for me but that might be how you have the API setup locally.
Try accessing these urls from inside your intranet and see if they resolve.
Dear Robert,
i change the references from local to esri server and my website is working properly on local pc.i have already done every thing with web adapter and my services are working properly with IIS on local machine.but when i want to access from other machine.
Network Error (tcp_error) |
A communication error occurred: "Operation timed out" |
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. |
the above error come.but from ping i can connect the remote machine.it gives me response.i also check the firewall setting and its correct there.
what can the reason please help.
Thanks in advance.
Dear Robert;
After solving network related jssues,
fallowing error are coming.
1--Failed to resource net::ERR_Connection_Refused https://js.arcgis.com/3.15/esri/css/esri.css
2-Failed to resource ::ERR_Connection_Refused https://js.arcgis.com/3.15/dijit/themes/tundra/tundra.css
3-Failed to resource ::ERR_Connection_Refused https://js.arcgis.com/3.15/dijit/themes/claro/claro.css
4-Failed to resource ::ERR_Connection_Refused http//js.arcgis.com
5-Uncaught Reference Error::require is not defined http/localhost/
this is shown in fallowing error.
Have you tried a different browser? I did a quick search on the ERR_CONNECTION_REFUSED and it seems like some Chrome extensions may be blocking access to the URLs.
-Steven
Nadir,
If your website has no requirement to run SSL (https) then you should change all your URLs in your code to http instead of https.
Also remove an reference to localhost in your code and replace with an IP or machine name.
Dear All.
Thanks for your cooperation.i solved the issue by replacing machine name with IP address in arcgis api files.
Thanks,