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
2
votes
1answer
416 views

ArcGIS Calculate Field, Python Shape Expression

Using ArcGIS 10.1 and Python 2.7- I am trying to write an expression that calculates the mid point of a line. I've tried many different expressions, but I continue to get syntax errors. #An example ...
2
votes
2answers
8k views

Joining Fields from Multiple Tables to One Table in ModelBuilder?

I have 40 tables with about 2000 row with a shared ID that I want to merge into 1 table with 2000 rows. I only want to retain a distance field calculated within each table. The distance field is ...
2
votes
2answers
82 views

Finding and replacing with if then else statement in field calculator of ArcGIS Pro?

I have a column of strings that always start with the first two characters being numbers, like 39 or 07, etc. In a new column I want to process the original column so that I replace any of those ...
2
votes
1answer
548 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 ...
2
votes
1answer
121 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 ...
2
votes
1answer
103 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" ...
2
votes
1answer
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 ...
2
votes
1answer
460 views

VBScript, Error 999999 Syntax Error Calculate Field in ArcGIS

I am using a field [all scores] as a parameter agricultural classification. I tried using field calculator (VB script) with many kinds script, but it never works and giving me notification 99999, ...
2
votes
1answer
200 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" = ...
2
votes
1answer
543 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\...
2
votes
1answer
520 views

arcpy.AddIndex_management error for in_memory variable

I am trying to optimize a script that uses addJoin_management. To do this efficiently, I am attempting to add an attribute index on the join table. I am getting a generic error when i do this though. ...
2
votes
1answer
836 views

Export coded value domains

I've attempted to write a script that will export all the coded value domains in a geodatabase to a table. Before I dig in the to script and what's wrong, I have looked at the similar question on this ...
2
votes
2answers
679 views

Assigning Default Value Using ModelBuilder?

Task: add several new fields to a feature class table and assign a default value to one of the fields. Software/Environment: Using ArcMap 10.2 (Advanced License) and Python 2.7. Data is stored in ...
2
votes
1answer
4k views

ERROR 999999: Error executing function - Failed to execute (CopyRaster)

ERROR 999999: Error executing function Unexpected operation No spatial reference exists This is a fragment from my log report: ERROR 999999: Error executing function. Database user name ...
2
votes
2answers
322 views

Error 000358 or Error 999999 invalid SQL

i've been searching arround all the answers in the questions of Error 358 and beyond, but i doesn't fix my problems, i tried every post and so on the problems stills there. I make two options in my ...
2
votes
2answers
2k views

Why does Erase give ERROR 999999 (Error executing function Invalid Topology Negative point valence)?

I am getting the following error when I try to erase a set of data from a file within a gdb. Any idea on what to do? I have done repair geometry multiple times on the input/erase datasets. I have 16GB ...
2
votes
0answers
78 views

Error 999999, Table name is invalid - Zonal Stats as table

I am attempting to run a model that iterates rasters and computes zonal statistics returning a table. The raster's statistics are computer across all polygons in a specific shapefile. This model ...
2
votes
1answer
44 views

Adding spatial reference to many shapefiles in loop using ArcPy? [duplicate]

AST folder has 5 shapefiles. This code tries to pass the 2100 coordinate system to these shapefiles. But it gives error 999999: arcpy.env.workspace = r"C:\Users\user\Desktop\roads\AST" for i in ...
2
votes
0answers
123 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 ...
2
votes
1answer
155 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 ...
2
votes
0answers
226 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 ...
2
votes
0answers
120 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 ...
2
votes
0answers
67 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:\...
2
votes
0answers
366 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 ...
2
votes
0answers
152 views

intermittent failures with SelectByLocation in an ArcPy addin [closed]

ArcGIS 10.2, Windows 10 this is the line that fails: arcpy.SelectLayerByLocation_management(WRS_layer, "INTERSECT", gridLayer, "", "NEW_SELECTION") The WRS_layer is in a file gdb, the gridLayer ...
2
votes
0answers
514 views

Error when stop editing a feature in ArcPy [closed]

I want to make changes in a feature attribute table that is an edge source of a Network dataset. In the next step, I need to rebuild the Network to make the changes take efect. The problem is that, ...
2
votes
0answers
381 views

Clip Management won't work outside of ArcMap/Catalog [closed]

Okay so I have a short script that works great when copied into the python window in ArcMap or ArcCatalog, but refuses to work in an IDE for whatever reason. The error that is thrown is: Start Time: ...
2
votes
1answer
477 views

Weighted Overlay - passing parameter as text error? [closed]

For some reason when hardcoding the save path for the wieghted raster just before runtime it works perfectly. Like such... arcpy.env.cellSize = "90" arcpy.env.workspace = r'G:\Xcel\Route Tool\Potter\...
2
votes
0answers
471 views

Why does ArcGIS Upgrade Geodatabase tool throw ERROR 999999: Error executing function? [closed]

I am using ArcGIS 10.1 for Desktop to upgrade File Geodatabases using a Python script that runs fine until the step where it runs the Upgrade Geodatabase tool. The error is: ERROR 999999: Error ...
1
vote
1answer
586 views

error trying to create two variables Cannot acquire a lock

I am trying to create two variables one for x vertices and another for y vertices, when I leave the vertices as x, y the code runs but not when I separate the vertices into verticeX & verticeY ...
1
vote
1answer
660 views

Am I over-complicating adding and then calculating fields? Suggestions for a better way? (Python)

I'm attempting to re-position a question I asked yesterday here. I am starting to think that the way I wrote my code just isn't the best way. Am I overcomplicating things? I know for a fact that ...
1
vote
1answer
69 views

999999 Generic Error when converting CSVs to dBase with TableToTable_conversion()

I am attempting to convert 5 fairly large CSV files into DBFs using ArcPy. My code is below. Currently when I run this script I am met with the following error: ExecuteError: ERROR 999999: Error ...
1
vote
2answers
95 views

Locate LAS Points By Proximity gives ERROR 999999?

I am trying to locate LAS points which is within a specific distance (25cm or 50cm) from the 3D points in a feature class. This is exactly what the Locate LAS Points By Proximity tool should do. My ...
1
vote
1answer
591 views

Getting Error 999999 from arcpy.SpatialReference.name?

I'm trying to build a set that consists of spatial reference names using .name method from the arcpy.SpatialRefernce() class. When I do this for a single prj file there is no issue, but when I try to ...
1
vote
1answer
383 views

Passing where clause as variable to arcpy.SearchCursor() gives ERROR 999999?

I'm having trouble passing my where clause for arcpy.SearchCursor as a variable. The following code successfully generates a query for me: PolyList = "C:\\Users\\korora912\\Desktop\\polygons.shp" ...
1
vote
1answer
365 views

Extract by Mask giving ERROR 999999 in ArcGIS Desktop?

In ArcGIS Desktop 9.3 I have 3 features I'm trying to use to extract by mask a DEM raster layer. After I extract by mask the layers visually don't line up. When I try to do further analyses (e.g., ...
1
vote
2answers
215 views

Error when creating data with special characters and numbers [duplicate]

My code will not project and store the feature layer in the scratch.gdb. "ERROR 999999 ... The table name is invalid. The table was not found. [17_5330_51961Lake]" The interpreter doesn't like "-" ...
1
vote
2answers
676 views

Multiprocessing with arcpy and Solar Analyst (spatial analyst)

I need help getting multiprocessing to work with the spatial analyst tool - Solar Analyst. I have tested the multiprocessing bit and it works fine. This sample is passing it a file containing 2 lines ...
1
vote
1answer
214 views

“Error 999999: Error executing function - Attribute conversion error” when running RegisterWithGeodatabase

I am using ArcPy to run through all of the spatial views in an enterprise GDB, register them with the GDB, and assign domains to the registered view. It runs great for most of the views in the GDB, ...
1
vote
1answer
174 views

Executing Fill in ArcPy gives ERROR 999999?

I am having trouble using Fill in arcpy as part of a tool. It works fine as a script, but when I create a tool, it fails. To localize the problem I modified the Help stand-alone script associated with ...
1
vote
2answers
272 views

Printing error message to console or log file in ArcPy? [closed]

My code is as follows: Essentially, I have one table in my database that is not able to convert into my FGDB. When I run on command line, I am able to get an error message of: WARNING: Failed to ...
1
vote
1answer
31 views

Add and Calculate Fields of Iterated Annotation Classes

I'm have difficulty with my script Arcmap v10.5.1. I get a syntax error on line 8. My question is: Can I calculate the Added field from an existing field within an iterated value? If so, what's my ...
1
vote
1answer
426 views

Creating loop to reproject multiple rasters in ArcPy gives ERROR 999999?

I am trying to batch reproject multiple raster files using arcpy. Here is the code I have so far: # Import system modules import arcpy import os # Set environment settings arcpy.env.workspace = "H:...
1
vote
1answer
59 views

Wrong Data Type for my Python Script Tool?

I've got the following script and want to run it in the ModelBuilder. import arcpy, os dem = r'C:\folder\dem.tif' out_folder = r'C:\outfolder' epsgs = range(32601,32661) + range(32701,32761) for epsg ...
1
vote
1answer
324 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 ...
1
vote
2answers
50 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==...
1
vote
2answers
240 views

Error 999999 exporting table view?

ArcGIS 10.1. When I try to export a table view with CopyRows_management, I get an invalid sql error. However, the sql statement by all accounts work fine. When I perform a GetCount_management, the ...
1
vote
1answer
385 views

Debugging error 999999 from Python Script using feature layer?

I'm attempting run a calculate field for a feature layer that I'm creating in this tutorial. I can't seem to set it up to run though. ERROR ...
1
vote
1answer
263 views

Update Cursor with Date Issue [closed]

My dates (maxDate, minDate, avgDate) all print out with the correct datetime format, but I am unsure if the problem is how the loop is written to update the cursor. Error: line 102, in updateRow ...
1
vote
1answer
4k views

Error 999999 “The table already exists” “No spatial reference exists” when using “import arcserver”

I'm hoping someone can help me understand why I'm getting this error. I have a python script tool that throws this error when it is run through the task scheduler: Traceback (most recent call last):...