Solved

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

Posted on 2012-03-22
2
1,229 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
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PAYER_ID has both atributes 4 39
How can I rollback insert statements after commit in oracle? 7 142
exp/imp 25 75
Retreiving column names in Windows but not in Unix 11 47
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…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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 copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

803 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