The web application can???t be accessed from other machine,

3828
16
05-26-2013 10:00 AM
JamalNUMAN
Legendary Contributor
The web application can�??t be accessed from other machine,

I have 3 machines connected by switch. The service is published on �??Jamal-pc�?�. I could access it by:

http://jamal-pc/apps/T5


[ATTACH=CONFIG]24690[/ATTACH]


I tried to access this application (http://jamal-pc/apps/T5) from �??mira-pc�?� but sounds that the web application ends up with nothing


[ATTACH=CONFIG]24691[/ATTACH]


What might be the issue here?


Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
16 Replies
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Refresh the page bypassing the browser cache:

http://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache


Many thanks Richard for the prompt help,

I tried bypassing the browser cache of IE, Firefox and Google chrome but still the Silverlight isn�??t able to display the maps.


What other options may I still have?
0 Kudos
RichardWatson
Frequent Contributor
Clear your browser cache, capture the session in Fiddler, and then post the Fiddler session.  If you can't post the session to the forum then post it cloud storage, e.g. DropBox, SkyDrive, etc., and post the link here.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Clear your browser cache, capture the session in Fiddler, and then post the Fiddler session.  If you can't post the session to the forum then post it cloud storage, e.g. DropBox, SkyDrive, etc., and post the link here.


Very much appreciated Richard for the help,

I could figure it out now with fiddler! The issue is related to the source of the service.

The url of the services is set to be:

http://localhost:6080/arcgis/rest/services//T5/MapServer

and thus as the client starts:
http://jamal-pc/Apps/T5/

the Silverlight does start but with no data (service) as it will look for the data from his/her machine (localhost).


[ATTACH=CONFIG]24719[/ATTACH]

The issue now is how the services (url) in the silverlight web application can be re-directed

From:
http://localhost:6080/arcgis/rest/services//T5/MapServer

to:
http://Jamal-pc:6080/arcgis/rest/services//T5/MapServer

[ATTACH=CONFIG]24720[/ATTACH], [ATTACH=CONFIG]24721[/ATTACH]
0 Kudos
RichardWatson
Frequent Contributor
I am glad that you have made some progress.

Unfortunately, I have not used the Silverlight viewer application so I cannot speak to how it works.  It seems to be some type of configuration issue but I know that you already know that:)

Perhaps someone in the ArcGIS for Viewer Silverlight forum can help you.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

I am glad that you have made some progress.

Unfortunately, I have not used the Silverlight viewer application so I cannot speak to how it works.  It seems to be some type of configuration issue but I know that you already know that:)

Perhaps someone in the ArcGIS for Viewer Silverlight forum can help you.



Many thanks Richard. Your help is behind the progress that took place.

Hope an expert can advise in how to re-direct the service url or otherwise I�??ll be creating it again from scratch

Best

Jamal
0 Kudos
AlexeyTereshenkov
Regular Contributor III
Jamal, you can update the URLs used for your services by editing a Map.xml file in any text editor. This file is located in the C:\inetpub\wwwroot\Apps\%AppName%\Config when using the default folder. I am sure you will find out where it is if you are using a non-default path. Just run find and replace in the text editor to change the localhost for the PC name, restart web browser and clear its cache and you should be good to go.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Jamal, you can update the URLs used for your services by editing a Map.xml file in any text editor. This file is located in the C:\inetpub\wwwroot\Apps\%AppName%\Config when using the default folder. I am sure you will find out where it is if you are using a non-default path. Just run find and replace in the text editor to change the localhost for the PC name, restart web browser and clear its cache and you should be good to go.



Man thanks Alexey for the answer. This is very helpful

Best

Jamal
0 Kudos