Select to view content in your preferred language

Image service layer does not display

731
6
09-08-2010 02:39 PM
BinBin
by
Emerging Contributor
I have several layers in my SL application
Dynamicmapservicelayer
ArcGISImageServiceLayer

These layers are displayed perfectly on the webserver machine, however, when I tested my application on other computers, the image server layer does not display at all, while other layers display fine.

Any help?
Thank you
0 Kudos
6 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
BinBin
by
Emerging Contributor
Thanks for the information, but that does not solve my problem.
I tried adding a "InitializationFailed" event for the image service layer, but the event was never triggered.
That means this layer has loaded successfully, it is just not displaying.
Anyone could help?
Appreciate it.

Please try to use Fiddler as explained in this blog post:http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx
0 Kudos
dotMorten_esri
Esri Notable Contributor
And what did you see in the Fiddler requests and responses? Is metadata requested? Are images requested? And if so do they fail? Is your service returning images if you go to the REST endpoint and try and export the map manually?
0 Kudos
BinBin
by
Emerging Contributor
Is your service returning images if you go to the REST endpoint and try and export the map manually?
Yes, no problem, The service is running perfectly.

And what did you see in the Fiddler requests and responses? Is metadata requested? Are images requested?
Fiddler does not show any error, it just not returning the images.

The address of my website is , you can try visiting.

Keep in mind that this application runs perfectly on the computer where I developed the sl app.

Thanks, let me know

And what did you see in the Fiddler requests and responses? Is metadata requested? Are images requested? And if so do they fail? Is your service returning images if you go to the REST endpoint and try and export the map manually?
0 Kudos
dotMorten_esri
Esri Notable Contributor
And what did you see in the Fiddler requests and responses? Is metadata requested? Are images requested?
Fiddler does not show any error, it just not returning the images.

You still didn't mention if the request for the image is even there or not. You say there is no error, but no image is returned either. So are you saying that silverlight isn't even asking the server to generate an image?


The address of my website is http://134.121.117.16/xwu_sl_app/xwu_sl_app_web/xwu_sl_apptestpage.aspx, you can try visiting.

I do see one problem: Silverlight is doing an export map image to the Avista_09 service, and the response says that this image file is available at http://cpd-barbossa/arcgisoutput/_ags_XXXXXXX.jpg I cannot see cpd-barbossa from here. As mentioned in the blogpost I initially referred to, this exact issue was also covered. Is this the service you were having problems with?

Keep in mind that this application runs perfectly on the computer where I developed the sl app.

A lot of things changes when you suddenly run on a different host. Things like cross domain issues, internal vs. external sites etc all affect this, so that's why Fiddler is so essential to understand what is going on.
0 Kudos
BinBin
by
Emerging Contributor
Thank you very much, problem solved.
0 Kudos