Solved

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

Posted on 2012-03-22
2
1,255 Views
Last Modified: 2012-04-22
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
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Praveen Kumar Chandrashekatr earned 500 total points
ID: 37756450
<<[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
 

Author Comment

by:Ravi Kiran Reddy Katkuri
ID: 37764618
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question