0
votes
1answer
10 views

Toolvalidator script is not working in ArcGIS Server

I have made a small GP tool in ArcMap, which is also having some validation code in tool validator class. And it is working fine as GP tool in ArcGIS desktop(Arcmap). But when i published the same ...
2
votes
1answer
32 views

ERROR 001243 preventing automatic publishing of geoprocessing service

I am trying to automate the process of publishing a geoprocessing service to ArcGIS for Server 10.2.2, using a python script: import arcpy result = r"C:\data\ContourLineFunction.rlt" ...
2
votes
0answers
26 views

Export Web Map Task: Configure HTTP response headers

Is there any way to configure the http headers (response headers) of a geoprossessing task hosted by ArcGIS for Server? I would like to make the export web map task, return an image which would be ...
0
votes
0answers
34 views

geoprocessing service keeps running with default value for choice list, instead of actual value selected

I have published a script tool to a geoprocessing service. The tool is supposed to take user input from a choice list (which contains values from a field), and then that is loaded into select by ...
1
vote
1answer
46 views

Geoprocessing service failure

I have a python script tool that I have published to a geoprocessing service. Every time I run the service it fails. Here's what I'm getting for errors: The python code in the tool is below: ...
1
vote
1answer
90 views

ArcGIS Geoprocessing Service returning feature class?

I am pretty new to GIS world so sorry for my silly question. My problem is i am trying to send some feature classes from gp services. I have written python toolboxes which does some business logics ...
1
vote
1answer
60 views

Updating MXD layer definitionQuery in arcpy is very slow

The code segment below has been extracted from a larger project. In short, I have an MXD which I want to generate multiple PDFs based on different criteria. The code below works. It loops through ...
0
votes
0answers
54 views

Default error 400 GP clip and ship

I am running this script . I get a 400 error message. The message is the following: {"error":{"code":400,"message":"Unable to complete operation.","details":["Server environment property not found: ...
1
vote
2answers
2k views

Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception

I am developing custom geoprocessing tool (class-library project) on ArcGIS 10.2. This project uses Oracle.DatAccess from ODP.NET 1.0 . This is a simple tool which queries - oracle 10g database and ...
0
votes
2answers
103 views

Any plans to change GP toolbox format (.tbx file) to text-based format?

Have you heard if esri has any plans to change GP toolbox format (.tbx file) to text-based format in future? The issue is that we can't track changes in binary tbx file using source control system. ...
0
votes
0answers
77 views

Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?

We have GP tools in GP toolbox OurServices.tbx and some of them are written in Python. We access them via geoprocessing services. However some Python functions are just copy-pasted from one GP ...
1
vote
0answers
139 views

Publishing esri geoprocessing service - upload custom python modules?

I have an esri geoprocessing service which causes problems when publishing to arcgis server. The python scripts behind the service are structured as a custom python module, in a folder with an ...
1
vote
0answers
105 views

Configuring output table popup for geoprocessing widget

I have built a simple geoprocessing widget that produces a table (record set) as its final product. I am trying to simply change how and which fields are displayed. I am using Flex Viewer 3.5 and Arc ...
1
vote
0answers
24 views

Implementing day night functionality [duplicate]

I want to implement day/night functionality on world map i.e there will be dark layer showing countires having night now. This world map could be creaeted through ESRI or SVG map.I want to ...
0
votes
1answer
294 views

What is correct entry to Input Location (GPFeatureRecordSetLayer)*?

I use: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Network/ESRI_DriveTime_US/GPServer/CreateDriveTimePolygons/execute What is correct entry to Input Location (GPFeatureRecordSetLayer) ...
2
votes
1answer
91 views

Why is pooled geoprocessing service not available via the ArcGIS Rest API?

I'm using ArcGIS Server 10.0. I've published a pooled asynchronous python geoprocessing service. It works correctly using the Rest API. When I configure the service not to be pooled, I can't access ...
0
votes
1answer
127 views

Python geoprocessing performance [closed]

I'm using ArcGIS Server 10.0. I have a python geoprocessing that takes a lot of time. The geoprocessing calculates geometries using points, polygons, buffers, and cursors. I'm also using sql queries ...
1
vote
0answers
70 views

How to check if a GP service (async) has any jobs that are not completed yet?

I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...
1
vote
1answer
74 views

Calling Web Geoprocessing Services From Other Programs

Where can I go to find information about calling ArcGIS Server geoprocessing services from other programs like a .NET Framework program or possibly even a SQL Server job? So far, I've found Using ...
2
votes
1answer
365 views

ESRI geoprocessing service with Javascript API 3.5

I am having issues getting a geoprocessing service to run. The service is a simple Python script that converts a table to CSV file. It runs fine in ArcMap. I can publish the service with the input ...
1
vote
1answer
133 views

Messages in JSON output for a Geoprocessing Service from a Model

I have a Model created from Model Builder. It was published as a Geoprocessing Service on ArcGIS Server 10.1 When it was triggered from the REST service, the JSON output printed out the "results" and ...
2
votes
1answer
257 views

Geoprocessing service saved data to scratch gdb

I created and published a geoprocessing service from a toolbox. It works with a file geodatabase on my local drive. When run as a tool in ModelBuilder, it worked well and wrote data into the file ...
1
vote
1answer
266 views

How to create a drop-down list of geoprocessing tasks?

I need to construct a drop down menu with each choice enabling a different geoprocessing task to run over my script. <select id="myList" onchange="environment()"> ...
1
vote
0answers
121 views

GPServer does not exist or is inaccessible

I have successfully published a Geoprocessing Tool as GP services, I had called it with success, but when I try to call it, now it gives me this error GPServer does not exist or is inaccessible for no ...
1
vote
0answers
110 views

How to identify parameters sent from ArcMap to geoprocessing service on ArcGIS Server?

I have a question regarding the use of ESRI geoprocessing services and maybe some of you can give me a hint for the following "problem"... I have set up a geoprocessing service which should solve a ...
1
vote
1answer
79 views

ArcGIS 9.3 geoprocessing service output consideration

I'm developing geoprocessing service which do few processes with geographic data. I would like to get somehow geometry of those data and use it in my web aplication (JS ArcGIS API). Now I'm wondering ...
3
votes
1answer
251 views

AGS 10.1 geoprocessing service returning the wrong URL

I have an image export geoprocessing service that runs on ArcGIS server 10.1. It works by writing an image out to the scratch folder, and returning the location of that image. Basically just this: ...
2
votes
1answer
269 views

Why does a geoprocessing service fail every other time it is run?

I have a ArcGIS Server 10 geoprocessing service right now that takes in a string and runs a parameterized query to SQL Server 2008R2 through pyodbc. The service works, but only every other time. I can ...
4
votes
1answer
265 views

Custom c# GP Tool ArcGIS Server 10.1 - build for 'Any CPU', x86, or 64bit? Does it matter?

I think I understand most explanations of these targets, but I get confused in the context of ArcGIS customizations like this because what we are compiling has to work in conjunction with ArcGIS, not ...
1
vote
2answers
1k views

Access geoprocessing service via REST, get JSON back

I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this: http://server/arcgis/rest/services/MyService/GPServer/MyTask The task takes a parameter. I was hoping I could ...
2
votes
2answers
772 views

“The tool not licensed” ERROR on a geoprocessing service on ArcGIS Server 10.1

I have a python script which runs well as geoprocesing tool. When published on ArcGIS Server 10.1 as geoprocessing service, however, it throws the following error: Unable to complete operation. Error ...
2
votes
1answer
200 views

ArcGIS Server 10.1 Geoprocessing service weirdly changed file path

I encountered a weird phenomenon on my ArcGIS Server 10.1. I have a geoprocessing tool that exports a mxd file to an image file on my local directory, say "c://map/dir/export/image.png" It worked ...
4
votes
2answers
2k views

ArcGIS Server 10.1 publish geoprocessing tools

I have been trying to publish a geoprocessing tool to our new ArcGIS for Server 10.1 with SP1. I configured the serves to not to copy data to server when publishing services. The tool ran well and ...
4
votes
2answers
570 views

Truncate Table tool with geoprocessing service (ArcGIS 10.1)

A model I built with ModelBuilder works as expected in Desktop yet generates numerous error messages when published as a geoprocessing (GP) service in ArcGIS Server 10.1 SP1. I've decided to start ...
1
vote
1answer
360 views

XY event layer doesn't work with ArcGIS Server 10.1

I have a geoprocessing tool written in Python that contains operations on an XY event layer. It worked perfectly when running from ArcCatalog. When published as geoprocessing service on ArcGIS Server ...
4
votes
2answers
484 views

How to auto-add new values to unique values classification values range?

I am using ArcGIS Desktop 10.1, ArcGIS Server 10.1 & SQL Server 2008 software. I am adding the query layer and directly publishing to ArcGIS Server and accessing the map in a JavaScript ...
3
votes
3answers
419 views

ArcGIS Server 10.1 Python GP script shape as input parameter

I am writing a geoprocessing script that will need to accept a shape as an input parameter. This shape will be obtained by a user drawing the shape in a web application. The web application will ...
1
vote
3answers
1k views

ArcGIS Server geoprocessing service examples for shapefile data export

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server ...
5
votes
1answer
351 views

Good practices for storing connection info while deploying geoprocessing tool on Server

I have a geoprocessing tool written in python. It will be deployed on ArcGIS for Server 10.1 as a GeoProcessing Service and it's processing workflow includes some manipulations with data in SDE ...
1
vote
2answers
93 views

Why is result from gp tool not being created on JavaScript API?

Ok I am really confused. I can see the output of the result from geoprocessing tool. But why am I not able to add it to the map. As you can see the result returns all the attribute values. This is my ...
1
vote
0answers
29 views

Info from the getResultImageLayer missing

I was finally able to get the result layer overlaid on my application but now I am facing another problem. The output of the layer url does not show any field or attribute details. I am not sure why ...
3
votes
1answer
566 views

ArcGIS Server 10.1 and Postgres Geoprocessing Service issue

I'm hitting an error when publishing a model from ArcGIS Desktop 10.1 to ArcGIS Server 10.1. The model I want to publish uses a layer from a Postgres DB defined via a Query Layer in my MXD. The ...
3
votes
1answer
263 views

getResultImageLayer is not working

I am trying to obtain the shapefile output that I am receiving from the gpTool, which is hosted on the ArcServer, and placing it on the Map using, gp.getResultImageLayer(jobInfo.jobId,"final_shp", ...
3
votes
1answer
430 views

How can I debug a geoprocessing service on the server?

I've a geoprocessing script that I'm trying to get working. I've turned on Show Messages, so I can see how far in the script I've gotten before the submitted job fails, but it's not helping, as I'm ...
1
vote
1answer
230 views

Any advice to help troubleshoot failing ArcGIS Server (10.0 sp5) Geoprocesses?

There are a few geoprocesses on a recently restored ArcGIS Server that are behaving strangely. If we turn on 'show messages' and try to run the process from the rest interface, the process will report ...
2
votes
1answer
293 views

Can you script publishing a GP service?

I have a geoprocessing service in ArcGIS for Server 10.1. I would like to share this service with a number of external organisations that also have ArcGIS Server 10.1. i.e I dont want them hitting ...
2
votes
1answer
217 views

How to publish model in toolbox as Geoprocessing Service?

I am using ARCGIS 10.0. I have created a model . This models takes three shape files and return the result in the form of shape file. I run this model and found it works fine and a shape file is ...
4
votes
2answers
818 views

How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?

I have a GP Tool that I am able to publish as a GP service at 10.0. I recompiled the DLL for 10.1 and have followed the steps in the Deploying custom .NET and C++ tools page of the 10.1 help doc. ...
1
vote
1answer
135 views

ArcServer Geoprocessing Service

I originally posted this in the ArcGIS forums, but I haven't been getting any bites. I've developed a set of ArcToolbox Python scripts, which I've been using on certain projects for clients. The ...
2
votes
0answers
328 views

Invalid return value: published arcgis server 10.0 toolbox

I have a published toolbox that is using conditional execution in one of its models: This works fine in ArcGIS Desktop 10.0, and each sub model\script works fine when run separately from this model ...