laptop and a wrench

Bug

Opening a new project using a custom Managed Configuration in ArcGIS Pro SDK 3.4.1 returns the error message, "Failed to close the current project."

ArcGIS Pro
Bug ID Number BUG-000174934
SubmittedMarch 11, 2025
Last ModifiedJune 10, 2025
Applies toArcGIS Pro
Version found3.4.2
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

This behaviour is as designed. There is no public method for closing a project in ArcGIS Pro. Once a project has been opened in ArcGIS Pro, the application must always have an open project. There are two ways to open a project: either to close ArcGIS Pro or to open a different project. Attempting to open the same project will result in nothing happening as it is already open. The add-in code is attempting to work around this limitation by using an unsupported internal method that will not succeed in doing what the user is trying to do.

Steps to Reproduce

Bug ID: BUG-000174934

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options