POST
|
When querying a ArcGIS Server Manager's service in a stopped status using C# QueryTask my expectation is that an exception will be thrown stating that the service is either down or does not exists, so that I'll know that the service is down which is an invalid state. What actually happens is that I get as a return value, an empty Feature Set. I query the service using REST API, so even if I change the URL to query an unexisting service like "ThisDoesNotExist" I still get an empty feature set. Is there a way to configure the ArcGIS Server Manager that it will throw exception in such case instead of return an empty feature set. *I am using ArcGIS Server Manager version 10.0
... View more
07-29-2014
05:58 AM
|
0
|
1
|
2846
|
POST
|
Thanks, I set DisableClientCaching to true and it worked 🙂
... View more
04-05-2011
11:06 AM
|
0
|
0
|
131
|
POST
|
Hi, I have an ArcGISDynamicMapServiceLayer with 20 vector layers. When someone adds (or deletes) a feature to a layer (in code via ArcObjects, not REST API), I want to see the new feature on the Map automatically. I've tried to use the methods: ArcGISDynamicMapServiceLayer.Refresh() and ArcGISDynamicMapServiceLayer.Initialize() but they don't help me. How can I make the Map to refresh in code and display the new feature (or remove the old one)? Thanks!
... View more
04-03-2011
08:28 AM
|
0
|
2
|
2226
|
POST
|
Hi, I have a .mxd file with different query definition on each layer. The problem is when I load the layers in code, it doesn't consider the query definition. I know I can define LayerDefinitions for the layers, but since I have different query definition for each layer it gets messy. Is there a way to use the query definition from the mxd?
... View more
03-27-2011
02:34 AM
|
0
|
1
|
408
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|