AnsweredAssumed Answered

Geoprocessing Tasks in Silverlight application

Question asked by jtroutwine on Dec 12, 2012
Latest reply on Jan 11, 2013 by LANDVEST
I have been testing some simple geoprocessing tasks in a Silverlight application.
The tasks do not need any parameters.  I code the task thus


         
  Wait.Visibility = Visibility.Visible;
          
  MyMap.Cursor = System.Windows.Input.Cursors.Wait;
          
_geoprocessorTask.OutputSpatialReference = new SpatialReference(2256);
          
_geoprocessorTask.SubmitJobAsync(null);




This works fine in the application for copying a folder or frenaming folders and files.
Other tools though report success but do not actually do the task. Copying a file does not work
for example. 

     

   if (string.Equals(e.JobInfo.JobStatus.ToString(), "esriJobSucceeded"))
         
        {           
           Wait.Visibility = Visibility.Collapsed;      
         }



Ideas?

Outcomes