I could create the connection successfully. The above error was due to an additional space in the connection string in tnsnames.ora file…
Steps followed are:
- Download oracle instant client (basic and odbc driver) - 32 bit
- Extract content of both to one folder
- Add the path of instant client folder to System variables (Path and TNS_ADMIN)
- Install instant client by running odbc_install.exe in instant client folder
- Create the tnsnames.ora file inside the instant client folder.
**If u have the file in some other location, make sure TNS_ADMIN is pointed to that location. - Go to Administrative tool and launch Admin tool for ODBC (32 bit)
- Create a User DSN by clicking Add button under User DSN tab
- Select Oracle db
- Click Finish
- Provide a preferred name to dsn
- Select server name from TSN name drop down
- Provide server username
- Click Test Connection
- Provide the password and Ok
**Connection success message is received.
- In the connection wizard of UiPath, generate connection string by selecting Dsn name and then providing username, password and testing connection.
- On succesful connection, click OK
- Select System.Data.Odbc from drop down
This worked for me…
@Jagdish2593, @varunk Thanks for the support…