The shape file was created in QGIS. It is is clean file with no reported errors according to diagnostic tools in QGIS. But, when I attempt to load to a map in ArcGIS pro, the above error message appears. At a loss as to what else to try.
Creating a shp.xml file did not solve the problem.
I created new versions of the two shapefiles (and ancillary files) in QGIS to see if there was a corruption issue but that did not solve anything.
Within ArcGIS I checked the properties of the "good" and "bad" files.
The "good file" was listed as follows:
- Shapefile Feature Class
- A file path was listed
= Geometry type = Polygon
The "bad file" was listed as follows:
- Cannot connect to database
Both files are contained in the same folder.
I'm not sure if creating a geodatabase has any relevance to this problem as my level of understanding of ArcGIS is limited but I did manage to create such a database file in ArcGIS for the "good" file but have been unable to replicate for the "bad" file as an error is produced when doing so:
Running script FeatureClassToGeodatabase...
Failed to convert: C:\Users\Darrin\....\Temp2.shp. ERROR 999999: Error executing function.Failed to execute (CopyFeatures).
As gar as I can tell 999999 is a generic error code so unable to decipher.
Thanks
Darrin
Do you have access to ArcMap? Maybe you can try adding the shapefile from QGIS with the multipart polygons and processing them in ArcMap and then try adding that processed shapefile to Pro.
This looks like the solution. Thank you Adrian.