Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Has anyone successfully used VisualJavascript with Oracle 7.3.x?
Scott: Regarding lack of error messages. When you try to return database connection error codes, be sure to use parentheses: connection.majorErrorCode().
If you forget the parentheses: connection.majorErrorCode
Then your output will look something like this: function {[Database specific...]}
-Eric
In article <scott-0312970828080001_at_scott.spacepirates.com>,
scott_at_spacepirates.clown (Scott W. Douglass) wrote:
>
> I've been looking for an EASY way to build web applications that connect
> to an Oracle Workgroup Server 7.3.
>
> I've got Netscape Enterprise Server 3.0 and the Oracle db running on the
> same ultrasparc system under Solaris 2.5.1.
>
> Netscape's VisualJavascript sounds like just what I need, but it can't
> connect to the database (no good error messages though...).
>
> Using the appmgr part of Enterprise Server, the dbadmin example program
> also fails with this error:
>
> database.majorErrorCode = 1001 [SERVERERROR] Error from Server: Error
> while trying to retrieve text for error ORA-01001
> database.minorErrorCode = 0 wg73
>
> The Oracle SID on my system is wg73. I can connect to it just fine from
> SQL*Plus on both WindowsNT and on the UltraSparc.
>
> If anyone can give me some pointers on how to get this working I'd greatly
> appreciate it.
>
> --
> Scott
-------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to UsenetReceived on Mon Dec 08 1997 - 00:00:00 CST