0

I am having having trouble running ExtractValuesToPoints on a remote server machine running ArcGIS Server (with ArcInfo and Spatial Analyst installed). It fails and throws a standard COM error. I have checked for any obvious issues with inputs/outputs and it runs just fine on several desktop machines running ArcGIS 10 Desktop (with ArcInfo and Spatial Analyst).

The interesting thing is the Spatial Analyst tool Con works just fine in a previous geoprocessing step, which leads me to believe that it's not a licensing issue. I have even tested the inputs/outputs on the remote machine using the ArcGIS UI and it completes.

I apologize for the vagueness of the question, but I really can't seem to find any reason for one spatial analyst tool to work and another not (other than obvious issues with the data). I'd be happy to fill in any gaps if more information is needed. I guess I'm looking for a list of things I should be checking that I may have glanced over.

4
  • 1
    Have you confirmed they're all running the same service pack, using PatchFinder.exe? Sep 20, 2011 at 19:33
  • Yes - all service packs are the same (latest).
    – Radar
    Sep 20, 2011 at 19:45
  • 1
    So just to clarify, you have published a tool as a gp service. The tool works in arcmap, but not when running as a gp service. Is this correct? Sep 20, 2011 at 20:59
  • The tool is published as an executable. It runs a series of geoprocessing steps, but also handles more system level things such as workspaces. It essentially takes in paths to GIS data and performs geoprocessing on it.
    – Radar
    Sep 20, 2011 at 21:43

1 Answer 1

0

Sorted this out. It turns out the server environment handles locked files from Arc differently than in a stand-alone desktop environment. Generally, you don't need to "release" locked files in the desktop environment in order to continue geoprocessing, but you need to Marshall them in the server environment. Lesson learned: best practice is to Marshall any files that can become locked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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