ORA-28546: (oracle to SQL server 2005)

Hi all,
I followed the following below ariticle in dbasupport and dbajournal for about connectivity from Oracle Server 10.1.0.2.0 to SQL Server 2005
http://www.dbasupport.com/oracle/ora10g/connection01.shtml
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
i configured the listener.ora ,tnsnames.or and inityscco2.ora
$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/101/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
LISTENERYSCCAPPS =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.5)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERYSCCAPPS=
(SID_LIST=
(SID_DESC=
(SID_NAME= yscapps)
(ORACLE_HOME = /u01/app/oracle/product/101 )
(PROGRAM=hsodbc)
$lsnrctl status listener
LSNRCTL for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:03:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production
Start Date 15-JUN-2010 14:49:05
Uptime 4 days 23 hr. 14 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/101/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/101/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "yscc02" has 1 instance(s).
Instance "yscc02", status UNKNOWN, has 2 handler(s) for this service...
Service "yscc02.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
Service "yscc02XDB.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
The command completed successfully
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/101/network/a
dmin/tnsnames.ora
# Generated by Oracle configuration tools.
YSCCAPPS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = yscc02)
(HS = OK)
$tnsping ysccapps1
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:04:43
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = yscc02)) (HS = OK))
OK (0 msec)
$ sqlplus new/password@ysccapps1
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 20 14:07:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
$ cat inityscc02.ora
This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = yscc02
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = <full path name of odbc driver manager or driver>
# ODBC specific environment variables
set ODBCINI=<full path name of the odbc initilization file>
and i had created database link like
SQL>create database link ysccapps1
connect to "sa" identified by "passwad"
using 'ysccapps1';
SQL> select * from [email protected];
select 8 from [email protected]
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=y
sccapps.yamama.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=yscc02)))
ORA-02063: preceding 2 lines from YSCCAPPS1
Please assist me . i need to periodically pull data from Oracle server to Sql server
Best Regards

First of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
Looking at the provided listener it shows several configurations issues.
Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
This Listener serves 2 SIDs with the same name:
SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)

Similar Messages

  • Unreadable Charactors (?????) - Oracle to SQL Server 2005 Database

    Hi everybody:
    I have some trouble in Oracle Database client and SQL Server 2005,when I
    SELECT some table(in that table have some japanese charactors and these
    table are in SQL Server 2005 ) in Oracle Database client.And I have some
    errors as follows:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    message: [Generic Connectivity Using ODBC]DRV_GetRows:
    preceding 2 lines from MSQL3 Cause
    And the detail description are as following:
    1. Table A in SQL Server 2005 has datatype as nchar. Data stored in this
    table are Japanese charactors, for eg カラー, 品番, etc and some are
    English charactors.
    2. ODBC version 2000.81.9002.00 is set in Oracle Server.
    3. a) Connection to SQL Server 2005 (as mentioned in Point 1) is done
    through a database link object, named MSQL on Oracle 10G.
    b) NLS_CHARACTERSET in 10G is UTF8.
    c) NLS_NCHAR_CHARACTERSET in 10G is AL16UTF16
    4. We use PL/SQL DEVELOPER 7.0 and client's unicode is set as UTF8.
    Problem:
    Sometimes We keep on getting unreadable charactors (ie ?????) when we use PL/SQL
    to run queries from Table A.But other sometimes we have the error as above
    i.e
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    message: [Generic Connectivity Using ODBC]DRV_GetRows:
    preceding 2 lines from MSQL3 Cause
    However, no problem found so far for English charactors.
    Thank you very much.

    Hi Ushitaki
    Thank you again .
    What kind of developer tools do you use with on trying that?
    We use PL/SQL DEVELOPER 7.0 ,and we also have tried Toad developer tools ,no matter what tools the problem still exist....
    On the other hand we set NLS_LANG and set the windows codepage 932 and 936 ,too.But it's a pity we still get the error.
    and the error as follows :
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    message: [Generic Connectivity Using ODBC]DRV_GetRows:
    preceding 2 lines from MSQL3 Cause
    Message was edited by:
    user569423

  • CR with VS 2003 Oracle vs SQL Server 2005

    VS2003
    Windows XP
    All Crystal Reports designed using "push" model (Seting the Report Document's SetDataSource property using a single table dataset)
    I have a large VS2003 application (90+ Crystal Reports) using an Oracle database.  The client wants to switch to SQL Server 2005.  The application works with SQL Server "as is" except for the Crystal Reports.  A query engine error is generated.  The tables/views are quite simple using only integers, decimals, char and varchar columns, no datetime columns.   The dataset's  Name and datatable's Name are the same, the only difference is the data provider used.  Microsoft's Oracle Data provider vs Microsoft's SQL Server Data provider. Any thoughts? Any workarounds?.
    I am in the process of converting the application to VS2008 and the problem does not exist in the VS2008 version.  Crystal Reports converted from VS2003 to VS2008 work with either database/data provider.,
    Edit: It appears that Oracle does not differentiate between datatypes decimal and int32.  Any thoughts. (Not the problem)
    Edited by: spooky102 on Aug 17, 2009 6:40 PM
    Edited by: spooky102 on Aug 17, 2009 6:42 PM
    Edited by: spooky102 on Aug 17, 2009 7:31 PM

    An assumption here is that your .NET 2003 app is using the bundled version of CR(?) - version 9.1. If that is the case, make sure you have updated your install with SP1:
    https://smpdl.sap-ag.de/~sapidp/012002523100009301312009E/crnet11win_en.zip
    Next, see if this blog will help you in troubleshooting the issue:
    /people/ludek.uher/blog/2009/03/02/troubleshooting-issues-with-vs-net-datasets-and-crystal-reports
    re:
    It appears that Oracle does not differentiate between data types decimal and int32.
    Not sure how this relates to Crystal Reports as such? But let's work on one issue per thread. If you want to work the data type issue more, please create a new thread. Otherwise, these things get too messy...
    Ludek

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • Pulling data from oracle into sql server 2005

    hi,
    these days i am working on sql server 2005 on windows server 2008 64 bit.
    and oracle 10g on 32 bit unix.
    my problem is that when i am pulling data from oracle into sql server it shows me about *500-700 entries less*.
    why this is happening? is it because 32 bit to 64bit? or is it because of different os?

    Akki,
    are you using snapshot or replication from MSSQL? I am doing the same thing, hope to share your experience.
    I am using import/export from MGT studio and pull some data from Oracle database, I am working on how to update the changes on these tables pulled from Oracle.
    Thanks,
    -hank

  • Oracle to sql server 2005 connectivity

    windows server 2003
    oracle 10.2.0.3
    hi @all
    i want to use generic connectivity to select columns from a table which is located
    in a sql server 2000 alternativ 2005
    system dsn...done
    listener entries...done
    tnsnames entries...done
    tnsping works for both entries (sqlserver 2000 dsn and 2005 dsn)
    db links works for both entries too
    but only this works
    select *
    from table@sqlserver2000
    the follwing gives errors
    (connection to sql server 2005 was established...i have monitored this with sql server profiler)
    select *
    from table@sqlserver2005
    Thu Dec 13 15:42:24 2007
    HS: Lost RPC connection to remote Agent...
    HS: ... Agent SID = (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost)(PORT=1521))(CONNECT_DATA=(SID=sqlserver2005))), NCR status = -2147385341
    any ideas why the select works for sql server 2000 but not for sql server 2005

    See DG4MSQL manual, appendix A lists all supported data types and does NOT contain uniqueidentifier as well.
    So the view on the SQL Server side is the best solution:
    SQL Server:
    select * from test_unique:
    col1
    6F93D519-5BE9-4006-8792-2EE03A5BF5CA
    create view test_unique_vw select cast(col1 as varchar(36))
    Oracle:
    select * from "test_unique_vw"@dg4msql;
    col1
    6F93D519-5BE9-4006-8792-2EE03A5BF5CA

  • Data MIgration from Oracle to SQL Server 2005

    HI Gurus,
    Kindly please advice me how to migrate Data from oracle to MS SQL Server or Vice Versa.
    I came to know about 2 methods:
    1) Using SQL Developer
    2) USing ODBC.
    KIndly let me know which method is better. I am in confusion about both option
    Kindly advice over the same
    Thanks

    Usually such questions asked and answered on forums of a target system. In this case on MS SQL forums.
    But I will answer.
    You should create a LINKED SERVER in MS SQL that connects to Oracle.
    Then issue couple of SELECT * INTO <TARGET_TABLE> FROM <ORACLE LINKED SERVER>..<SRC SCHEMA>.<SRC TABLE>.
    Install Oracle Client and OLE DB driver on SQL Server machine.
    Also, Oracle is case sensitive by default. MS SQL is case insensitive by default. If there are primary/unique keys that have mixed case values in Oracle, then in MS SQL you need to set case sensitive collation for them.
    PS. If you need not only migrate data one time, but also to have a real time replication during an application transition period, you can take a look on heterogeneous replication solutions like Golden Gates or DataCurrents.

  • Oracle InstantClient with Linked Server in Sql Server 2005

    We are trying to connect ORACLE server from sql server 2005 using Linked Server Feature in SqlServer 2005
    Generally Oracle Client software is needed for this activity in the sql server machine.
    Can we use "Oracle InstantClient" instead of "Oracle Client Software" to connect ORACLE using Linked Servers ?
    Please give us your views, any existing reports similar to this activity
    Thanks & Regards,
    Palani

    Thanks for your reply
    I agree that Oracle Client software is used to connect oracle from SQL SERVER 2005.
    But my doubt is can we use Oracle InstantClient instead of Oracle Client software to connect oracle from SQL SERVER 2005
    with respect to Oracle Instant Client - I would like to know the development steps (Not the installation steps of Oracle Instant Client in windows machine) to connect ORACLE server.
    Thanks & Regards,
    Palani

  • Migration Oracle to SQL Server

    Hello folks
    I´m planning database migrate from oracle to sql server 2005
    I have windows 2003 server 32bits, R3 4.72 and Oracle 9i, i want to change just database software (oracle to sql)
    Do you have any idea to do this?
    I was thinking use the installation master to do the export database and later instal sql server and import the database via installation master too but im not sure if a will get errors or something like that
    Thanks

    I´m planning database migrate from oracle to sql server 2005
    I have windows 2003 server 32bits, R3 4.72 and Oracle 9i, i want to change just database software (oracle to sql)
    Do you have any idea to do this?
    Heterogeneous migrations must be done by a certified migration consultant, otherwise you will loose support for the migration itself and for the target system. See http://service.sap.com/osdbmigration
    I was thinking use the installation master to do the export database and later instal sql server and import the database via installation master too but im not sure if a will get errors or something like that
    Basically you're right - but there are a few things for source and target system to consider; using just the tools and kernels from the installation DVD is likely to fail since they are too old and must be replaced during the migration with newer tools.
    BTW: there's a separate forum for migrations:
    Markus

  • DB links Oracle to Sql server

    Hi All,
    I am planning to create DB link from oracle to sql server 2005.
    Please provide the doc for creating db link from oracle to sql server 2005 and also let me know is their any freeware to do the same.
    Regards

    It would be helpful if you could mention which platform your Oracle database is running on and which word size the OS is (32/64bit).
    The free solution would be to use the Database Gateway for ODBC (=Dg4ODBC) and install it on a MS Windows platform or on Linux 64bit as for these 2 platforms Microsoft offers a free ODBC driver. On all other platforms you have to purchase an suitable ODBC drivers from a 3rd party vendor like DataDirect. I know, some people here on the Forum are using FreeTDS but this driver is not a good choice when using it in production.
    Starting with the documents where you can build up a database link without additional costs:
    Please have a look at the documents available on My Oracle Support portal:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install [ID 1266572.1]
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [ID 466225.1]
    and
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [ID 466225.1]
    As mentioned for other platforms you commonly have to purchase a 3rd party ODBC driver and depending on the licensing costs this 3rd party ODBC driver might be more expensive the using Oracle's commercial product, the Database Gateway for MS SQl Server. It is designed for MS SQl Server connections and much more powerful then DG4ODBC - for example it allows you to call remote SQL Server stored procedures or to participate in distributed transaction.
    Documents about DG4MSQl can be found also on Oracle's support portal.
    - Klaus

  • Linked Servers - Sql server 2005 to connect to Oracle 11g using ldap.ora instead of tnsnames.ora

    We have a SQL Server 2005 64bit box that needs a linked server created to Oracle 11g 64bit box. I have all the Oracle client software installed and can successfully connect to the Oracle database using SQL+ on the SQL Server 2005 64bit box. When I create
    the linked server and select the OraOledb.Oracle provider, I get the TNSNames error. The Oracle server does not use tnsnames.ora it uses OLAP.ora to resolve. How do I get Linked server to stop trying to connect via TNSNames and use the OLAP.ora file instead?
    I can't find any articles for this specific issues. All Oracle examples tell you to use TNSNAMES. The Oracle server is not under my companies control so I can not force the vendor to use tnsnames instead of OLAP.

    Hi,
    Have you got a resolution?
    Thank you.

  • ODBC connect to SQL Server 2005 from Oracle 10.2.0.3 32bit Linux

    I’m unable to establish a connection from Oracle 10.2.0.3 32bit Linux to SQL Server 2005.
    The ODBC driver is the 32bit DataDirect 5.3 drivers and when I do a status on the listener it does have a handler for SQLDB
    Any help is appreciated.
    Received the following error:
    SQL> select count(*) from columns@SQLDB;
    select count(*) from columns@SQLDB
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/app/DataDirect/lib/libodbc.so'
    ORA-02063: preceding 3 lines from SQLDB
    -----Contents of trace file------------------
    Oracle Corporation --- THURSDAY JUL 10 2008 10:17:16.251
    Version 10.2.0.3.0
    hoagprd (2): ; hoagprd Entered.
    HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.8.2.0.0080
    HOACONN.C (288): ; Class version: 250
    hoagprd (2): ; hoagprd Exited with retcode = 0.
    hoainit (3): ; hoainit Entered.
    (0): ; connect string is: defTdpName=SQLDB;SYNTAX=(ORACLE8_HOA, BASED_ON=
    ORACLE8, IDENTIFIER_QUOTE_CHAR="", CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);
    BINDING=<navobj><binding><datasources><datasource name='SQLDB' type='GENERIC_
    ODBC_FOR_HS' connect='SQLDB'><driverProperties/></datasource></datasources><
    remoteMachines/><environment><optimizer noFlattener='true'/><misc
    year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
    parserDepth='2000' tokenSize='1000' noInsertParameterization='true'
    noThreadedReadAhead='true' noCommandReuse='true'/><debug driverTrace='true'
    generalTrace='true'/></environment></binding></navobj>
    ORACLE GENERIC GATEWAY Log File Started at 2008-07-10T10:17:16
    hoainit (3): ; hoainit Exited with retcode = 0.
    hoalgon (7): ; hoalgon Entered. name = dbuser.
    sysbase.c (677): ; libodbcinst.so: cannot open shared object file: No such
    file or directory
    DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol 'SQLAllocConnect' in
    dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
    DataDirect/lib/libodbc.so'
    DB_ODBC_INTERFACE (727): ; [C077] Could not find symbol 'SQLAllocConnect' in
    dynamic library
    DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol '
    SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
    DataDirect/lib/libodbc.so'
    nvRETURN (./drv_bind.c 230): -2220
    nvRETURN (./nav_bind.c 298): -2220
    hoalgon (7): ; hoalgon Exited with retcode = 28500.
    hoaexit (6): ; hoaexit Entered.
    hoaexit (6): ; hoaexit Exited with retcode = 0.
    (0): ; Closing log file at THU JUL 10 10:17:16 2008.
    --------------end of trace file ---------------
    --------TNS entry ----------
    SQLDB=
    (DESCRIPTION =
    (ADDRESS =(PROTOCOL = TCP)
    (Host = oracledbhost)
    (Port = 1521)
    (CONNECT_DATA = (SID =SQLDB)
    (HS=OK)
    -------Listener.ora entry----------
    (SID_DESC=
    (SID_NAME=SQLDB)
    (ORACLE_HOME=/app/oracle10g/product/10.2)
    (PROGRAM=hsodbc)
    -------initSQLDB.ora----------
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = SQLDB
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME=/app/DataDirect/SQLDB.trc
    HS_FDS_SHAREABLE_NAME=/app/DataDirect/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/app/DataDirect/odbc.ini
    ------odbc.ini entry------------
    [SQLDB]
    Driver=/app/DataDirect/lib/ivmsss23.so
    Description=DataDirect 5.2 SQL Server Wire Protocol
    Address=SQLServerhost,1401
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SQLServerDB
    LoadBalancing=0
    LogonID=
    Password=
    QuotedId=No
    SnapshotSerializable=0

    The error message is indicating problems loading the driver manager.
    A common issue on Linux (especially on Suse Linux) is related to library caching. First of all make sure you add the LD_LIBRARY_PATH to your listener.ora file to guarantee the correct libraries will be loaded. Your SID section will then look like:
    (SID_DESC=
    (SID_NAME=SQLDB)
    (ORACLE_HOME=/app/oracle10g/product/10.2)
    (ENVS=LD_LIBRARY_PATH=/app/oracle10g/product/10.2/lib:/app/DataDirect/lib)
    (PROGRAM=hsodbc)
    After changing the listener.ora file stop and start the listener.
    Details about the set up can be found in Metalink note:
    Note.264567.1 P216. How To Setup Generic Connectivity - HSODBC - on Linux
    If this does not help enable strace and check out from which location libodbc.so is being loaded.
    Please be also aware HSODBC has been desupported 15th of March. As you start a new project you should proceed with the follow up product DG4ODBC.

  • CONNECT SQL SERVER 2005 WITH Oracle 10.2.0.3

    Hi,
    I used URL http://www.databasejournal.com/features/oracle/article.php/10893_3442661_2 but its not working.
    I was reading note# 561033.1 adn planning to try.
    If any one done ,please let me know.

    user587327 wrote:
    its not working" is pretty vague. How about if you tell us
    1) What version of Oracle rdbms you are working with (ok, I see 10.2.0.3 in subject .. good)
    2) what OS it is running on (obviously SQL Server is on Windoze, but that doesn't mean that's where Oracle is) : Linux RHEL 4.4 64 bit
    3) what you are trying to do (get an Oracle database to retrieve data from SQL Server? vice versa? something else?):
    Connect to Oracle database and retrieve data from SQL SERVER 2005.So, you want the Oracle DB to act as a client to the SQL Server db?
    >
    4) what error code (ora-nnnnn or tns-00000) you are getting
    Showing
    SQL> desc spt_values@MYSQL
    ERROR:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQL
    ----I've never used HSO to SQL Server, so I'm getting out of my area here. However ...
    I'm puzzled by the error msg referencing "Net8". Looks like an Oracle 8i construct but you said your db is 10.2. And since the box is Linux I wouldn't expect to find an old 8i installation lurking on it.
    I searched MetaLink (should be everyone's first resource when trying to understand an error message) for "ora-28545" and got 13 hits.
    >
    5) any other diagnostic messages you might have

  • Oracle 10g dblink to sql server 2005

    Hi all,
    I'm conecting oracle 10g r2 (windows xp) with sql server 2005 (windows 2003 server)
    After configure ODBC connection to SQLSERVER, the DSN is called HUAWEI_DCDB
    I configure these three (3) archives:
    1) C:\oracle\product\10.2.0\db_1\hs\admin\initHUAWEI_DCDB.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = HUAWEI_DCDB
    HS_FDS_TRACE_LEVEL = OFF
    2) C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = mpr-1420)(PORT = 1522))
    SID_LIST_LISTENERSQL =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = HUAWEI_DCDB)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    LISTENERSQL =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1523))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    3) C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mpr-1420)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mpr-1420)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    HUAWEI_DCDB =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1523))
    (CONNECT_DATA=(SID=hsagent))
    (HS=OK)
    And when I tried to query sql server trought dblink, get these errors:
    SQL> create public database link HUAWEI_DCDB using 'HUAWEI_DCDB';
    Database link created.
    SQL> select * from tbl_policyinfo@HUAWEI_DCDB;
    select * from tbl_policyinfo@HUAWEI_DCDB
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from HUAWEI_DCDB
    Anyone have idea about the error???
    Thanks,
    Manuel

    Hi,
    You have the wrong values in the tnsnames.ora entry.
    You have -
    HUAWEI_DCDB =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1523))
    (CONNECT_DATA=(SID=hsagent))
    (HS=OK)
    but the CONNECT_DATA information is incorrect. it should be -
    HUAWEI_DCDB =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1523))
    (CONNECT_DATA=(SID=HUAWEI_DCDB))
    (HS=OK)
    The sid needs to match the sid defined in the listener.ora for the gateway.
    The actual tnsnames.ora entry should have spaces at the beginning of each line except the first, as they are lost in the forum entries.
    Once this is fixed you may also have a problem unless you put a user and password in the create database link statement -
    create public database link HUAWEI_DCDB connect to "userid" identified by "password" using 'HUAWEI_DCDB';
    One other point is that 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC). You should plan to install and use that instead of HSODBC to be on a fully supported product.
    Regards,
    Mike
    Edited by: mkirtley on Nov 9, 2010 8:16 AM

  • Oracle provider Issue in SQL Server 2005

    Hi all,
    On the dev server, I'm using SSAS 2005 (32-bytes) + Oracle provider for OLE DB to access my Oracle Database and it works perfectly.
    On the production server, SSAS 2005 is running on a 64-bytes platform.
    The Oracle client 10.2.0.1.0 (64 bits) has been installed containing the Oracle provider for OLE DB but unfortunately the Oracle provider for OLE DB does not appear in the list in BIDS when trying to create a date source.
    Could someone help ?
    Regards,
    Juan

    After much grief I figured this out and this works for me going from x64 sql 05 on windows server 2003 to x86 oracle 10g on another windows server 2003 box...
    Software Prerequisites
    •     x64 Oracle Client:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winx64soft.html
    •     x64 Oracle Data Access Components (ODAC) http://www.oracle.com/technology/software/tech/windows/odpnet/64-bit/index.html
    •     x86 Oracle Client:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
    •     SQL Server 2005 SP2 (x64):
    http://www.microsoft.com/downloads/details.aspx?FamilyID=D07219B2-1E23-49C8-8F0C-63FA18F26D3A&displaylang=en
    Patch Level Required (As of Thursday, July 31, 2008):
    •     Microsoft SQL Server Management Studio: 9.00.3042.00
    •     Microsoft Analysis Services Client Tools: 2005.090.3042.00
    •     Microsoft Data Access Components (MDAC): 2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
    •     Microsoft MSXML: 2.6 3.0 4.0 6.0
    •     Microsoft Internet Explorer: 7.0.5730.13
    •     Microsoft .NET Framework: 2.0.50727.42
    •     Operating System: 5.2.3790
    •     Oracle Data Access Components (ODAC): 10.2.0.3.00 (64-bit Oracle10g Release 2 ODAC for Windows x64)
    1. install the x64 and x86 oracle clients on the mssql box
    2. install the odac on the mssql
    3. Verify that the registry settings at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTC\MTxOCI
    are correct:
    a.     OracleOciLib = oci.dll
    b.     OracleSqlLib = orasql10.dll
    c.     OracleXaLib = oraclient10.dll
    4. Verify that your tnsnames.ora and sqlnet.ora files have the correct info to connect to the source Oracle 10g (x86) 32 bit source. Note if there is a DNS or other name resolution problem in the environment you may need to change your host entry in your tnsnames file to be the actual I.P. address of the source Oracle box, until the network issue is resolved by the applicable environments network engineer. Additionally, note that if your client tnsnames.ora file is not configured to match the network topology in use, you will have issues… loopback configurations particularly cause grief.
    5. Update Machine.config Add the following binding policy:
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342" />
    <bindingRedirect oldVersion="2.0.0.0-10.9.9.9" newVersion="2.102.3.2" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    6. Save the following as a *.reg file and run it...
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTS\Setup\WizardPath]
    @="C:\\Progra~2\\Microsoft SQL Server\\90\\DTS\\Binn\\DTSWizard.exe"
    7. Save the following as a *.bat file...
    rem Progra~2 is short path name for "Program Files (x86)" and works around an Oracle client bug that doesn't like the ()'s in the path
    start /B "C:\Progra~2\Microsoft Visual Studio 8\Common7\IDE" "C:\Progra~2\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
    8. Save the following as a *.bat file...
    start /B "C:\Progra~2\Microsoft SQL Server\90\Tools\binn\VSShell\Common7\IDE" "C:\Progra~2\Microsoft SQL Server\90\Tools\binn\VSShell\Common7\IDE\SqlWb.exe"
    9. Create a shortcut that points to each of the batch files you just created and only launch BIDS or SSMS from those *.bat files...
    10. create your packages, etc., as normal, but you will not be able to fully test them from BIDS or SSMS because they are 32 bit running in 64 bit o/s...
    11. Create a job with a line similar to the following as a cmdexec type of job...
    "C:\Progra~2\Microsoft SQL Server\90\DTS\Binn\DTExec.exe" /FILE "C:\SomeWidget.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF
    12. your done...
    Best Regards, from a Las Vegas Bohemian...

Maybe you are looking for

  • PDF Printing Problem with HP UPD Printer

    Hi, in our Company we use the HP UPD Driver PCL5 in Version 5.9.0.18326. The Printermodells are HP LaserJet Pro 400 M401, HP LaserJet Pro 400 Color M451, HP LaserJet Enterprise Flow M830z, HP LaserJet Enterprise 500 MFP M525dn, HP LaserJet Enterprise

  • USB Thumbdrive causes "Mass Storage Device Not Responding"...

    Everytime I connect a thumbdrive to my MBP, I cannot eject it. I always get the "disk in use" message. When I go into Activity Monitor, I see "Mass Storage Device Not Responding" and it's eating up a lot of system resources. After a short period of t

  • Wireless users getting ACL errors when no ACL is in place

    We have around a hundred users, many using Powerbooks and MacBook Pros via a third-party wireless. Recently, a few users are reporting errors when connecting saying that they are not on the Access Control List, but we don't use one. I think these use

  • Tomcat not creating a mod_jk.conf-auto file

    can anyone tell me why my tomcat (which looks like it is running) is not producing the mod_jk.conf-auto file that I need to include into my httpd.conf?

  • Central instance error mscs abap unknown

    Hi there, Im having problem installing  central instance in mscs environment with oracle database. the error is at "start instance" phase and coming up as abap unknown and it is giving up after 10:30 mins im attaching few error logs to help me out. s