I'm trying to connect to a database from within Blue Prism to execute SQL scripts and extract data from tables, but i'm facing a logon trigger error that i believe is related to security measures in said database.
In the advanced parameters in SQL dev properties we have added the following parameter : oracle.net.encryption_client=requested
i was wondering if it is possible to add this statement in the connection string.
Thanks in advance.
Edit : here's the error message : ORA-04088: error during execution of trigger 'SYS.TRG_LOGON_CRYPT' ORA-00604: error occurred at recursive SQL level 1 ORA-20003: CHECK : Connection refused by the trigger on database ORA-06512: at line 63
Are you using the Oracle VBO from the DX to connect to your database or some other VBO? If it's one of the database VBO's from the DX, the general answer is that yes you can edit the connection string within the VBO.
Hi @ewilson, Thank you for your Answer! I'm indeed using DX VBO to set the database connection. Any advice on how to incorporate the oracle.net.encryption_client=requested statement in the connection string? I tried adding it at the end of the string and that didn't work.
I've been scouring Oracle documentation, but I'm not seeing an equivalent attribute for setting the encryption type via the connection string. Instead, it looks like you may have to do it within the actual Code stage of the Open action. Try changing the Code stage to look like this:
Thanks for verifying @Raed Ammar. Does this error occur immediately on your first call to an action in the VBO or only on subsequent requests? The reason I ask is that the call to .Open() is obviously after the step where you're trying to set that property.