How to keep connection to Oracle DB working from ArcGIS Pro 2.0 to 2.2.0?

1716
11
Jump to solution
08-29-2018 05:48 AM
ChristopheAndrey1
New Contributor II

Hello
I just switched from ArcGIS Pro 2.0 to 2.2.0. 

I have an Oracle 12 DB with 4 schemas, i.e. 4 DB-users. 

With ArcGIS Pro 2.0, I could connect to all four without problem, using TNS names. 

With ArcGIS Pro 2.2.0, I can connect to 3 of them but not to the 4th one. Trying to connect with the 4th user provokes an ORA-933 error. Please note that the 4th user only allows limited SQL-statements (no DDL, just DML, and only read-only ones). 

What changed with 2.2.0 in respect to DB connection?

How am I supposed to connect to the DB with 2.2.0 using a DB-user with somewhat restricted rights?

0 Kudos
11 Replies
MichaelVolz
Esteemed Contributor

Christopher:

BUG-000115421 is a duplicate of BUG-000115420 and according to ESRI a solution is implemented where you now need to Grant 'Resource' database role to the user from Oracle, so ESRI's solution would break your security protocol.

by Anonymous User
Not applicable

I currently have an open case with Esri support regarding this problem as well. At pro 2.1.3 I am able to easily connect to an Oracle database with a read-only user that has been created by our DBAs and is used to provide read-only access to the Oracle tables, including via our GIS tools. This user is also used in other departments by other applications that need this data. 

Upgrading the ArcGIS Pro client to 2.2 broke this connection ability. Nothing had changed in the user credentials or any other settings in Oracle. While Esri support has been helpful, the most recent suggestion was to give this read-only user CREATE TABLE permissions in Oracle.

For those of us in larger organizations, and since we are using the Oracle tables to supplement our GIS data and create new datasets that we then make available as GIS data in our enterprise GDB (SQL server), we have no ability to alter permissions on the Oracle database--nor should we. We use SQL server as our storage RDBMS for our enterprise geodatabase--we can apply permissions here no problem. However, expecting GIS users to be able to alter permissions on citywide RDBMS system to make Pro able to connect just to see the data isn't realistic. In my opinion this should not be considered a viable workaround. I will follow up with whatever the final solution turns out to be--for now I have rolled back the version of Pro to 2.1.3.

Edit: (10/3/18) I was just informed by Esri tech support that this is a bug that will be fixed in next patch (2.2.3) for ArcGIS Pro.