cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting DB: Getting error message as "Data source name not found and no default driver specified

Highlighted

Connecting DB: Getting error message as "Data source name not found and no default driver specified

When i try to connect oracle db i m getting the error message as "Data source name not found and no default driver specified".

i m tried installing 64 bit and 32 bit ODBC driver but still no luck.

Below ex: I have updated the right Host , username and password.

I m able to connect same db using selenium but not with test complete.

 

"Driver={Microsoft ODBC for Oracle}; " & _
         "CONNECTSTRING=(DESCRIPTION=" & _
         "(ADDRESS=(PROTOCOL=TCP)" & _
         "(HOST=host)(PORT=1521))" & _
         "(CONNECT_DATA=(SERVICE_NAME=odcms_cms));UserID=username;Password= password;"

 

2 REPLIES 2
Highlighted
Community Hero
Highlighted
Valued Contributor
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

Participate!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors