[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1293
  • Last Modified:

ORA-28500 and ORA-02063 while using Heterogenous Services to connect to Non Oracle Database

Hi,
Iam using Oracle Heterogeous Services to connect to Non Oracle database (proprietry). When i connect I get the error ORA-28500 and ORA-02063. Below are my .ora files information

listener.ora

(SID_DESC =
      (PROGRAM = dg4odbc)
      (SID_NAME = datahdsn)
      (ORACLE_HOME = E:\Oracle_11gR2_Home\product\11.2.0\dbhome_2)
    )

tnsnames.ora

DATAHDSN =
      (DESCRIPTION=
      (ADDRESS=(PROTOCOL = TCP)(HOST = ORADKON.StateWater.local)(PORT = 1521))
      (CONNECT_DATA= (SID=datahdsn))
      (HS=OK)
      )

sqlnet.ora

SQLNET.AUTHENTICATION_SERVICES= (NONE)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)


 (hs/admin) initdatahdsn.ora

#
# HS init parameters
#
HS_FDS_CONNECT_INFO = datahdsn
HS_FDS_TRACE_LEVEL = debug
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_FDS_FETCH_ROWS = 1


#
# Environment variables required for the non-Oracle system
#
#set <envvar>=<value>
set GLOBAL_NAMES=TRUE

Database Link Creation -

CREATE PUBLIC DATABASE LINK "DATAHDSN_LINK"
 CONNECT TO "ABCD"
 IDENTIFIED BY "xxxxx"
 USING 'datahdsn';


Can you please check the configurations and let me know the problem. I am attaching the HS log trace for more details.
datahdsn-agt-4356.txt
0
Ravi Kiran Reddy Katkuri
Asked:
Ravi Kiran Reddy Katkuri
1 Solution
 
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
<<[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed {IM006}[Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr). {01000} >>

In log it states that the present ODBC driver version is not supported.

if you are using 64 bit use 64 bit ODBC drivers or 32 bit use 32 bit ODBC drivers.

check for the latest version of ODBC drivers and install it and try to connect.
0
 
Ravi Kiran Reddy KatkuriAuthor Commented:
When I user the ODBCview tool, I can connect to the datasource and see the results. If the problem is with 64bit 0r 32 bit, It should not have worked with ODBCview tool also.

I think its a different problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now