As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [error-999999]

"Error 999999: Error executing function" - a generic error in Esri ArcGIS products without a specific error ID. Basically it means "uh-oh something bad happened".

Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

ModelBuilder: Error 999999 "Failed to copy raster dataset"

I want to run the "Project Raster" tool in the ModelBuilder of ArcMap but I get the "ERROR 999999: Error executing function. Failed to copy raster dataset." and I have no reason why. Input is a ...
David's user avatar
  • 353
0 votes
1 answer
389 views

Unable to open feature class - Failed to execute (Raster to Polyline)

I'm working in ArcGIS 10.4.1 in the ModelBuilder with the iterate feature selection iterator. Everything works out just fine. But in the end I would like to convert my raster-output via "Raster to ...
Patrick Matu's user avatar
-1 votes
1 answer
521 views

ArcPy convert raster TIFF to PNG

ArcGIS 10.2 and I use ArcPy and I have create a ArcPy script. I want my final raster from script to create two raster datasets with different extensions, a TIFF extension and a PNG extension. Here is ...
hellas's user avatar
  • 363
-1 votes
1 answer
1k views

Error 999999 with topo to raster

I'm trying to create a raster from contours and some points with an elevation field but when I excecute I get this error : Executing: TopoToRaster "pts_drones ELEVATION PointElevation;courbes_5m ...
zakaria mouqcit's user avatar
0 votes
1 answer
85 views

Image segmentation error 999999 with NAIP in ArcMap?

I'm trying to do object-based image analysis on a portion of the NAIP 2016 aerial imagery for Washington (4-band, 8-bit unsigned). Image: The NAIP file I'm using is accessed through a USDA server. To ...
la_leche's user avatar
  • 423
0 votes
1 answer
217 views

Topology error in ArcGis

I am trying to intersect a large feature class (118692 elements) with a grid (58000 elements) but I get an error message. Traceback (most recent call last): File "Path/InterJoin.py", line 24, in &...
Victor A's user avatar
3 votes
1 answer
82 views

Python code to count business days in ArcGIS field calculator gives ERROR 999999?

I'm trying to field calculate using a python script the number of business days between two given dates. Right now the dates are hard coded, but once I get the script working I will pass dates from ...
fluffybuddha's user avatar
2 votes
0 answers
191 views

ArcGIS Web Mapping Service Extract By Mask Give 99999 Error

The USDA used to provide four-band NAIP imagery as TIFF tiles for each township (6x6 miles) in the USA. The 2013 data only available as an ArcGIS web-mapping service. Not being a big fan of ...
GBG's user avatar
  • 8,837
1 vote
1 answer
385 views

Error 999999 in Zonal Statistics estimation using ArcPy?

I have multiple rasters saved in "Zonal.gdb". All the rasters in "Zonal.gdb" and "TownWilson_PrjUTM" have projected coordinates "WGS_1984_UTM_Zone_15N". I want to clip each raster to the extent in the ...
user3408139's user avatar
3 votes
1 answer
548 views

Complicated expression for Calculate Field for arcpy

I have a working formula that I can put in the Field Calculator which I'd like to use in my python code: .3-.001*Log ( [Field1]+1 )-.02*Log ( [Field2]+1 )-.04*Log ( [Field3]+1 ) My code: ...
Gary's user avatar
  • 540
0 votes
1 answer
558 views

Creating TIN in standalone ArcPy script for ArcGIS Pro?

I'm trying to create a TIN from contour data. My program will actually create an empty TIN, but it will still give me an error. Below is my code: import arcpy arcpy.env.workspace = r"C:\Users\Aliza\...
Aliza Etkind's user avatar
1 vote
1 answer
276 views

Passing File from Python Script to ModelBuilder tool?

I have a script that produces a text file. The name of the text file it creates is determined by the input parameters chosen by the user. The user chooses what Layer, Stress Period, and Time Step to ...
user32907's user avatar
1 vote
1 answer
772 views

Failure to Iteratively Calculate Zonal Statistics as Table ArcGIS

I want to calculate mean luminosity for a district using several rasters and a shapefile with administrative borders. Since I have many files, I want to do the operation iteratively using a model ...
Artem Kochnev's user avatar
3 votes
2 answers
748 views

Writing Data Driven Pages' scale into driving layer's attribute table with arcpy

I want to write a scale value that is changing for every Data Driven Page (since using map extent best-fit so that each polygon in the driving layer would be whole in "its" exported map) to the table ...
Abc1's user avatar
  • 175
0 votes
1 answer
2k views

The table was not found. Reclassify Arcpy

I am new to Python and trying to determine what is wrong with the following code: -- error message -- arcgisscripting.ExecuteError: ERROR 999999: Error executing function. The table was not ...
alex dun's user avatar
2 votes
1 answer
219 views

Debugging ModelBuilder Error 999999?

I have to build a model for my class midterm which requires us to take a .csv file and convert it to a table, then take the table and create an XY event layer which will be used to create a new ...
Bec's user avatar
  • 53
2 votes
1 answer
336 views

ERROR 99999 during arcpy.Project_management

I have a script that I run in ArcMap 10.5.1 that iterates through feature classes in a file geodatabase and projects each one to a WGS84 shapefile. This works smoothly for most feature classes in the ...
spaine's user avatar
  • 470
1 vote
1 answer
79 views

Performing Project_management in batch using ArcPy?

import arcpy import os fc = [] walk = arcpy.da.Walk('C:/Wiley/P1/gis/OSM.gdb') outdir = "C:/Wiley/P1/gis/HK80.gdb/osm" for root, dirs, datasets in walk: for ds in datasets: fc.append(...
Wiley Ng's user avatar
-2 votes
1 answer
919 views

Search Cursor to count not null values records?

I am trying to achieve print all featureclass, total count, notNullvalues. I am trying hard on this code. but getting Error: suggest how can I code better and working. I am not regular python user. ...
GIS Data Butcher's user avatar
2 votes
1 answer
947 views

listing multiple files for a merge (arc)python

I have created a script to convert GPX into features with python. This script works but now I want to add all these separate feature classes (point features) in one featureclass/layer and convert it ...
M. Heynen's user avatar
1 vote
0 answers
684 views

Reclassify raster error 999999 [closed]

I need to reclassify unsigned integer raster data. I ran Calculate Statistics on the Raster, tried Reclassify, but keep getting Error 999999: Error Executing Function. The description for the error ...
Caam's user avatar
  • 11
1 vote
3 answers
1k views

ArcGIS: Error 999999 in spatial join

I am trying to assign attributes from one point layer to another point layer based on closest location. So I am trying to use a spatial join and generate the ArcPy code in order to ensure ...
Jan Bakker's user avatar
2 votes
0 answers
260 views

Why does order of commands in raster processing matter? [closed]

My company has recently changed to ArcGIS 10.5 (from 10.1) and now some arcpy scripts that worked fine before don't run anymore. I am not completetly convinced this is actually the reasons of the ...
Ben the bear's user avatar
0 votes
2 answers
207 views

ArcPy: 999999 ERROR when using AddJoin_management

I want to execute three joins in total. The first two joins work, but when I'm trying to join both resulting datasets I get the beloved 999999 ERROR. # sr tables for joins sr1Table = sr1Path + ".dbf" ...
Flugmango's user avatar
0 votes
1 answer
272 views

Calculating a field error

I have this table: And I want to create a field called "COSN2" which after the creation I want to fill it with three characters from the field "COS207". Than I wrote the following script: import ...
Thomas Bitter Campos's user avatar
0 votes
2 answers
1k views

Selecting table records by attribute if in Python list

I would like to create a subset of a table based on values in a Python list that I created from a search cursor. I have not been able to get the where_clause correct and keep getting errors. Here is ...
mmoore's user avatar
  • 1,016
0 votes
1 answer
902 views

Raster to polygon fails in ModelBuilder iteration

I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS Desktop 10.4. As there are many rasters, I use a iteration in ModelBuilder. The output ...
Bruno Martins's user avatar
0 votes
1 answer
386 views

Re-projecting Multiple Shapefiles using ArcPy?

I decided to re-project shapefiles from one coordinate system to another. I wrote the following script but am getting the execution Error 999999. Here is the script: import arcpy # input data is ...
Sophia Bogner's user avatar
3 votes
1 answer
1k views

Summary Statistics with multiple case fields not working [closed]

While trying to calculate summary statistics in a table in a GDB, i get the following error: ERROR 999999: Error executing function. The table was not found. [OutputStats] Failed to execute (Summary ...
K.Frantzios's user avatar
3 votes
2 answers
329 views

Executing arcpy.createTable_management with parameters from arcpy.GetParameterAsText?

I'm trying to create a script tool in ArcMap that creates an attachment match table. The script fails giving this: Traceback (most recent call last): File "H:\py\PhotoMatch_test.py", line 40, in &...
J. Flann's user avatar
  • 278
3 votes
0 answers
248 views

Failure using inline variable %Name% as output file name in ModelBuilder [closed]

I am using the following model to iterate through ASCII files and then use the reclassify tool: The model works very well if I use a generic name as the output file name, or even using an inline ...
VincentN's user avatar
2 votes
0 answers
162 views

Define Overviews Tool Error when Iterating through Mosaic Datasets [closed]

I have multiple mosaic datasets in a file geodatabase. I need to run the Define Overviews tool on all the mosaic datasets. However, when I try to iterate through the mosaic datasets with ModelBuilder ...
user88970's user avatar
1 vote
2 answers
61 views

What is syntax of bool in arcpy.sa.ExtractByAttributes?

I want to extract specific values of raster layer. Use codes as follows: attExtract=arcpy.sa.ExtractByAttributes(outraster,'VALUE==8 | \ VALUE==9 | VALUE==...
chaobin zhang's user avatar
2 votes
0 answers
91 views

Debugging arcpy LasDatasetToRaster_conversion error 999999? [closed]

I have 40+ LAS Datasets (.lasd) that I am attempting to convert to rasters. Here is my code: import arcpy import os arcpy.env.workspace =r'F:\Shorelas' arcpy.env.overwriteOutput = True env = r'F:\...
Krizzle's user avatar
  • 183
2 votes
0 answers
483 views

Add Join in ModelBuilder gives ERROR 999999 [closed]

I'm trying to use Add Join in ModelBuilder but it keeps giving me an error message "generic error". Funny thing is, it works fine if I do one Join but I need to do several ones (about 200s or ...
Mutumba's user avatar
  • 213
2 votes
1 answer
269 views

ArcGIS 10.1 ModelBuilder: Data displayed, Multiple ring buffer causes Error 999999

I am trying to make a flow of processes in ModelBuilder, connecting multiple tools: import polygon dissolved it, intersected with another files, and selected desired polygons by attributes("ZONA" = ...
maycca's user avatar
  • 3,356
2 votes
1 answer
198 views

Getting 999999 error from ArcPy script to increment one field when another field contains 0?

Before I begin I should emphasise that my python knowledge is pretty limited; generally self taught or inspired by snippets I have found on here. I have a .dbf table, and I need to use python to ...
Smiff Lord's user avatar
3 votes
0 answers
76 views

Testing if ArcPy script will work with lower license level? [duplicate]

I was looking at the question Exporting feature class to SQLite database using ArcPy with ArcGIS Pro? which states at the end The problem is that I cannot use feature class to feature class ...
Midavalo's user avatar
  • 29.5k
-1 votes
2 answers
3k views

If Then Else Statement in Field Calculator using Python - ArcGIS 10.1

I am trying to populate a field [Hazard] based on the values in two other fields [Depth2D] and [Speed2D]. I have managed to write a code block in VB script that works but I really want to figure out ...
ALiOAWA's user avatar
  • 13
-1 votes
1 answer
1k views

Export Query Layer to shapefile using arcpy [closed]

Composing a map using query layers in ArcGIS 10.4.1 (Basic) the final step is to backup the data used when the map is finalised. Exporting manually is straight forward. But using the conversion tool ...
stevo's user avatar
  • 47
1 vote
1 answer
3k views

A column was specified that does not exist - Error when running Select Layer By Attribute tool

I have shapefiles in a folder that were created by using the Raster to Polygon tool to convert reclassified rasters to polygon shapefiles. Each has a field named 'GRIDCODE'. I now want to select ...
Laura's user avatar
  • 77
0 votes
1 answer
73 views

Invalide charater error associated with "Select-Case" vba

Anyone see a problem with the following code. I keep getting a 999999 - invalid character error. Select Case [code] case 5112: x = "AP030" ' trunk<br /> case 5113: x = "AP030" ' ...
Jeff's user avatar
  • 399
4 votes
1 answer
732 views

Extract Multi Values to point error table was not found

Newbie to arcpy. Tried using this tool after successfully using Extract Value to Point tool with same data. I received the correct data appended to the attributes table. I would like to use the ...
Jotter's user avatar
  • 153
1 vote
1 answer
179 views

Adding join to table from Microsoft Access in ModelBuilder gives ERROR 999999?

I am working on a model in ArcMap (10.4.1) that calculates habitat suitability over a series of timesteps. The data needed to calculate habitat suitability at each timestep is stored in a specific ...
K. Credo's user avatar
  • 256
1 vote
0 answers
23 views

problem to execute overlay analysis for multiple layer in python script [duplicate]

I wrote the code to get a series of weighted overly result for multiple layer in python script. But it showed some error massage. What can be the solution? import arcpy input1 = "D:\work\helath.gdb\...
didar's user avatar
  • 11
1 vote
0 answers
228 views

Error 'DBMS Table not found' when sharing some shapefiles as Runtime Content [closed]

I have a collection of shapefiles that I want to "Share as > ArcGIS Runtime Content". In this collection there are a few shapefiles that cause an error. If I access this function through ...
Vincent_v_E's user avatar
2 votes
1 answer
109 views

ExecuteError: ERROR 999999 with "PointsToLine" function with a Point Feature class created by "MakeRouteEventLayer_lr"

I have an issue with the "PointsToLine" function in Python arcpy and in the tool dialog, the problem comes everytimes I use a POINT Feature Class (FC) created from the "Make Route Event Layer" ...
JustAsking's user avatar
1 vote
0 answers
211 views

ExtractSubDataset in ArcPy loop giving ERROR 999999? [closed]

In ArcMap, I've created a layer group that I would like to add extracted subdatasets from a file to. It is a .grb file and I've successfully done this with the provided "Extract Subdataset" tool. Is ...
Jotter's user avatar
  • 153
2 votes
1 answer
797 views

Zonal statistics for several rasters in ArcGIS

I am running this Zonal Statistics as a Table code for a single raster and it works: import arcpy, os destination_path= r'\\Mac\Home\Desktop\arc_stuff' shapefile= r'\\Mac\Home\Desktop\arc_stuff\...
cecefuss's user avatar
  • 147
2 votes
1 answer
2k views

Error 999999 with Project Raster

I'm using ArcMap 10.3.1, and I'm working with monthly precipitation raster data from 1995 - 2015. Currently, I'm trying to get all of these raster layers (252 in total) to a different projection by ...
Tula's user avatar
  • 159