Select to view content in your preferred language

website publishing Issues

3472
6
Jump to solution
01-25-2016 11:08 PM
NadirHussain
Frequent Contributor

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.

0 Kudos
1 Solution

Accepted Solutions
NadirHussain
Frequent Contributor

Dear All.

Thanks for your cooperation.i solved the issue by replacing machine name with IP address in arcgis api files.

Thanks,

View solution in original post

0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
NadirHussain
Frequent Contributor

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.

0 Kudos
NadirHussain
Frequent Contributor

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.

error.png

0 Kudos
StevenGraf1
Frequent Contributor

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

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

NadirHussain
Frequent Contributor

Dear All.

Thanks for your cooperation.i solved the issue by replacing machine name with IP address in arcgis api files.

Thanks,

0 Kudos