ArcGIS Server ImageService

2131
0
03-18-2013 12:16 AM
TubaKumbara
Occasional Contributor
hi,
i really wonder if there is a way to load an image service from ArcGIS Server orher than ImageServerLayer.initialize method...

For MapServices, i can use MapServer object and MapServerLayer.ServerConnect method.
But there is no such method for ImageServerLayer.
I can get ImageServer object but I can't get ImageServerlayer from ImageServer..
For secured layers, I mean if i connect to ArcGIS Server via username and password, I cannot load any of the ImageService from that ArcGIS Server.If i use ImageServerlayer.initialize method, it gives "Exception from HRESULT:0x8004021A".I write the username and password properties for ArcGIS Server Connection properties but I don't use these properties while using ImageServerLayer.Initialize
ImageServer object uses the Connection properties but this time i cannot create imageserverlayer from imageserver.
i cannot solve this problem?
will you help me please
0 Kudos
0 Replies