I don't have an oracle DB installed on my machine. The DB location is on UNIX machine. I Want to run Insert queries in DB located on other VM. I had written one code iusing VB Script but that throws me an error while running the same. Please help me. Below is my code:
'Save the file with <filename>.vbs
Set dbMyDBConnection = CreateObject(“ADODB.Connection”)
ConnectionString = “(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.30.16.31)(PORT=1521)))(CONNECT_DATA=(SID=PUNDEV11)))”
strConnection = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=” & ConnectionString & “;Jet OLEDB:Database Password=” & strPassword & “;User ID=” & strUsername & “;Password=” & strPassword & “;”
dbMyDBConnection.Open strConnection
Also, I checked replacing the provider to Microsoft.Jet.OLEDB.12.0 and OraOLEDB.Oracle.
I am using Windows 7 64 bit platform.
Error:
Provider cannot be found. It may not be properly installed. Code : 800A0E7A Source : ADODB.Connection