Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2012-03-22
2
Medium Priority
?
1,289 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 1000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

610 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