It showing below error. Someone please explain this.
Error:
Execute Query: ERROR [NA000] [Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-01019
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver’s SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn’t support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Install first and use UiPath.Database.Activities[1.7.1] package
Use a new Connect to database activity → click on Configure Connection… → Connection Wizard → in Data Source choose Oracle.ManagedDataAccess and make sure that in the Data provider, you have also Oracle.ManagedDataAccess. Provide the Hostname, Port, Service name, User name, and Password. (if there are additional details for your connection, you need to configure them in the Advanced… window) → Test connection
If the Test connection was successful you can click OK and use it further in your application. If not, you cannot use anymore the connection.
Hello, this is Gulshan Negi.
Well, I searched for it on Google, and I would like to tell about it in brief:
Well, the error message indicates that there is an issue with the ODBC driver for Oracle, which is being used to connect to an Oracle database. Here’s what the different parts of the error message mean:
ERROR [NA000] [Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-01019: This part of the error message indicates that the ODBC driver was unable to retrieve the text for the ORA-01019 error. ORA-01019 is an Oracle error that usually indicates a connection issue.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver’s SQLSetConnectAttr failed: This part of the error message indicates that the SQLSetConnectAttr function, which is used to set connection attributes, failed.
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn’t support the version of ODBC behavior that the application requested (see SQLSetEnvAttr): This part of the error message indicates that the ODBC driver doesn’t support the version of ODBC behavior that the application is requesting.
Based on this error message, it’s possible that there is a compatibility issue between the version of the ODBC driver being used and the version of the Oracle database that you are trying to connect to. You may want to try updating the ODBC driver to a newer version or contacting the support team for the ODBC driver or the Oracle database for further assistance.
Thanks All for your contribution.
Actually issue was in ODBC. I was putting service name which was given to me but here was need to put DSN which I have given in TNS file. By this I am able to run Query.