ArcGIS Server » Web Applications » Javascript APIs » ArcGIS
 
 

Code Gallery

Site Selection

This demo shows how to use the ArcGIS JavaScript API to perform a site selection. It leverages querytask, geoprocessing task and map services from the sample services in the ArcGIS Server resource center.
Author dburke
Date Submitted 07-15-2008
Date Last Updated 07-15-2008
Language JavaScript
Product/Version ArcGIS Server 9.3
Views 4103
Downloads 1091
License Type ESRI Attribution and License Agreement
(2 ratings)

Report Inappropriate Content: This Code Gallery is intended for the free exchange of code related to ESRI software products. Let us know if this entry is inappropriate (e.g., a download for a commercial product).

 

cannot execute gp task when using sample from ArcTutor on local server   posted by mei76 on Sep 14, 2008 8:08 PM

i tried your sample and it works with esri's online sample server gp service. I then tried to use the gp sample from ArcTutor [as per http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#geoprocessing/guide_-1963186772.htm], following the steps to publish the mxd and geoprocessing service on my computer's arcgisserver, but when i try to run the gp tool, it just keeps showing the "processing..." dialog. I then added the dojo debug console and get the error: "Execute operation is not allowed on this service" is there anything else that needs to be set (eg permissions etc)? I have tried the gp tool in arcmap and it can run without problems though. any ideas? would appreciate some help and advice.