I'm trying to to connect to a Oracle database via vbs on a Windows 7 machine using the instant client. I get an error [Oracle][ODBC][Ora]Ora-12560: TNS:protocol adapter error Code 80004005. Script still works fine in XP using the Microsoft ODBC for oracle. I've setup the system dsn, and added tns_admin option to the system environmental path. Here's the connection line
psconn.Open "DRIVER={Oracle in instantclient_11_2};SERVERNAME=192.168.50.1:1521/PSPRODDB;User Id=user;Password=pass;"
I've tried 32 bit instant client and the 64 bit and get the same messages with both. Any suggestions?