Skip to main content
Question

Cannot insert data into ArcSDE (postgres)

  • February 12, 2020
  • 9 replies
  • 46 views

stalknecht
Contributor
Forum|alt.badge.img+19

I have a sde writer. When I do an update or a delete the translation is succesfull. But when I do an insert I get the following error:

An error occurred while attempting to create a feature using the feature class 'db.schema.table'. The error number from ArcObjects is: '-2147220655'. The error message from ArcObjects is: {DBMS table not found [db.schema.table]}

The backend is postgres: PostgreSQL 10.5, 64-bit

Arcgis version 10.6.1

FME 2019.0 64bit also tried 2020 beta.

Writer mode: versioned edit session

9 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 12, 2020

Just a thought:

Does the Insert involve a binary attribute, where the update and delete do not?

Seen issues with binary attributes in PostGres before.

Hope this helps finding the issue.


Forum|alt.badge.img+2
  • February 12, 2020

@stalknecht Because the error message is from ArcObjects we've got to assume you're using the Esri Geodatabase (ArcSDE) writer. First guess would be to check the permission. PostgreSQL does allow different privaleges for insert/update/delete.

Odd behaviour can occur if you have class extensions installed so check to see if you have any of those in use in your Geodb.


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • February 12, 2020
erik_jan wrote:

Just a thought:

Does the Insert involve a binary attribute, where the update and delete do not?

Seen issues with binary attributes in PostGres before.

Hope this helps finding the issue.

Nope, there are no binary attributes. I've also tried to read one feature from the same table and insert it to it again.


erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 12, 2020
stalknecht wrote:

Nope, there are no binary attributes. I've also tried to read one feature from the same table and insert it to it again.

No SDE geometry?


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • February 12, 2020
markatsafe wrote:

@stalknecht Because the error message is from ArcObjects we've got to assume you're using the Esri Geodatabase (ArcSDE) writer. First guess would be to check the permission. PostgreSQL does allow different privaleges for insert/update/delete.

Odd behaviour can occur if you have class extensions installed so check to see if you have any of those in use in your Geodb.

Correct I use the ArcSDE writer. There was a featureclass extension on the dataset. I've removed it to do another test but it didn't solve the issue.


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • February 12, 2020
erik_jan wrote:

No SDE geometry?

Sorry, yes there is a st_geometry to store the geometry. That's the reason I use the ArcSDE writer.


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • February 26, 2020

Excuse me for kicking. Anyone@Safe ?


francescodb
Forum|alt.badge.img

Hi, I am experiencing the same problem, have you find out how to solve this?


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • October 13, 2020
francescodb wrote:

Hi, I am experiencing the same problem, have you find out how to solve this?

Sorry, I don't remember. The db changed and it was solved. You can check if a FeatureClass-Extension is installed on the db like @Mark Stoakes​  mentioned and check the permissions on the db.


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