Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm following this sample for ADF libraries

I'm practically drawing a circle around a point with a geoprocessing service. The radius is about 20 km.

The code is working fine, but the "Clear" routine isn't. Every time I clear the map from the previous data, the memory of the buffer service isn't cleared too and I get this

The code of the "Clear" routine is the same of the sample, but isn't working:

// Clears features from all graphics layers in the resource specified by _graphicsResourceName
protected void ClearGraphics()
    // Retrieve the resource and clear its graphics dataset
    ESRI.ArcGIS.ADF.Web.DataSources.Graphics.MapResource graphicsMapResource =
        Map1.GetFunctionality(_graphicsResourceName).Resource as

// This won't work too

// Refresh the resource and copy the map's callback results to the callback results collection so
// the graphics are removed from the map

This should be simple but I can't figure out how to solve this.. the only solution I found is to restart the IIS server which is obviously very bad

Can someone please help me out?

share|improve this question
up vote 1 down vote accepted

Solved by clearing the jobs queue

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

You should go ahead check your own answer as the solution once the system allows you to, that way others know it is resolved. – RyanDalton Sep 22 '11 at 19:20
You're totally right! – Marco A. Sep 23 '11 at 9:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.