I'm trying to create an enterprise geodatabase. My problem is when I try to create a corporate geodatabase. The error is:
Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured Correctly. Failed to execute (CreateEnterpriseGeodatabase).
Here is what I have tried so far.
I have installed on my server:
- Windows Server 2012 R2 64-bit
- ArcGIS for Server 10.2.2
- ArcGIS Desktop 10.2.2
- PostgreSQL 9.2.2
I have also downloaded the following client libraries:
- PostgreSQL 9.2.2 64-bit
- iconv.dll libeay32.dll libintl-8.dll libpq.dll ssleay32.dll
I have pasted these libraries into the following folders on my server:
- C: \ Program Files \ ArcGIS \ Server \ bin
- C: \ Program Files (x86) \ ArcGIS \ Desktop10.2 \ bin
I have also pasted the ST_Geometry libraries in the lib directory of PostgreSQL and have edited the text file, pg_hba file.