Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to Oracle9.2 - An exception occurred: 'OpenDatabase'

Status
Not open for further replies.

FateFirst

Programmer
Apr 15, 2002
212
GB
Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'OpenDatabase'
/index.asp, line 9

Code:
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
Set OraDatabase = OraSession.OpenDatabase("TEST.WORLD","#####/#####", cint(0)) <--- Line 9

##### - Removed Username/Password

Having trouble establishing a connection to Oracle.

Any help would be greatly appreciated.

Sample code is taken from:
Thanks!

- FateFirst
 
Hello FateFirst,

The article suggests:
[tt] Set OraDatabase = OraSession.OpenDatabase([green]""[/green],"#####/#####", cint(0))
[/tt]
Any input related to the table is fed in through createDynaset method. I don't know...

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top