Question

Unable to load a library in the folder: C:\\Program Files\\ArcGIS\\Pro\\bin The error number returned from GetLastError is: 127

  • 28 February 2023
  • 1 reply
  • 40 views

We sporadically get this error from the SDE-DB reader. We are using FME Desktop 2022, ArcGIS Pro 2.9.5, ArcGIS for Desktop 1.8.2 + Background Geoprocessing for 1.8.2.

Log says the following:

Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147220952'. The error message from ArcObjects is: {The Product License has not been initialized.}
Please ensure the connection parameters are correct ([...])
It could have failed to open because it contains ArcGIS Pro-only features, for example Arcade expressions. If this is the case, please install ArcGIS Pro or Pro-compatible ArcGIS Server and 64-bit FME
GEODATABASE_SDE reader: A fatal error has occurred. Check the logfile above for details
Failed to obtain any schemas from reader 'GEODATABASE_SDE' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information
  • We tried setting the license compatibility option
  • We use the correct ArcGIS Pro/ArcGIS Desktop license
  • There is currently always at least 1 floating license not in use, so no available license should not be the issue
  • we removed old versions of background geoprocessing

 

Anyone have any suggestions why this error occurs?

 


1 reply

Badge +8

Hi @siza​ 

There is a known issue around this error, as mentioned in this article.

The error message that you shared is generally due to mismatched background geoprocessing.

Are you sure that your 64-bit background geoprocessing is for version 10.8.2?

Can you set the Esri Compatability to Esri ArcGIS Pro? Documentation link here

Can you share the entire log from the Log Window?

Reply