What does 'The user does not have permission to execute the operation. (-2147220987)' mean?

2559
4
12-09-2016 03:29 PM
PaulAustin1
New Contributor II

The following error is thrown by the File Geodatabase API.

The user does not have permission to execute the operation. (-2147220987)

What does it mean?

0 Kudos
4 Replies
JayantaPoddar
MVP Esteemed Contributor

Found this on Google Search.

Geodatabase Error (-2147220987): The user does not have permission to execute the operation. - FME K... 

What writer are you using? (SDE30 or SDEGeodatabase - I think) there are two. Try switching the writer

Related issue?



Think Location
PaulAustin1
New Contributor II

File Geodatabase API (as tagged in the post). Version 1.4.

Switching to another writer is not a option.

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Interpreting the error code would be easier if you shared what you are doing when the code is generated, especially if you can provide any code.

0 Kudos
PaulAustin1
New Contributor II

It's hard to know exactly as my application uses multiple threads. Yes I know the FGDB sucks with threads. Yes I have appropriate synchronization blocks.

I was hoping someone from ESRI would be able to say something like:

"We throw that exception when the underlying file geodatabase has been modified and a query tries to read from it".

It's very hard to debug proprietary code without stack traces and source code.

0 Kudos