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
123 views

Cannot import CSV to dbase via Table_to_Table in ArcMap

I have a CSV file with greater than 5 million records. When I imported it to dbase via the Table_to_Table function in ArcMap, it raised ERROR(99999). As a result, only 2 million or so records were ...
2
votes
1answer
441 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
3answers
3k views

Error when creating insert cursor in ArcPy?

I've written several scripts that copy data from MS Access db into a new, empty ESRI Geodatabase. I've pretty much copied the code and changed it for each table -- the first two scripts have worked ...
2
votes
2answers
119 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
689 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
137 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
105 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
482 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
237 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 ...
2
votes
1answer
221 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
610 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
564 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
948 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
747 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
336 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
3k 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
184 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
0answers
37 views

Print functions for data projection and rename file

I have been struggling with functions in this script as I would like to see the projection in the file and then rename. The problem is that it causes and definitions are not done properly Here is the ...
2
votes
1answer
46 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
2k views

ArcGIS Repair geometry doesn't solve “Incomplete void poly” error

I'm working with 8 shapefiles at approximately 63 mb in size total and I am trying to use ArcGIS/arcpy's Union to combine them into one single dataset. Each time I run this, I get the error: ERROR ...
2
votes
0answers
297 views

Using ModelBuilder to Automatically Import Excel, Display XY and Append to Master Shapefile?

I'm trying to automate a daily workflow using ModelBuilder. I have several tasks that I do daily in this order: Import an Excel file that contains 16 fields including two fields with x and y ...
2
votes
0answers
136 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
179 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
232 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
130 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
77 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
377 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
162 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
578 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
385 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
484 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
472 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
6answers
20k views

Why does Clip keep giving Error 999999: Error executing Function Invalid Topology [Topoengine Error]?

The layer being used as the Clip Features has been used before and worked fine, so I assume the issue is the layer I am trying to Clip (Input Features) - I keep receiving the same error when running ...
1
vote
1answer
592 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
665 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
77 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
121 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
681 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
463 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
436 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
266 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
706 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
44 views

Adding domain choices to a new field in a feature class

I have added a field to two news feature classes - one of the fc's is in a dataset and the other is in a database in the SDE. The new field, in each fc, needs to have three domain choices, seen in the ...
1
vote
1answer
408 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
355 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
526 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 ...