Error while using a shared library (plugin)

I keep getting this error tried even reinstalling
I am using Orthanc version 1.12.0 on a window device.
could someone please help?
thank you in advance.

Here is the log:

W0607 19:56:12.938257 main.cpp:2034] Orthanc version: 1.12.0
W0607 19:56:12.939263 OrthancConfiguration.cpp:108] Scanning folder “Configuration” for configuration files
W0607 19:56:12.939263 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\azure.json”
W0607 19:56:12.941258 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\delayed-deletion.json”
W0607 19:56:12.941258 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\dicomweb.json”
W0607 19:56:12.942257 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\housekeeper.json”
W0607 19:56:12.943256 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\indexer.json”
W0607 19:56:12.944259 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\mysql.json”
W0607 19:56:12.945257 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\odbc.json”
W0607 19:56:12.946263 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\orthanc-explorer-2.json”
W0607 19:56:12.947267 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\orthanc.json”
W0607 19:56:12.949254 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\postgresql.json”
W0607 19:56:12.950255 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\serve-folders.json”
W0607 19:56:12.950255 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\stone-webviewer.json”
W0607 19:56:12.951254 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\tcia.json”
W0607 19:56:12.951254 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\transfers.json”
W0607 19:56:12.952256 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\webviewer.json”
W0607 19:56:12.952256 OrthancConfiguration.cpp:57] Reading the configuration from: “Configuration\worklists.json”
W0607 19:56:13.308261 main.cpp:911] Loading plugin(s) from: C:\Program Files\Orthanc Server\Plugins
W0607 19:56:13.310257 PluginsManager.cpp:261] Registering plugin ‘connectivity-checks’ (version 1.12.0)
W0607 19:56:13.311257 PluginsManager.cpp:261] Registering plugin ‘delayed-deletion’ (version 1.12.0)
W0607 19:56:13.313255 PluginsManager.cpp:157] DelayedDeletion - plugin is loaded but disabled (check your “DelayedDeletion.Enable” configuration)
W0607 19:56:13.314256 PluginsManager.cpp:261] Registering plugin ‘housekeeper’ (version 1.12.0)
W0607 19:56:13.314256 PluginsManager.cpp:157] Housekeeper plugin is initializing
W0607 19:56:13.315256 PluginsManager.cpp:157] Housekeeper plugin is disabled by the configuration file
W0607 19:56:13.316256 PluginsManager.cpp:261] Registering plugin ‘volview’ (version 1.1)
W0607 19:56:13.317255 PluginsManager.cpp:261] Registering plugin ‘stone-webviewer’ (version 2.5)
W0607 19:56:13.318256 PluginsManager.cpp:261] Registering plugin ‘worklists’ (version 1.12.0)
W0607 19:56:13.318256 PluginsManager.cpp:157] Sample worklist plugin is initializing
W0607 19:56:13.320255 PluginsManager.cpp:157] Worklist server is disabled by the configuration file
W0607 19:56:13.322256 PluginsManager.cpp:261] Registering plugin ‘multitenant-dicom’ (version 1.12.0)
W0607 19:56:13.325257 PluginsManager.cpp:261] Registering plugin ‘authorization’ (version 0.5.2)
W0607 19:56:13.325257 PluginsManager.cpp:157] Initializing the authorization plugin
W0607 19:56:13.326258 PluginsManager.cpp:157] No section “Authorization” in the configuration file, the authorization plugin is disabled
W0607 19:56:13.332256 PluginsManager.cpp:261] Registering plugin ‘Azure Blob Storage’ (version 2.1.2)
W0607 19:56:13.332256 PluginsManager.cpp:157] Azure Blob Storage plugin is initializing
W0607 19:56:13.332256 PluginsManager.cpp:157] Azure Blob Storage: no “AzureBlobStorage” section found in configuration, plugin is disabled
W0607 19:56:13.334259 PluginsManager.cpp:261] Registering plugin ‘dicom-web’ (version 1.13)
W0607 19:56:13.335254 PluginsManager.cpp:157] URI to the DICOMweb REST API: /dicom-web/
W0607 19:56:13.336257 PluginsManager.cpp:157] DICOMWeb PublicRoot: /dicom-web/
W0607 19:56:13.336257 PluginsManager.cpp:157] URI to the WADO-URI API: /wado
W0607 19:56:13.337257 PluginsManager.cpp:261] Registering plugin ‘orthanc-explorer-2’ (version 0.9.3)
W0607 19:56:13.338255 PluginsManager.cpp:157] Root URI to the Orthanc-Explorer 2 application: /ui/
W0607 19:56:13.368255 PluginsManager.cpp:261] Registering plugin ‘gdcm’ (version 1.5)
W0607 19:56:13.368255 PluginsManager.cpp:157] Version of GDCM: 3.0.10
W0607 19:56:13.369255 PluginsManager.cpp:157] GDCM throttling is disabled
W0607 19:56:13.370256 PluginsManager.cpp:261] Registering plugin ‘indexer’ (version 1.0)
W0607 19:56:13.372256 PluginsManager.cpp:157] OrthancIndexer is disabled
W0607 19:56:13.375257 PluginsManager.cpp:261] Registering plugin ‘mysql-index’ (version 5.0)
W0607 19:56:13.377256 PluginsManager.cpp:157] The MySQL index is currently disabled, set “EnableIndex” to “true” in the “MySQL” section of the configuration file of Orthanc
W0607 19:56:13.379257 PluginsManager.cpp:261] Registering plugin ‘mysql-storage’ (version 5.0)
W0607 19:56:13.381257 PluginsManager.cpp:157] The MySQL storage area is currently disabled, set “EnableStorage” to “true” in the “MySQL” section of the configuration file of Orthanc
W0607 19:56:13.382256 PluginsManager.cpp:261] Registering plugin ‘neuro’ (version 1.0)
W0607 19:56:13.384256 PluginsManager.cpp:261] Registering plugin ‘odbc-index’ (version 1.1)
W0607 19:56:13.386257 PluginsManager.cpp:157] The ODBC index is currently disabled, set “EnableIndex” to “true” in the “Odbc” section of the configuration file of Orthanc
W0607 19:56:13.387257 PluginsManager.cpp:261] Registering plugin ‘odbc-storage’ (version 1.1)
W0607 19:56:13.389257 PluginsManager.cpp:157] The ODBC storage area is currently disabled, set “EnableStorage” to “true” in the “Odbc” section of the configuration file of Orthanc
W0607 19:56:13.393256 PluginsManager.cpp:261] Registering plugin ‘postgresql-index’ (version 5.0)
W0607 19:56:13.395256 PluginsManager.cpp:157] The PostgreSQL index is currently disabled, set “EnableIndex” to “true” in the “PostgreSQL” section of the configuration file of Orthanc
W0607 19:56:13.396256 PluginsManager.cpp:261] Registering plugin ‘postgresql-storage’ (version 5.0)
W0607 19:56:13.398256 PluginsManager.cpp:157] The PostgreSQL storage area is currently disabled, set “EnableStorage” to “true” in the “PostgreSQL” section of the configuration file of Orthanc
E0607 19:56:13.400257 SharedLibrary.cpp:50] LoadLibrary(C:\Program Files\Orthanc Server\Plugins\OrthancPython3.11.dll) failed: Error 1920
W0607 19:56:13.400257 PluginsManager.cpp:211] Unregistering plugin ‘Azure Blob Storage’ (version 2.1.2)
W0607 19:56:13.400257 PluginsManager.cpp:157] Azure Blob Storage plugin is finalizing
W0607 19:56:13.401256 PluginsManager.cpp:211] Unregistering plugin ‘authorization’ (version 0.5.2)
W0607 19:56:13.401256 PluginsManager.cpp:211] Unregistering plugin ‘connectivity-checks’ (version 1.12.0)
W0607 19:56:13.401256 PluginsManager.cpp:211] Unregistering plugin ‘delayed-deletion’ (version 1.12.0)
W0607 19:56:13.402257 PluginsManager.cpp:211] Unregistering plugin ‘dicom-web’ (version 1.13)
W0607 19:56:13.402257 PluginsManager.cpp:211] Unregistering plugin ‘gdcm’ (version 1.5)
W0607 19:56:13.411256 PluginsManager.cpp:211] Unregistering plugin ‘housekeeper’ (version 1.12.0)
W0607 19:56:13.411256 PluginsManager.cpp:157] Housekeeper plugin is finalizing
W0607 19:56:13.411256 PluginsManager.cpp:211] Unregistering plugin ‘indexer’ (version 1.0)
W0607 19:56:13.411256 PluginsManager.cpp:157] Folder indexer plugin is finalizing
W0607 19:56:13.411256 PluginsManager.cpp:211] Unregistering plugin ‘multitenant-dicom’ (version 1.12.0)
W0607 19:56:13.411256 PluginsManager.cpp:211] Unregistering plugin ‘mysql-index’ (version 5.0)
W0607 19:56:13.411256 PluginsManager.cpp:157] MySQL index is finalizing
W0607 19:56:13.412256 PluginsManager.cpp:211] Unregistering plugin ‘mysql-storage’ (version 5.0)
W0607 19:56:13.412256 PluginsManager.cpp:157] MySQL storage area is finalizing
W0607 19:56:13.413255 PluginsManager.cpp:211] Unregistering plugin ‘neuro’ (version 1.0)
W0607 19:56:13.413255 PluginsManager.cpp:211] Unregistering plugin ‘odbc-index’ (version 1.1)
W0607 19:56:13.413255 PluginsManager.cpp:157] ODBC index is finalizing
W0607 19:56:13.413255 PluginsManager.cpp:211] Unregistering plugin ‘odbc-storage’ (version 1.1)
W0607 19:56:13.413255 PluginsManager.cpp:157] ODBC storage area is finalizing
W0607 19:56:13.413255 PluginsManager.cpp:211] Unregistering plugin ‘orthanc-explorer-2’ (version 0.9.3)
W0607 19:56:13.414255 PluginsManager.cpp:211] Unregistering plugin ‘postgresql-index’ (version 5.0)
W0607 19:56:13.414255 PluginsManager.cpp:157] PostgreSQL index is finalizing
W0607 19:56:13.414255 PluginsManager.cpp:211] Unregistering plugin ‘postgresql-storage’ (version 5.0)
W0607 19:56:13.414255 PluginsManager.cpp:157] PostgreSQL storage area is finalizing
W0607 19:56:13.419256 PluginsManager.cpp:211] Unregistering plugin ‘stone-webviewer’ (version 2.5)
W0607 19:56:13.419256 PluginsManager.cpp:211] Unregistering plugin ‘volview’ (version 1.1)
W0607 19:56:13.419256 PluginsManager.cpp:211] Unregistering plugin ‘worklists’ (version 1.12.0)
W0607 19:56:13.419256 PluginsManager.cpp:157] Sample worklist plugin is finalizing
E0607 19:56:13.420257 main.cpp:2091] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
W0607 19:56:13.420257 main.cpp:2122] Orthanc has stopped

Hi Edwin,

Since the error happens when loading the Python 3.11 plugin, I would make sure that Python is installed correctly wrt these recommandations.

HTH,

Alain