laptop and a wrench

Bogue

When the machine format is set to Turkish (Türkiye) on Windows Server 2022 or 2025, the error "java.lang.Exception: Failed to initialize the database" occurs during Enterprise Portal site creation.

Portal for ArcGIS
Numéro d’ID de bogue BUG-000178244
EnvoiJuly 28, 2025
Dernière modificationSeptember 18, 2025
S’applique àPortal for ArcGIS
Version trouvée11.5
Système d’exploitationWindows Server
Version du système d’exploitation2025
StatutIn Review

Solution de contournement

There are two workaround options:

Option 1: Patch the locale with Microsoft's Locale Builder tool

1. Download Microsoft Locale Builder from: https://www.microsoft.com/en-us/download/details.aspx?id=41158.

2. Install and launch the tool.

3. Create a new locale based on 'Turkish (Türkiye) [tr-TR]'.

4. In the English Names tab, change Türkiye to Turkey (ensuring no non-ASCII characters remain).

5. Build a .msi installer via the tool and run it on the system.

6. Select this custom locale as the format.

7. Retry the Create Site operation.

Refer to the documentation: https://learn.microsoft.com/tr-tr/answers/questions/2190276/kb5033371-nolu-update-paketi-hakk-nda?forum=windowserver-all&referrer=answers for instructions.

Option 2: Clean install with English locale

  • Format the machine or provision a clean OS.
  • Before installing Portal and Data Store, set the system region format to English (United States)
  • Proceed with Portal and Data Store installation — the locale name used during PostgreSQL initialization will now be ASCII-compatible.

Étapes pour reproduire

ID de bogue: BUG-000178244

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement