Geoprocessing Tasks in Silverlight application

762
2
Jump to solution
12-12-2012 08:53 PM
JudyTroutwine
Occasional Contributor
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?
0 Kudos
1 Solution

Accepted Solutions
JudyTroutwine
Occasional Contributor
Actually the tasks are simply copying outputs to the arcgisserver\directories\arcgisjobs folder.

View solution in original post

0 Kudos
2 Replies
JudyTroutwine
Occasional Contributor
Actually the tasks are simply copying outputs to the arcgisserver\directories\arcgisjobs folder.
0 Kudos
ZacharyHart
Occasional Contributor III
What kind of data are you performing the task against?
0 Kudos