Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle error while executing VBscript file

617928Jan 16 2008 — edited Jan 16 2008
I have a Connection.vbs file with following contents:
***********************************************************

Dim strCon

strCon = "Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
"(ADDRESS=(PROTOCOL=TCP)" & _
"(HOST= TRISHUL)(PORT=1525))" & _
"(CONNECT_DATA=(SERVICE_NAME=BTFLVAS))); uid=<uid>;pwd=<pwd>;"
Dim ocon1:set ocon1=CreateObject("ADODB.Connection")
ocon1.open strCon
***********************************************************
Getting this error as a pop up message while executing this file :
Script: D:\Connection.vbs
Line: 10
Char: 1
Error: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error
Code: 80004005
Source: Microsoft OLE DB Provider for ODBC Drivers



Please help!



Thanks,

Shruti
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2008
Added on Jan 16 2008
2 comments
374 views