New geoprocessing tutorial in online help

A new tutorial explaining how to add geoprocessing to Web applications became available today in the ArcGIS Server Web-based help. This tutorial walks you through the process of building a model and creating a map to display the model inputs and results. It then shows how to publish both the map and the model as services and add them to a Web Mapping Application.

To complete the tutorial, you need a few simple GIS datasets and ArcGIS Server for the Microsoft .Net Framework. You also need access to ArcMap. Give it a try and leave us a comment about your experience!

This entry was posted in Services and tagged , , . Bookmark the permalink.

Leave a Reply

5 Comments

  1. sterlingdq says:

    Hi Don. So if I understand right you built a geoprocessing application based on the information in this post and the results are not showing up on the map? Or is the entire map blank?

    If the map is blank, does it appear when you refresh (F5)?

  2. sterlingdq says:

    Not sure I’ll be able to diagnose this without seeing the application, but here are a few more questions-

    What appears in the Results panel window when you run the task? Are there any messages or any result layers that look like you should be able to check them on or off?

    Does anything get created in your server jobs directory when you run the task? If you installed ArcGIS Server on one machine and accepted the defaults, your jobs directory is in C:arcgisserverarcgisjobs. Each time you run the task, the outputs should appear in this folder.

    If you created a different server jobs directory, does the SOC account have permissions to read from there?

    Did you create the tool layer and publish the map and geoprocessing service together as described in this tutorial, or did you publish the geoprocessing service on its own (no tool layer or associated map)? If you published the geoprocessing service on its own, then the client might be trying to render the results and there are several reasons they might not draw. If you went this route, let me know and I can go into more detail.

    -SQ

  3. sterlingdq says:

    Does the input symbology have a shortened path also? Are you pointing at a layer file that is of the same geometry type of your inputs? Does the SOC account have permission to get it?

    Those are the only things I can think of right now.

  4. apeters says:

    I am having a very similar problem. The result of my geoprocessing stays on the server un the argisserverjobs folder. I can get it using the GET DATA item on the Results tab (the result is a feature class). That’s no problem. But in the web application of course, there is no way to get the data off the server once i have run the tool!!! Please tell me what I am doing wrong.

    Alan

  5. sterlingdq says:

    Alan- This tutorial draws the result on the server using the associated map service, so the actual features are not sent to the client. Only the map image is sent to the client.

    If you want the features to be returned to the client, you can “disassociate” your geoprocessing service from the map service by doing this:

    1. Open ArcCatalog
    2. Browse to your geoprocessing service in the catalog tree.
    3. If necessary, stop the service by right-clicking it and clicking Stop.
    4. Right-click the service and click Service Properties
    5. Click the Parameters tab.
    6. Find the Result Map Service box and change it to “None”. This will force the results to be sent back to the client. Note that if a lot of features are coming back, this could take a while.
    7. Click “OK” (Do not click “Apply” – this is a bug)
    8. Start the geoprocessing service.

    After doing this, the map service will not be used to draw the results and the client application will receive the features.