Solved

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

Posted on 2012-03-22
2
1,214 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
2 Comments
 
LVL 12

Accepted Solution

by:
praveencpk earned 500 total points
Comment Utility
<<[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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now