anjali_aggarwal
4 years agoNew Contributor
Test Complete14 DB Configuration
Hi VeenaDevi , chinmay , We are trying to configure TC14 with Oracle 12.1 but we are getting the error : error : [Microsoft][ODBC Driver Manager] Data source name not found and no default drive...
- 4 years ago
Try something like this:
var Conn = ADO["CreateADOConnection"]();
Conn["ConnectionString"] = 'Provider=OraOLEDB.Oracle;Data Source='+DataBase+';User Id='+DBUser+';Password='+DBPasswort+';';
Conn["LoginPrompt"]=0;
Conn["Open"]();try
{
var result = Conn["Execute_"](SQL_STATEMENT);
}
catch(e)
{
Log["Error"](e["message"]);
}
- 4 years ago
Look here https://www.oracle.com/database/technologies/odac-downloads.html and install the missing components