Install the downloaded client.
From the installation options, choose InstantClient.
It will probably be installed under C:\app\Adminstrator\product\12.1.0
Create a tnsnames.ora file with the following data:
auto_claims=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=10.x x.xxx)(PORT=1521))
(CONNECT_DATA=
(SERVICE_NAME=auto_claims)
)
)
Where,
auto_claims = Service name
10.x.x.xxx = Host name
1521 = Port
Place the tnsnames.ora file under C:\app\Adminstrator\product\12.1.0\client_3
Create an environment variable TNS_ADMIN with the value C:\app\Adminstrator\product\12.1.0\client_3
Add the following to path envrionment variable if not already added:
C:\app\Adminstrator\product\12.1.0\client_3
Open ODBC Data Sources (32-bit) from the Start Menu.
From the User DSN tab, click on Add.
From the data sources, select Oracle in OraClient12Home3_32bit. (It should have been created automatically).
If you face any error, download and install the following:
Microsoft Visual C++ 2010 x86 Redistributable – 10.0.xxxxx
Click Finish.
Enter the following values:
Data Source Name: Any name of your choice
TNS Service Name: auto_claims (same name from tnsnames.ora file)
User ID: UserID (same from tnsnames.ora file)
Click on Test Connection.
It will prompt for a password. Enter the password and Click OK.
It should say, Connection Successful.
In UiPath Studio, take a Database Connect activity.
Click on Configure Connection.
Click on Connection Wizard.
Click on Microsoft ODBC Data Source and Click OK.
Select the DSN you created before from the Use user or system data source name dropdown.
Provide User name and Password below that.
Click Test Connection. It should be successful.
Select the Provider as System.Data.Odbc
Create a connection object and use it wherever you want!!
Nice details.
I had oracle express (as probably most people do, since it is free) and I configured it.
Just Instant Client should be in 32 bit not 64 bit (this happened to me).
I am going to try to configure the connection with one more way and maybe record it because it was pretty hard for me to configure all of that
Has this worked for anybody? I’ve been able to test the connection successfully within Studio, however the workflow execution fails with the attached error. Thanks for your help in advance!
I am trying Connecting UiPath with Oracle
1.I have Downloaded the client of the same version as Oracle DB. (In this case, it was 12.1.0.2.0)
2. Installed InstantClient.
3. Created a tnsnames.ora file with the following data:
auto_claims=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=10.x x.xxx)(PORT=1521))
(CONNECT_DATA=
(SERVICE_NAME=auto_claims)
)
)
4. Placed the tnsnames.ora file under the instant client folder
5. Created an environment variable TNS_ADMIN with the value instant folder name
6. Open ODBC Data Sources (64-bit) from the Start Menu.
7. From the User DSN tab, clicked on Add.
8. From the data sources, I selected Oracle in OraClient12Home3_32bit. (Which have been created automatically)
Given the TNS Service and username and password as given in the TNSnames.ora but it showing the following error
This issues dont have anything to do with Uipath in itself… Usually is a mistake in mixing applications architectures, use only 32 bits drivers and you will be ok.