My Oracle Support Banner

Errors in "SYS.DBMS_HS_UTL" and Illegal Reference to SYS.SYS Setting up 11.1 Gateways (Doc ID 1130854.1)

Last updated on MAY 11, 2022

Applies to:

Oracle Database Gateway for SQL Server - Version and later
Information in this document applies to any platform.


Issues testing a fresh install of DG4ODBC accessed from  RDBMS
The attempts to test the connection with a simple query  fail with -

ERROR at line 1:
ORA-28522: error initializing heterogeneous capabilities
ORA-28522: error initializing heterogeneous capabilities
ORA-28559: FDS_CLASS_NAME is MSSQL11., FDS_INST_NAME is dg4msql
ORA-02063: preceding 3 lines from DG4MSQL
ORA-00604: error occurred at recursive SQL level 1
ORA-24274: no row exists in the HS$_FDS_CLASS table for these parameters
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_HS_UTL", line 431
ORA-06512: at "SYS.DBMS_HS_CHK", line 147
ORA-06512: at "SYS.DBMS_HS_UTL", line 46
ORA-06512: at "SYS.DBMS_HS", line 38
ORA-06512: at line 1

Running catnohs.sql and caths.sql resulted in further errors such as -

ERROR at line 1:
ORA-04063: package body "SYS.DBMS_HS_UTL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_HS_UTL"
ORA-06512: at "SYS.DBMS_HS", line 629
ORA-01403: no data found
ORA-06512: at line 6


This is a fresh gateway install.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.