span8
span4
span8
span4
I'm have the following error:
An error occurred while attempting to open an insert cursor on the table 'SurveyedGeneralLawn'.The error number from ArcObjects is: '-2147216556'.The error message from ArcObjects is: {Objects in this class cannot be updated outside an edit session [GisGeoDbMaint.ASSET.SurveyedGeneralLawn]}
It seems to be with a relationship class with attachment TABLE.When i remove the relationship it work fine.I only want to insert records into the feature class and the attachment table.I using an Arcpy truncate function as a startup script.
I've looked at previous post regarding this matter,but it don't seem to work for me.
Using FME 2014 - SP4
Rudy
This is now solved with the new transaction type on the writer Non-versioned Edit Session
using 2016.1
I have also experienced this when the feature class I am trying to insert records to participates in a topology.Even when I set the Transaction Type to 'Edit Session',ArcObject throws the error in question BUT if I remove the topology and then run the script: presto!The data loads fine.I re-add the topology with the same rules afterward and validate it.
It seems that ArcObjects objects to (ha!I mean 'complains about') any kind of relationship,not just relationship tables.
Which version are you using?
That option is not available in my version of FME desktop.
I've over 100 scripts that truncate and append Geodatabases(none of them are versioned),everything works fine,it is only with Relationship class with ATTTACHMENTS,FME Fails
I've tried - VERSIONING option - also doe s not work,because the dataset is not versioned,and don't need to be,because a few other Feature Classes in this dataset works fine (with truncate and insert)
Hi,
In the parameters of the writer in navigator,select 'Edit session" instead of "Transactions" in "Transaction Type" as shown in the screenshot below...
Please check whether geodatabase is locked by other application or not as well if so then close that application as well.
Pratap
© 2019 亚搏在线Safe Software Inc |Legal