Select to view content in your preferred language

GetAllDetails Method?

1054
4
06-07-2012 06:09 AM
BenTreptow1
Deactivated User
I keep getting an apparently random error on the GetAllDetails method of the ArcGISDynamicMapServiceLayer object. The error message doesn't tell me anything useful about what the problem is and it only happens some of the time. The only way that I've been able to resolve the error is by clearing the the cache in the ArcGIS REST API Admin console everytime it happens.

Anyone have an idea of what the problem could be here?
0 Kudos
4 Replies
JenniferNery
Esri Regular Contributor
Some of the time with the same service? GetAllDetails, simply try to parse service metadata JSON to LayerInfo objects (i.e.: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/MapServer/lay...). I'm not quite sure how clearing cache is related to this. What version of the API are you using? Have you tried v3.0?
0 Kudos
BenTreptow1
Deactivated User
yeah, it only happens sometimes, but once it happens it will continue until i clear the cache. i haven't really tested it with another service though and i'm using v2.5. i can give v3.0 a shot and see if that solves the problem.
0 Kudos
ChristopherHill
Deactivated User
What server version are you using 9x or 10x?
0 Kudos
BenTreptow1
Deactivated User
arcgis server 10.04
0 Kudos