Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

Cheers.

share|improve this question
    
Have you confirmed they're all running the same service pack, using PatchFinder.exe? –  Kirk Kuykendall Sep 20 '11 at 19:33
    
Yes - all service packs are the same (latest). –  Nick Ochoski Sep 20 '11 at 19:45
    
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? –  Kirk Kuykendall Sep 20 '11 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. –  Nick Ochoski Sep 20 '11 at 21:43
add comment

1 Answer

up vote 0 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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