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 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

Issues testing a fresh install of DG4ODBC 11.1.0.7 accessed from  RDBMS 10.2.0.4
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.1.0.6.0_0006, 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 -


begin
*
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


Changes

This is a fresh gateway install.

Cause

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
Symptoms
Changes
Cause
Solution


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