I'm getting this same error except when trying to merge datasets. It's very annoying and can't find any explanation for it. The data is added to arcmap, displays without issue and appears in the drop down list of the tool, but as soon as you run the tool it gives the error 000229. After the tool has failed, when ticking the layers on and off I get the red exclamation mark signalling a broken data link, but the source location is as it should be.I managed to get the merge to work by exporting the datasets into a new gdb. Any ideas what the problem is though? Are the files corrupted in some way and are there other ways to resolve it?
I've had this problem with clip, joins, and selections when performing geoprocessing in the Python Command Window. Everything runs fine in ArcGIS 10.0, so this is definitely a 10.1 bug. It occurred before and after installing SP1 for Desktop Background Geoprocessing (64-bit). The error occurs on shapefiles and feature classes (GDB). I can run some commands referencing a layer and have it work fine, close ArcMap, open later to run the same commands and receive the error...Sometimes the error would appear for a different layer that didn't give me a problem before. Nothing change in the TOC or with the layers. FRUSTRATING...My workaround...Every time I received the error I was referencing a grouped layer. Being grouped didn't cause the problem, as it occasionally worked with the same grouped layer, but errors only occurred on a grouped layers. If I moved the layer outside of the group the errors always went away. I've tried several ways to reference the layer (e.g. r'GROUP\lyr', 'GROUP\lyr', 'lyr) but could not find a solution.As someone else mentioned, sometimes restarting ArcMap helps too.
I am getting the Union Error #000229 - Unable to open source layer
I have tried several solutions to no avail:
1. Copying the datasets to another file location (desktop, shared network drive, etc.)
2. Renaming the geodatabase and the source files
3. Exporting the source files as shapefiles (.shp)
4. Completely restarting a new project and inserting the files and retrying the Union.
NOTHING has worked! Its ironic because this is simple geoprocessing task that was set up in a tutorial through ESRI.
I have contacted ESRI support and waiting for a call. I will repost if I get a solution.
To all those who are interested, I have not spoken with ESRI Support yet, but me and my team have come up with a solution to this issue:
Personal geodatabases have been phased out for computers running 64 bit versions of ArcGIS:
http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002t001324
All of the new computers are 64 bit, and a lot of the older CAD/power machines are 64 bit.
The solution is to create File Geodatabases and export the data you need to a shapefile then import it as a feature class to your new file geodatabase. Go to your project or open Catalog, run the Union tool using the new feature classes (you will have to reset the data source in your project). Remember to store your output in a separate file geodatabase. I don't believe the Union tool will allow you to store the output in the same field geodatabase as the feature classes being processed.
Happy GISing!
I had the same error message when running a Python script containing an Intersect and then a SpatialJoin. I enabled Background Processing in the Geoprocessing Options (no idea why it was off) and suddenly it worked.
You have helped someone...me! I was getting error 000229 trying to batch merge and buffer 10 or so layers and had tried various work-arounds including removing them from grouplayers but nothing worked. Clicked background processing off and it worked flawlessly. Thank you for posting this!
Thanks tojthompson88 - in my case at least it was fixed by change the way things were named in the Table of Contents (ToC). Specifically, the layers that were failing were in a Group -- with a space in the name. ArcGIS 10.3.1 with 64-bit background geoprocessing on. I use underscores EVERYWHERE but the ToC. Now including the ToC.
Be careful there are no lock files on the layer. Sounds like an access issue to me.
Helped me, too. A tip o' the compass to you! I was mystified as to why a simple "clip" would not work, especially since my feature classes were entirely accessible and not grouped. Couldn't figure out what on Geo was going on (of course this is ESRI, and their "help" was anything but...).
Then I read Brendan's post: found and un-selected the "background processing" box, which I had never ticked (but which was ticking me off), and suddenly the clip worked.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.