Hi
So before anything I've been browsing this topics for a week now, with no solution in sight.
An error occurred while attempting to open an insert cursor on the table 'XXXX'. The error number from ArcObjects is: '-2147216556'. The error message from ArcObjects is: {Objects in this class cannot be updated outside an edit session aXXXX]}
A fatal error has occurred. Check the logfile above for details
What i've been trying:
Change Transaction type to: 1: Versioned Edist Session, 2:Non- versioned Edit Session, 3: Transactions, 4:None
Delete all attributes on a given feature to see if some was causing trouble
Override username, password with the sde user
Checking that there are no locks on the feature
Asserting correct FeatureClass or table Name
Asserting correct FeatureClass or table Qualifier
Asserting correct Feature Dataset
Asserting correct geometry type
Drop Table (yes and no)
Truncate table (yes and no)
Tried setting the attribute geodb_feature_dataset manually with correct values
And lastly toggle all advance options on the feature writer.
And for a last information the topology is enabled for the feature dataset I'm trying to write to.
I have also tried to recreate the sde connection file
I tried to create a new version in the ArcCatalog and create an sde connection file that points to the new version
Please anyone who can point me in the right direction to solve this will be highly appreciated :)