Skip to main content
Question

Error when converting data have relationship

  • August 8, 2024
  • 2 replies
  • 165 views

hieutran
Contributor
Forum|alt.badge.img

Hi all,
The data in my geodatabase file has an attached layer for each data layer


I want to perform some transformer in FME and got the error:
“An error occurred while attempting to open an insert cursor on the table 'XXX'. The error number from ArcObjects is: '-2147216556'. The error message from ArcObjects is: {Objects in this class cannot be updated outside an edit session [DMA]}
GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details”

I found the solution is to change the setting in Transactions Type to Edit Session

But after setting, some layers can perform the conversion but some layers get the error:
“An error occurred while attempting to stop an edit operation. The error number from ArcObjects is: '-2147220975'. The error message from ArcObjects is: {File read/write error occurred. [XXXXXX]}
GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details”

Can anyone please advise me what I need to do now to fix these errors

2 replies

mapmonkeythe2nd
Participant
Forum|alt.badge.img+1

HI Did you manage to resolve the above error? I have the same message.


crystalatsafe
Safer
Forum|alt.badge.img+26

Hi ​@mapmonkeythe2nd 

Do you notice this error when reading or writing to a geodatabase? 
Here are a few things you can check:
1. The file might be locked. Make sure to close ArcGIS Pro before trying to read or write to geodatabase.
2. If you receive an error while writing to geodatabase, make sure you have write access to the folder where you are trying to save the geodatabase.

Can you please send the log file? If possible, please also share your workspace and sample data, and I can take a closer look.