Пока остановилось все тут:
var conObj = new ActiveXObject("ADODB.Connection");
var conString = "Provider=OraOLEDB.Oracle; Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XX.XX.19.13)(PORT=1521)))(CONNECT_DATA=(SID=XXX)(SERVER=DEDICATED)));User Id=XXX; Password=XXX;"
conObj.Open(conString);
var rs = new ActiveXObject("ADODB.Recordset");
sql = "SELECT _STATUS from MAYA. CT_FILE where ID_EX = (select max(ID_EX) from MAYA. CT_FILE)"
rs.open(sql, conString);
var ext_status=rs.fields.count;
alert(ext_status);
rs.close;
conObj.close;
var today_log = new Date();
log_time = today_log.getDate()+"."+ (today_log.getMonth()+1) + "." + today_log.getYear() + " " + today_log.getHours() + ":" + today_log.getMinutes() + ":" + today_log.getSeconds() + ":" + today_log.getMilliseconds();
log.WriteLine(log_time +" "+ext_status+ " - there is unprocessed item .");
Вылезает ошибка:
«Provider cannot be found. It may not be properly installed CODE: 800A0E7A. SOURCE: ADODB.Connection »
Пробую исправить. Может кто сталкивался?