ERROR
While connecting to the Microsoft SQL Server to retrieve the database list, the following error message is returned:
Error: Connection Error: Unable to get database list. An unexpected fatal exception occurred within this application. Execution should be terminated.
Depending on the cause, the workarounds described below are applicable.
Install the correct ODBC driver version according to the Microsoft SQL server installed
The matching ODBC drivers are listed in the following web help document, ArcGIS Enterprise: Software required to connect to SQL Server.
Uninstall all versions of the ODBC driver and reinstall the correct version accordingly
To ensure there are no conflicts in the versions, only one version of the ODBC driver must be present on the machine. Refer to Microsoft Support: Uninstall or remove apps and programs in Windows for more information.
Fill in the proper instance name format
ArcGIS Pro includes the machine name in the instance name format when connecting to Microsoft SQL server. Ensure the following format is used when connecting to the database:
Code: <machine_name>\<instance>
Reinstall the Microsoft SQL server. The instance name can be identified using the Microsoft SQL Server Management Studio
If an installation occurs and the instance name is missing from the connection properties of the server, ensure the name is present in the Connection Properties window in the Microsoft SQL Server Management Studio, as shown in the image below.
Get help from ArcGIS experts
Download the Esri Support App