Database Administration (MOSC)

MOSC Banner

ORA-12560: TNS:protocol adapter error

edited Nov 14, 2013 4:16AM in Database Administration (MOSC) 4 commentsAnswered
I have Oracle Instant Client 11g 32 bit installed on a Windows 7 (64 bit) system.  The client works because I can connect to an Oracle database on a server using Documaker Studio (it requires 32 bit client).

Now attempting to connect from the same system to the same server using VBScript and getting error:

 

C:\temp\Oracle\testing>dbdatetime.vbs

Microsoft (R) Windows Script Host Version 5.8

Copyright (C) Microsoft Corporation. All rights reserved.

C:\temp\Oracle\testing\DBDateTime.vbs(31, 1) Microsoft OLE DB Provider for ODBC

Drivers: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error

 

Here is my script:

Option Explicit

'* Define Constants / Variables

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center