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

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

Highlighted
Valued Contributor

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

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

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

Participate!

Comparing content of HTML table with Excel file data

Participate!

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

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors