title: Connecting to Oracle DB with JavaScript
body: <p>I am using an Oracle 10g backend. I use the oracle TNS in JavaScript to connect with the Oracle DB. When I run the form on my local system then it displays fine, but when I run it on IIS on a client system it displays <code>undefined</code>. Please help me run this correctly on client machine in Google Chrome.</p>
  
  <p>My Code is Below:</p>
  
  <pre><code> var conObj = new ActiveXObject('ADODB.Connection');
      var conString = "Provider=OraOLEDB.Oracle; Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=202.125.144.34)(PORT=1521)))(CONNECT_DATA=(SID=orcl)(SERVER=DEDICATED)));User Id=admin; Password=admin;"
      conObj.Open(conString);
      var rs =  new ActiveXObject("ADODB.Recordset");
      sql = "SELECT * from info"
      rs.open(sql,conString);
      var rsnum=rs.fields.count;
      alert(rsnum);
      rs.close;
      conObj.close;
  </code></pre>