ORA-28595: Extproc agent : Invalid DLL Path

Last Published: April 25, 2020

Error Message

Attempting to call a ST_Geometry function such as ST_AsText results in the following error:

"ERROR at line 1:
ORA-28595: Extproc agent : Invalid DLL Path
ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 170
ORA-06512: at "SDE.ST_RELATION_OPERATORS", line 303"


The Oracle Listener has not been properly configured to use ST_Geometry functions. The FILE_SPEC entry for ST_SHAPELIB as defined in the USER_LIBRARIES or ALL_LIBRARIES data dictionary view is specified incorrectly or not at all in environment variable EXTPROC_DLLS used by the Oracle extproc process.

Solution or Workaround

  1. Properly configure listener.ora and tnsnames.ora files on the server to use the ST_Geometry library.
  2. Make sure that the path to the ST_SHAPELIB shared library file is specified correctly in the environment variable EXTPROC_DLLS and that this environment variable is available to the Oracle extproc process by defining this environment variable in ORACLE_HOME/network/admin/listener.ora.

    See the links in the Related Information section below for specific steps on how to do this.

    Refer to the Oracle Database Net Services Administrator's Guide chapter on Enabling Advanced Features of Oracle Net Services for more complete information about configuring the Oracle extproc process.

Article ID:000009074

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options