Setup 10G to access external DLL on windows
417872Aug 4 2005 — edited Dec 14 2005I am trying to setup a 10G database to call an external procedure on Windows2000 and i have tried a ton of different listner/tnsnames configs to no avail.
I am getting the following error when i call my procedure that uses the external C DLL
ORA-28595: Extproc agent : Invalid DLL Path with the following configuration.
I created the library with the following code:
CREATE OR REPLACE LIBRARY libscf AS 'C:\oracle\product\10.1.0\Db_1\LIB\ScalingFactorDLL.dll'
Any help would be greatly appreaciated
tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ABCD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.X.XX)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ABCD)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
Listener.ora
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.X.XX)(PORT = 1521))
)
)
)