Corrupted ArcGIS Pro Project File

05-30-2019 01:44 PM
New Contributor III

I am trying to open a project file/.aprx file on ArcGIS Pro 2.2.0, and for a minute the software tries to load, then it crashes, giving me a screen saying "ArcGIS Pro has encountered a serious error and needs to close."

All my other projects open fine. This is a rather large project as it has multiple maps/layouts, but I opened another project with 12 tabs and that opened with no problem. I have not used any Python or special environments here, simply shapefile/feature class layers and maps. 

I have tried opening from Pro and Windows Explorer. I have also tried opening a .mapx file I saved from the project.

Is there a way for me to recover this?

Tags (1)
0 Kudos
1 Reply
New Contributor III

I just had this happen, and here's my workaround. Basically, an APRX file is a zip-compressed folder, consisting of (among other things) a folder for each element of your project:  map, layout, etc. Inside each are XML files and such defining the setup of each element. Chances are, one of those elements is corrupt. So, use the "Christmas Lights" method!

  1. Copy the APRX file
  2. Rename the copy to .zip
  3. Open the zip file, and delete one of the folders
  4. Rename the copy back to .aprx
  5. Try to open it in ArcGIS--if it works, that's the offender, if not, repeat steps 1-5 for the next folder.

Yes, you can speed this up with a binary search method to narrow it down (delete the first half of the folders, then the second half, ...), but remember that there may be more than one corrupted element (the christmas lights nightmare). Once you narrow it down, you could go into that folder and muck around looking for the problem, or if it isn't too major (my last one was just a selection set, so nothing major), just leave it out and build that element over again. The fact that the master XML file is now referencing a missing element may or may not throw an error or a warning, depending on how vital it is, but in my experience, it seems to make do okay.