Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ORA-3121 with SQL*NET 2.3 under Windows 3.11

ORA-3121 with SQL*NET 2.3 under Windows 3.11

From: Bob Eisner <boei_at_trifox.com>
Date: 1997/10/29
Message-ID: <3457EE4D.185C@trifox.com>#1/1

Hi All,

I'm receiving the following error under Windows for Workgroups version 3.11 when trying to connect an OCI program or ODBC program to a 7.3 database on a different machine.


 The Messages manual has the following entry for 3121:

  This message occurs usually because the SQL*Net driver is not loaded into   memory or there is a mismatch of the version of the driver. A user program   linked with an obsolete library may also cause this message. Only programs   provided by Oracle Corporation should use this interface.

  If the message occurred during use of a program provided by Oracle   Corporation, contact customer support. If a user program caused the message,

  relink the program with current versions of the Oracle libraries.


The strange thing is I can run the sample program CDEMO1.C and Oracle's ODBC Test program without any problems, but when I attempt to run my OCI or ODBC program I receive the ORA-3121 error. I also discover that if I have an active connection Open to Oracle with either CDEMO1.C or the Oracle ODBC Test program, my application is able to connect to Oracle 7.3 without any problems.

The only differece that I can see between program CDEMO1.C and my OCI program is my OCI calls are embedded in a DLL which is loaded into memory with function "LoadLibrary()". It appears the the latest OCI under Windows 3.1 can not load the SQL*NET 2.3 driver into memory if the OCI calls are embedded in a DLL which is loaded in memory with function "LoadLibrary()".

Has anyone else come across this problem? The same applications works fine with SQL*NET 1.1 when connecting to and Oracle 7.2 database.

I'm running the following versions of Oracle SQL*NET and Oracle ODBC driver under Windows for Workgroups 3.11.

   Oracle Network Manager 3.1.0.3.0
   Oracle 7 16 bit ODBC Driver (Production) 2.5.3.1.0    Required Support Files 7.3.2.2.0.A
   SQL*NET Client 2.3.2.1.6

Regards,
Bob Eisner
408 369-2392 Received on Wed Oct 29 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US