Skip to main content
Question

FME server refuses to connect to a .gdb running a workbench that runs on desktop on my PC and on the server. The dreaded arcobjects error -2147024893


brady
Contributor
Forum|alt.badge.img+1
  • Contributor

I have arcgis pro only on my pc. The FMEServer machine also has Pro only. I am able to successfully run a workbench that accesses .gdb's to read/write on my desktop and on the server desktop. However, when I publish to server and try to run from the repo or with an automation, I get the following error.

 

Unable to connect to the File Geodatabase at 'XXXXXXX.gdb'. Make sure the correct filename was specified, and that the Geodatabase wasn't saved with a newer version of ArcGIS than the one installed locally. The error number from ArcObjects is: '-2147024893'. The error message from ArcObjects is: {}

 

I have forced the workbench to translate as 'Pro' instead of auto. The Pro licence on server is authed correctly. FME desktop and server versions are 2022.1 and 2022.1 respectively and the .gdbs were created prior to these versions of FME being used so there is no issue there.

 

I have also had this error at another workplace and it is driving me crazy.

 

Any potential solution would be welcomed as I cannot run any automations in the meantime.

 

Thanks,

 

Brady

 

 

7 replies

nielsgerrits
VIP

Are you reading from and writing to the same file geodatabase in the same workspace? Then I suspect you are locking it, preventing workbench to do it's thing. This might work on desktop using featurecaching, because you are working step by step through it, but not when featurecaching is turned off, as on server.


brady
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • June 2, 2023
nielsgerrits wrote:

Are you reading from and writing to the same file geodatabase in the same workspace? Then I suspect you are locking it, preventing workbench to do it's thing. This might work on desktop using featurecaching, because you are working step by step through it, but not when featurecaching is turned off, as on server.

no, read one .gdb and push to AGOL

OR

read from one .gdb and write to another .gdb

 

I rarely use featurecaching.

 

I don't think it's a locking issue. That is usually a different error. Thanks for the reply 🙂


nielsgerrits
VIP
brady wrote:

no, read one .gdb and push to AGOL

OR

read from one .gdb and write to another .gdb

 

I rarely use featurecaching.

 

I don't think it's a locking issue. That is usually a different error. Thanks for the reply 🙂

Might it be a permissions issue then? We had some issues with files created by users which could not be edited by the fme server user, it not being the owner. Removing the user created files and let them be created by the fme server user solved this.


brady
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • June 2, 2023
brady wrote:

no, read one .gdb and push to AGOL

OR

read from one .gdb and write to another .gdb

 

I rarely use featurecaching.

 

I don't think it's a locking issue. That is usually a different error. Thanks for the reply 🙂

worth taking a look :) thanks for the suggestion


gehanis2
Contributor
Forum|alt.badge.img+3
  • Contributor
  • February 6, 2025

We are encountering the same issue.  Is there a resolution to this?  We have tried all the suggestions in the Community forums to no avail. Our ArcObjects Error Number is: '-2147024891' rather than '-2147024893'.

 

We are reading from two different SDE featureclasses, doing a point in polygon operation, then reprojecting a couple of fields to Lat/Long coordinates from State Plane and creating two fields to hold the coordinates, doing some other calculations and writing to an intermediate file geodatabase featureclass.  The two source SDE featureclasses have over 300,000+ records each and looking at the log output in FME Flow (Server), there isn’t a problem with reading the information from the SDE geodatabase featureclasses, just writing to the file geodatabase.

 

This file geodatabase featureclass is an intermediate output and gets processed by two other downstream workspaces that also do some geoprocessing and introduce other input in Excel spreadsheets. Ideally we would like to string the process together in an FME Server automation with an email sent on success or failure, but Step 1 workspace fails in Server.

 

All three run well from FME Form. Both our FME Form and FME Flow versions are the same at 2022.2.7.  Our output file geodatabase resides on a networked drive, but I did move it to the root of a mapped drive.  I changed the name of the file geodatabase to be 11 characters or less with no spaces and also the name of the feature type to be 11 characters with no spaces, obviously. I have “Administrative” privileges on FME Flow.

 

Sheila

Kern County, CA, Information Technology Services, GIS Programmer/Analyst


nrich
Contributor
Forum|alt.badge.img+5
  • Contributor
  • February 12, 2025

I saw something like this when we were using the dataupload service and the staging dir was on a fileshare - the resultant path breached the default ‘max path length’ of 256 chars I think?

the answer was to either switch the servers to support long path by default, or to prepend the \\?\ to the front of the reader path (which is ultimately what we ended up doing as it was to hard to convince people to switch on long path support!)

If this rings bells with your situation, then more reading can be found here: Maximum Path Length Limitation - Win32 apps | Microsoft Learn


bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • February 14, 2025

Without directly solving the issue, personally I try to avoid using FGDB for staging/intermediate outputs, primarily because other formats don’t have some of its limitations/negatives.

Something like Spatialite or GeoPackage I find have far better utility as a temporary/intermediate file format for downstream processing.  FGDB I tend to only use as a final product for publishing.


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