Select to view content in your preferred language

Unexpected Error while sharing the Project Package

221
3
a month ago
PukarBhandari
New Contributor

Hi everyone,

I'm encountering an issue when trying to share an APRX file as a PPKX file in ArcGIS Pro. After running for some time, the process fails with the following error message:

"ErrorMessage: An unexpected error has occurred when creating the package. Check your settings and try again."

Unfortunately, the log file does not provide any additional information to help identify the cause. I’ve attached the log file to this post in case anyone is able to interpret something I may have missed. I am running ArcGIS Pro 3.5.1, in case that matters. I had tried exporting the same project a couple of months ago in a different version, it hadn't worked then either.

I’ve tried the following:

  • Running the Analyze tool before packaging — it shows no errors or warnings.
  • Exporting other APRX projects as PPKX — these work without any issues.
  • Repeating the process multiple times — the issue persists consistently with this specific project file.

Due to the lack of details in the error and the size/complexity of the project, it's impractical to manually check each layer one by one.

Has anyone experienced a similar issue or have suggestions on how to troubleshoot this further?

Thanks in advance for your help!

0 Kudos
3 Replies
MikeVolz
Frequent Contributor

I understand that you would not want to analyze every layer, but you might want to see what happens if you remove the most complex layer(s) from the project and see if the issue persists.

0 Kudos
Robert_LeClair
Esri Esteemed Contributor

A few thingst to test/troubleshoot:
1.  Can you create a map package?  Any errors?
2.  Can you create a layer package for a single layer in your map view? Any errors?  
3.  Do you have any created *.tbx or *.atbx files?  Maybe create a new *.atbx file, copy/paste the files into the new toolbox and delete the old one.
4.  Is the *.pptx being written to your C:/ drive or a network drive?

0 Kudos
David_McRitchie
Esri Regular Contributor

These ones can be tricky, but just to add it is worth saving a new aprx and divide the project into blocks for testing. Say we have 200 layers, if we remove 50 of these does packaging work? It'll make testing a lot quicker.

I would also double check that this is being written locally onto your user folder and not being packaged to something like OneDrive.

Esri UK -Technical Support Analyst
0 Kudos