Hello,
I'm unable to publish Query layers with parameters in WHERE clause to our ArcGIS Enterprise portal - from Arcpro and also directly on arcgis server manager. Within Arcpro, params are recognized and map is displayed properly. Layer publishes successfully when parameter is removed. Query references data from a registered Oracle DB.
I tried even a simple query like 'select * from tablename where colname = ::var1'. Other layers referencing same DB connection are working fine.
I've reached out to ESRI support too. But I'm wondering if someone faced this weird issue or if I'm missing something obvious. Below are some details
DB: Oracle 19c Enterprise, ArcGIS Pro 2.9.1, ArcGIS Enterprise 10.8.1
Publishing error:
ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details.
Server log:
Failed to create the service.: Updating the server connection string for layer WCT failed. Attempted connection string was ENCRYPTED_PASSWORD=.................AUTHENTICATION_MODE=DBMS. Table name is USER.%WCT_1. Please verify the data exists on the server.