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

ArcMap 10.3 returns DIST_2D in Skline Graphs as angular distance, not linear distance [closed]

The Skyline processing frequently fails with error 999999 and others (050016, I believe). When I can produce a Skyline feature and then produce a Skyline graph, the horizontal distance returned (...
tlaritz's user avatar
  • 11
0 votes
1 answer
374 views

cannot delete row from coverage with updatecursor

I am able to update without any issue or error but when I try to delete a row I'm getting an error, see below for the code and error I can't see why it would fail. import arcpy def count_row(data): ...
Fredou's user avatar
  • 119
1 vote
1 answer
276 views

Renaming feature classes in model builder gives error 999999

I've a simple model to iterate through a feature dataset and rename all the feature classes, adding "geo." before the original filenames. The output of Rename tool looks like "geo.%Name%", but running ...
User6819's user avatar
0 votes
2 answers
681 views

Executing cost distance in memory

Trying to run cost distance tool in ArcMap, but I keep getting the following results: ERROR 999999: Error executing function. ("esriDataSourcesRaster.InMemoryRasterHelper") Failed because of out of ...
user81784's user avatar
  • 419
4 votes
5 answers
7k views

Avoiding Extract by mask error 999999?

I am iterating through ~300 raster tiles, using a polygon feature class to extract by mask. The model successfully processes the first ~100 tiles and then I get the following error on the same tile ...
Christopher's user avatar
1 vote
1 answer
1k views

Polygon to Raster Error

I am trying to create a raster from a polygon (ie polygon to raster conversion tool) in ArcGIS 10.3 but I receive a 999999 ERROR message. The raster is at 1km from a 1km fishnet/mesh polygon for the ...
Carly's user avatar
  • 39
1 vote
1 answer
471 views

Clip a Multipoint Feature Class (50 million points) with another feature class to get single xyz files [closed]

I have a very big multipoint feature class (in ArcGIS 10 imported from XYZ .txt files) and I have a shapefile which contains 50 polygons. (If I look at the attribute table, the 50 polygons are ...
Mathiaas's user avatar
1 vote
0 answers
124 views

PointsToLine Failed to execute [closed]

Using this article as a guide, I've been trying to connect points to the nearest location on a line road feature class. This works until the last step, the Points To Line tool. It consistently gives a ...
recurvata's user avatar
  • 2,260
2 votes
1 answer
485 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 ...
Salty Delgado's user avatar
3 votes
1 answer
390 views

Calculating raster area by converting to points to account for latitude changes?

I am looking at a large geographic area (e.g., continental Africa). I generated a raster of modeled habitat (using MaxEnt) defined in WGS 1984 depicting the hypothetical distribution of an organism at ...
toneply's user avatar
  • 33
1 vote
0 answers
655 views

ArcGIS Dissolve failing with small polygons [duplicate]

I have an arcpy script which clips (Clip_analysis) a shapefile of polygons to a grid square, converts any multipart polygons created to singlepart polygons (MultipartToSinglepart_management), runs ...
user3245448's user avatar
3 votes
1 answer
1k views

Why does my python script run out of memory from IDLE but runs Ok from Python Window in ArcMap?

Why does my code work in ArcMap but not in IDLE? It is similar to: ArcPy function works in ArcMap Python window but not from standalone script? except that the answer to that question does not apply ...
jbchurchill's user avatar
  • 4,469
1 vote
0 answers
111 views

Using ArcPy to run Create Random Raster tool executes successfully every other time, but fails with ERROR 999999 on alternate runs? [closed]

I am trying to create a python script to run several ArcMap tools in succession on a DEM. The script will ideally create a random raster (based on a normal distribution, with a mean of 0 and a ...
D. Ely's user avatar
  • 11
1 vote
1 answer
639 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 ...
M_2210's user avatar
  • 51
3 votes
0 answers
323 views

ArcMap Crashes with ArcGIS has encountered serious error when Accessing Classified Symbology [duplicate]

Whenever I select classified symbology for a raster layer ArcMap will crash/close and give the message/ prompt to send error report: "ArcGIS has encountered a serious error.." The problem is not ...
awvanwychen's user avatar
1 vote
1 answer
262 views

Deleting features with arcpy on ArcGis SDE 10.0 SP5

I am new to ArcGIS and arcpy and am learning largely through trial and error. Anyway, the overall task is to delete, edit and add rows to feature classes. I thought it would be good to start with ...
Bryan's user avatar
  • 423
1 vote
0 answers
24 views

Build Network after changing streets feature class in ModelBuilder? [closed]

Previous posts have said a network cannot be created in ModelBuilder. However, I have been able to create a network after going through part of the wizard, but stop short of build network, then go ...
AF27's user avatar
  • 11
2 votes
0 answers
185 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 ...
AMurray's user avatar
  • 194
1 vote
1 answer
773 views

ArcGIS Resample Tool Crashes with "Not implemented"

I'm trying to run the Resample GP tool with a mosaic dataset as an input. The mosaic dataset contains a raster for Peru, the Democratic Republic of Congo, and Indonesia. Each raster is in WGS84, which ...
Charlie Lefrak's user avatar
4 votes
1 answer
214 views

Generic error on an "if" in arcpy

My code has to check if a value in a shapefile attribute table belongs to a certain group of landuses. Below I paste my code: cursor = arcpy.SearchCursor(buf_intersect) fields = ["GTYS_Branc", "...
Patapunfate's user avatar
1 vote
1 answer
847 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 ...
geoJshaun's user avatar
  • 1,505
1 vote
1 answer
611 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" ...
korora912's user avatar
1 vote
1 answer
676 views

Minimum bounding geometry with "group" option gives error in ArcMap

The minimum bounding geometry tool is working fine on my data, but when I try using the "group" option, I get ERROR 999999: Error executing function. I would like generate two polygons, A and B, ...
user2192778's user avatar
0 votes
1 answer
1k views

Raster to TIN error

I have a big raster file (6,5gb) that I am trying to convert it to TIN format. What happens is that after 15-25 min of processing I get this error message Can someone tell me how can I fix this?
ropbasuel's user avatar
1 vote
2 answers
275 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 ...
Emil Brundage's user avatar
2 votes
1 answer
522 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, ...
Kurniati's user avatar
0 votes
1 answer
147 views

Performing Viewshed Analysis for Transmission Line returns general error 999999?

I have a scenario where a transmission line is designed and placed with heights for each structure. With that being said, it is to be proposed to the forest service who is more concerned with how ...
user66340's user avatar
3 votes
1 answer
663 views

arcpy.Clip_management throws 999999 error. Running from toolbox works fine

I want to clip multiple rasters to my study area, so I'm writing a script that's using the arcpy.Clip_management tool. However, the tool throws an 999999 error with no explanation when executing. I ...
Iamlukesky's user avatar
2 votes
2 answers
195 views

PackageLayer_management failing within script, needs to run outside of an ArcMap session

I'm automating a workflow that requires outputting a layer package, it throws the general ERROR 999999 when executing and breaks. It does, however, generate a folder in the correct directory, with ...
geodranic's user avatar
  • 475
1 vote
1 answer
632 views

Arguments error when running LineDensity scripts in arcpy [closed]

I'm trying to use LineDensity tool on polyline features. The shapefile is small and includes some invalid geometries. The code I use is an adaptation of an ArcGIS Help script. Here is my code: ...
Jean Somers's user avatar
1 vote
0 answers
460 views

Using row.setValue() function with arcgisscripting? [closed]

I'm trying to set column value NULL. I tried different ways to do that, I used CalculateField_management and UpdateCursor but i did not get success. when i used CalculateField_management. It says ...
Bhaskar Singh's user avatar
2 votes
1 answer
646 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. ...
its30's user avatar
  • 547
1 vote
1 answer
455 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 ...
Caitlin Ryan's user avatar
1 vote
1 answer
668 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., ...
theforestecologist's user avatar
0 votes
1 answer
2k views

ArcGIS project WGS_1984_UTM_Zone_32N to GCS_WGS_1984

I'm new to GIS. I have a shapefile for which I defined the coordinate system (using the Define Projection tool) to WGS_1984_UTM_Zone_32N and now I'm trying to reproject the shapefile from ...
john doe's user avatar
  • 125
1 vote
0 answers
40 views

ERROR 999999 in ModelBuilder because of Undefined Spatial Reference? [duplicate]

I have a folder with around 300 Shapefiles I want to use as masks in the tool Extract by Mask on the same Raster image. I'm using the following model : But I get the following error : ERROR 999999: ...
Nahas's user avatar
  • 983
1 vote
1 answer
191 views

ArcGIS Server Geoprocessing Service fail to run a WeightedOverlay process

I have a simple python script that runs a Weighted Overlay process. This script runs fine locally but when I publish it to ArcGIS Server and submit the job through the REST service page, it gave me ...
jma's user avatar
  • 11
0 votes
1 answer
641 views

Arcpy - (Error 999999) Table Already Exists Project Management

My code is supposed to clip features within a temporary directory, project them and place them into a specific feature dataset within a geodatabase. Then the code goes back and deletes the temporary ...
MikPM's user avatar
  • 237
2 votes
0 answers
698 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, ...
José Roberto Ribeiro Filho's user avatar
0 votes
2 answers
3k views

Batch Zonal Statistics as table?

I want to calculate zonal statistics as table for multiple rasters, but can't figure out how. What I am trying is: import arcpy, os arcpy.env.workspace=r'F:\Sheyenne\Atmospherically Corrected ...
spotter's user avatar
  • 101
0 votes
1 answer
468 views

Error 999999 when converting a point feature class to a raster in python

After having converted my xyz-file to a point feature class, I am trying to convert to a grid using a Python snippet. The data represents river bathymetry. However, when executing the script, I get: '...
Renée's user avatar
  • 351
3 votes
1 answer
1k views

How to test for 'if arcpy.exists' with RemoveFeatureClassFromTopology stand-alone script?

I have some dataset topologies that I want to loop through, but I need to test for the assignment of feature classes so the scripts don't fail. (Using Win 7, ArcGIS 10.2, Python 2.7.5 and a file GDB) ...
user1995458's user avatar
3 votes
1 answer
261 views

XYToLine and Error 999999

When attempting to convert this text file to lines using the XYToLine tool I keep getting the generic ERROR 999999. What is going on? ID SrcX SrcY DstX DstY 1 905653.9545 ...
matt wilkie's user avatar
5 votes
2 answers
785 views

Script (ArcPy) vs field calculator (Python Parser) behaviour of getPart in ArcGIS for Desktop?

From time to time I have to access geometry field and shuffle through points in it. Process is simple: Get shape Get it's part Iterate through part's points This is how it looks like in a script ...
FelixIP's user avatar
  • 22.4k
2 votes
1 answer
1k 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 ...
tpdance's user avatar
  • 271
1 vote
1 answer
560 views

Point to raster conversion works as a tool in arcmap but fails when attempted with identical parameters in a script

I'm working on a script that will automate a stream delineation protocol given a DEM and a culvert layer. I was having difficulty troubleshooting problems with the point to raster conversion tool so I ...
Rowyn Cooper-Caroselli's user avatar
1 vote
1 answer
299 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 ...
Chris's user avatar
  • 55
1 vote
1 answer
266 views

Merging USGS DEM files in ArcMap? [closed]

I'm trying to merge my DEM files into 2 separate files, one will have 4 files and the other will have 3. I've been reading every post from when someone asked this before for over an hour and I'm still ...
Ryan 's user avatar
  • 21
1 vote
2 answers
363 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 "-" ...
pyRsq's user avatar
  • 146
0 votes
1 answer
2k views

Mosaic to raster 16BIT Error 999999

I am using ArcGIS for Desktop 10.1. I am trying to merge a few 16bit rasters by Mosaic to New Raster. The problem is it makes me do only a 8bit output making me lose pixel data bigger than 255 and ...
Andrea Tripodi's user avatar