Skip to main content
Question

How to connect to PostgreSQL / SDE

  • November 21, 2018
  • 1 reply
  • 54 views

bveldkamp

Hi,

 

 

 

I'm trying to write to an ArcGIS SDE database in PostgreSQL. I have:
  • FME Workbench 2018.1 64 bit
  • ArcGIS Desktop 10.4.1
  • ArcGIS Desktop 10.4.1 Background Geoprocessing 64 bit
  • ArcGIS Pro 2.2

 

First, I got this error:

Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147216028'. The error message from ArcObjects is: {No SDEHOME environment variable set}

 

I solved this by setting the SDEHOME variable to C:\\Program Files\\ArcGIS\\Pro, so that the 64 bit SDE dll's can be found.

But now I get:

Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147155644'. The error message from ArcObjects is: {Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured correctly.}

 

The 64 bit PostgreSQL client dll's are in C:\\Program Files\\ArcGIS\\Pro\\bin, but I'm not sure how to instruct FME to use these.

1 reply

bveldkamp
  • Author
  • November 21, 2018

A few moment after posting I found the answer: I added C:\\Program Files\\ArcGIS\\Pro\\bin to the system's PATH variable, and now the client libs can be found.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings