Home » Infrastructure » Windows » OO4O with javascript
OO4O with javascript [message #484594] Wed, 01 December 2010 15:55
Messages: 1
Registered: December 2010
Location: From Hell
Junior Member
Let us imagine I am using Javascript to establish an OO4O connection.

Let us say I am using the following code to open a Session.

var oSession = new ActiveXObject("OracleInProcServer.XOraSession");

Let us say I am receiving an error with these parameters:

12/01/2010 16:24.07.150 -->Exception Thrown
12/01/2010 16:24.07.166 --> TypeError
12/01/2010 16:24.07.166 --> 5009
12/01/2010 16:24.07.166 --> 'OracleInProcServer' is undefined

Let us say that there is a compiled VB.Net app operating on the same server that utilizes Late binding with the following code and works.

oSession = CreateObject("OracleInProcServer.XOraSession")


What the hell am I doing wrong? Presumably the OO4O system must be installed otherwise the VB app would fail, but Javascript can't find the thing.

I've been screwing with it all afternoon and I can't seem to make any headway. Certainly trying to run the Oracle OO4O installers gets nowhere. The one version requires JAVA and the XCopy version has to be run from a command line and doesn't appear to do much of anything.

All rather frustrating really...
Previous Topic: Which Windows user is MANDATORY (or suggested) to use when installing Oracle patches?
Next Topic: Unable to connect SQLState=IM004
Goto Forum:

Current Time: Fri May 24 22:02:42 CDT 2024