Connect unixodbc with freetds on 64-bit OEL 5.2 to SQL Server 2000.

Hello world
I'm on oracle 11g 11.1.0.7 (64-bit) 5.2 OEL using unixodbc and freetds to connect to SQL Server 2000 after the doc http://www.dbapool.com/articles/06280701.html

I am stuck at the step of the listener here is my error when I try to start the receiver
AMT-01150: the name of the specified listener address is incorrect

Listening port could start. See the above error messages...


Here's my config files:

/usr/local/etc/freetds.conf:
# A typical Microsoft Server
[NYCSQL1]
Host = 999.16.0.99
port = 1433
TDS version = 8.0

/etc/odbcinst.ini:
[TDS]
Description = FreeTDS driver
Driver = /usr/local/lib/libtdsodbc.so
Setup = /usr/local/lib/libtdsodbc.so
Trace = Yes
Trace file = /tmp/freetds.log
FileUsage = 1

/etc/ODBC.ini:
[NYCSQL1]
Description = NYCSQL1
Driver = TDS
ServerName = NYCSQL1
Server = NYCSQL1
Address = 999.16.0.99
Port = 1433
Database = db1
TDS_Version = 8.0
Language = us_english
TextSize =
Domain = corp.hfmus.com
PacketSize =
Trace = Yes
Trace file = /tmp/mstest.log

initnycsql1.ora:
# This is an example of initialization file of the agent that contains the HS settings
# needed for an ODBC Agent.
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = NYCSQL1
#HS_FDS_TRACE_LEVEL = 4
#HS_FDS_TRACE_FILE_NAME = /tmp/freetds.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so

#
# ODBC specific environment variables
#
Set ODBCINI=/etc/odbc.ini

#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >



Listener.ora:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver) (PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
SID_LIST_NYCSQL1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = NYCSQL1)
(ORACLE_HOME = u01/app/oracle/product/11.1.0/db_1)
(PROGRAM = hsodbc)
)
)

NYCSQL1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp (PORT = 1522))(HOST=localhost))
(ADDRESS = (PROTOCOL = ipc) (KEY = PNPKEY)))
)
)

hsodbc was changed to dg4odbc in 11g and I tried different variations and get the same error.

Any help appreciated.
Thank you

Published by: ALEXSDBA on March 26, 2010 12:59

Published by: ALEXSDBA on March 26, 2010 13:13

It seems a missmatch in your configuration...
Accroding in the trace file, it cannot find the ODBC driver manager:
OSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/local/lib/libodbc.so '.
Entry hgolofns to 2010/03/29-11: 33:17
hoaerr:28500
Output hgolofns 2010/03/29-11: 33:17
Unable to load the ODBC library symbol: usr/local/lib/libodbc.so(SQLAllocHandle)

Above you said:
file /usr/local/lib/libodbc.so = /usr/local/lib/libodbc.so: ERROR: unable to open ' / usr/local/lib/libodbc.so' (no such file or directory)
It is located in /usr/lib64/libodbc.so

But it seems that you adopt the parameter HS_FDS_SHAREABLE_NAME to HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

So please correct your settings.

Tags: Database

Similar Questions

  • Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) is compatible with Windows 7 64 bit?

    can I use Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) a version with Windows 7 64 bit?

    Hello Julio Diaz MarioMarin,.

    If you have any questions to MSDE 2000, it would be better treated in the MSDN forums for the Visual Studio Express editions.
    Click on the link here to repost your question.

    Sincerely,

    Marilyn

  • Oracle 10.2 64-bit to SQL Server 2000 (32-bit) through DG4ODBC and DBLINK

    Hi all

    I need to connect from Oracle to SQL Server through DB-LINK, and since my installation Oracle does not contain of HSODBC, I installed DG4ODBC.

    My current setup SW is:

    (1) oracle Server (64-bit):
    Operating system: Windows Server 2008 Standard SP2
    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
    Gateway: Heterogeneous Agent 11.2.0.1.0 - 64 bit Production version built with Oracle Database Gateway for ODBC
    Oracle home: E:\oracle\product\10.2.0\db_1\
    Gateway home: D:\apps\product\11.2.0\tg_1\
    In addition, he performs a 10.0 ArcGIS/ArcSDE on Oracle.

    (2) MS SQL Server (32-bit):
    OS: Windows NT 5.2 SP2
    DB: Microsoft SQL Server 2000-8.00.2065 (Intel X 86)

    There are two headphones running (one of each installation, 10.2 and 11.2) which, I suppose, can lead to conflicts or reduce performance. As a restriction, I need the listener from 10.2 to continue

    unchanged running from ArcSDE Service use and re-create them is a pain.

    So my question is, how do I configure a (10.2) or two listeners (10.2 and 11.2) use DG4ODBC to connect to a remote SQL Server to Oracle?

    I have followed several threads in this forum, try different configurations but I can not connect successfully with the DATABASE LINK. In most cases, I get error ORA-28545 and ORA-02063.

    Can someone help me solve this problem? What I need to send more information, for example {SID} init. now, listener.ora, tnsnames.ora, clarifications etc?

    Thank you much in advance.

    Gaston.

    Hi, Gaston,.
    The following note describes the setting up Dg4ODBC on 64-bit Windows-

    How the installer DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems (Doc ID 1266572.1)

    You definitely need 2 separate listeners - one for the 10.2 RDBMS and one for the 11.2 Dg4ODBC. There should be no concern about the performance or other conflicts. The only thing to know is that listener DG4ODBC must use a different port than the 10.2 listener.

    Heike referred to as using a file odbc.ini, but it is necessary when setting up Dg4ODBC on Unix/Linux platforms. Under Windows, the database non-Oracle information in the system DSN that is used for the HS_FDS_CONNECT_INFO parameter in theinit .ora file DG4ODBC.

    Do the following-

    -Configure the gateway as Note 1266572.1 with a listener running of the ORACLE_HOME bridge, in your case D:\apps\product\11.2.0\tg_1\
    -create tnsnames.ora entry in the 10.2 RDBMS directory $ORACLE_HOME/network/admin for the gateway
    -create the database link in the RDBMS using the tnsnames.ora entry.

    If you still have problems then view the files following and information-

    -Gateway listener.ora
    -gatewayinit .ora
    -RDBMS tnsnames.ora
    -create database link statement

    Another point, because you're running on Windows 64 bits, then the ODBC driver that is referred to in the system DSN for the connection must be a 64-bit driver. You cannot use the 32-bit drivers with 64-bit DG4ODBC.

    Kind regards
    Mike

  • Oracle 10 g 2 64 bit odbc to oracle to sql server Win 2008 EE 64 bit

    Hi, I have a problem with a creation of 64-bit 10 g oracle to sql server odbc 2, I have several instructions with no luck at all. My OS is windows 2008 EE 64 bit on the server oracle and sql server.

    That's what I did

    1. in the directory of $oracle_home/hs/admin
    inithsodbc.ora
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = hsodbc
    HS_FDS_TRACE_LEVEL = off

    2. in the $oracle_home/network/admin
    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)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=C:\oracle\product\10.2.0\db_1\hs\hsodbc)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx) (PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    )

    And the tnsname.ora

    tnsnames.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    PRUEBA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = test)
    )
    )

    hsodbc =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=xx.xx.xx.xx) (PORT = 1521))
    (CONNECT_DATA = (SID = hsodbc))
    (HS = OK)
    )

    I create the connection odbc test, the result is TEST PASSED

    4. the i create a database on my database link
    CREATE THE DATABASE LINK XYZ PUBLIC
    CONNECT to 'sysdba' IDENTIFIED BY 'masterkey '.
    Using "hsodbc."

    5. run a select
    SQL > select * from dual@XYZ;
    Select * from dual@XYZ
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of XYZ

    6. when I check the log of the listener, I get this error

    March 25, 2011 11:48:40 * (CONNECT_DATA = (CID = (PROGRAM =)(HOST=) (USER = Administrator)) (COMMAND = status)(ARGUMENTS=64) (SERVICE = LISTENER) (VERSION = 169870592)) * status * 0
    March 25, 2011 11:48:47 * (CONNECT_DATA = (SID = hsodbc) (CID = (PROGRAM =) (HOST =)(USER=PRO\Administrator) PRO)) * (ADDRESS = (PROTOCOL = tcp (PORT = 49329))(HOST=xx.xx.xx.xx)) * establish * hsodbc * 12518
    TNS-12518: TNS:listener could not hand off client connection
    AMT-12560: TNS:protocol adapter error
    AMT-00530: Protocol adapter error

    Published by: user626125 on March 26, 2011 11:39

    Published by: user626125 on April 12, 2011 14:49

    I guess the point of the answer above was to close and move this thread to the appropriate forum.

  • Coldfusion 7.01 is compatible with MS SQL Server 2000 w/SP4?

    Coldfusion 7.01 is compatible with MS SQL Server 2000 w/SP4? Both applications will be installed on separate boxes for MS Windows Server 2003.

    Thank you for your help,
    -Phil

    Yes. I used it for since CFMx 7 came out with questions.

  • Problems connecting to SQL Server 2000

    We have installed SSL certificates on both nodes of the cluster sql server and activated 'Forced the protocol encryption' on db server using the SQL Server network utility.
    After you activate that we get the message below. We want to encrypt the data passing between the CF and SQL servers.
    We need help in this regard

    Error message:
    Operation failed on the data source named "CData".
    Cause of the failure "java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] no more data to read."

    Details of the environment:
    The database server info:
    : SQL Server 2000 sp4 (active/passive)
    Windows 2003 - sp1

    CF:
    ColdFusion MX Version 7,0,2,142559
    Enterprise Edition

    Windows 2003 operating system
    OS Version 5.2
    Details of the JVM
    Java Version 1.4.2_11
    The vendor Sun Microsystems Inc. Java.
    The http://java.sun.com/ Java vendor URL
    E:\javaSDK\j2sdk1.4.2_11\jre House of Java
    Java file encoding Cp1252
    Java by default to settings regional en_US

    ColdFusion does not yet support encrypted datasource connection, so this is in my view, a reason why you get the error message.

  • How to display dynamic menu with the parent and the child using c# and sql server

    Hello

    Can you tell me

    What is menu given Dynamics example

    How can u use my dynamic menu added project in c#

    This menu is display with only the data from sql database.

    Menu with the help of a parent node and a child.

    check the element all in sql server and adding one by a dynamic menu.

    Hello

    Thank you for writing to Microsoft Communities.

    I recommend you post your query in the following forum.

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

    Hope this information is useful.

  • With the help of Oracle heterogeneous access table to sql server database services

    I created a dblink "POC_HS" of oracle to sql (heterogeneous services implemented) and I can't go out data from the default database to which the DSN (for sql server) is connected successfully.

    So, this ' select * from ' Test@POC_HS is works perfectly well on the Oracle database as 'Test' table resides in the default database (that the system DSN is connected to).

    But when I do ' select * Abc.Test@POC_HS' where the Test table resides in the 'ABC' database which is not the default survey database an error as follows:

    ORA-00942: table or view does not exist the name of incorrect [generic object using ODBC Connectivity] [Microsoft] [ODBC SQL Server driver] [SQL Server] 'Abc.Test '. [Microsoft] [ODBC SQL Server driver] [SQL Server] Instructions could not be prepared. (SQL State: S0002;) SQL code: 208)

    I also tried "select * from Abc.dbo.Test@POC_HS' but oracle throws this exception" ORA-00933: not correctly completed SQL command "."

    The dblink and system DSN user account has access to database 'Abc '.

    Thoughts?

    No, this is not possible.

  • Problem with the migration of key primary and foreign from SQL Server to Oracle

    Hi people, I use SQL Developer to migrate Oracle to a SQL database, and I'm stuck with a few questions:

    So far, the worst of them is the fact that I can not migrate the PKs and FKs. After having successfully captured the model DB in SQL Server and Oracle conversion, when the tool generates scripts, all ALTER TABLE queries that add pharmacokinetics and the FKs have their columns duplicate targets.

    for example: when I'm trying to migrate a simple table that contains an Id (PK) and the columns name, the tool generates the following scripts:


    PROMPT create Table TestTable...
    CREATE TABLE TestTable)
    ID NUMBER (10,0) NOT NULL,
    Name VARCHAR2 NOT NULL
    );

    The PROMPT create constraint primary key on the table TestTable PK_TestTable...
    ALTER TABLE TestTable
    ADD CONSTRAINT PK_TestTable PRIMARY KEY
    (
    ID,
    ID
    )
    ENABLE


    Regarding the FKs, the tool duplicates the columns thus:

    ALTER TABLE SomeTable
    ADD CONSTRAINT FK_SomeTable_SomeTable2 FOREIGN KEY
    (
    SomeTable2Id,
    SomeTable2Id
    )
    REFERENCES SomeTable2
    (
    ID,
    ID
    )
    ENABLE
    ;

    Does anyone have an idea on how to solve these problems? I would be very grateful for answers!

    Hi Fernando,

    I was unable to reproduce this problem. My primary / foreign keys when defined using unique columns.

    The PROMPT create constraint primary key on the suppliers table PK_Suppliers...
    ALTER TABLE suppliers
    ADD CONSTRAINT PK_Suppliers PRIMARY KEY
    (
    Vendor No.
    )
    ENABLE
    ;

    I tried a few things like
    capturing twice and rename the two models of the same
    Rename the converted templates
    but without success.
    I think that this problem occurs is in the capture phase or convert.

    (1) you perform the capture online or offline?
    (2) can provide you a DDL together for one of these tables and the indexes to see if I can reproduce?
    (3) made of capture or convert fail or be again at any stage?

    I all else fails I would attempt a capture and convert again using a new repository (create a new schema in Oracle and associate him the migration repository).

    Kind regards
    Dermot
    SQL development team

    Published by: Dermot ONeill on October 22, 2009 12:18

  • Once again, Oracle to MSSQL Unixodbc with freetds

    I have no idea why my config don't work, so I need your help:

    I connect to a MSSQL 2008R2 server of SLES 64-bit my odbc system is calles MSSQL and running isql - v mssql < user > < pw > wit.

    I see an error in my/hs/log like that
    Oracle Corporation - Thursday 9 February 2012 15:45:07.202


    Heterogeneous Agent release
    11.2.0.1.0


    Agent HS was diagnosed with error on the original communication,
    probable cause is an error in the network administration
    Network of error 2: NCR-00002: NCR: invalid use
    HS Gateway: NULL connection to the output context


    Here my config files:
    initdg4odbc.ora

    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = 4

    ##HS_FDS_SHAREABLE_NAME=/usr/local/lib/libtdsodbc.so

    #HS_FDS_SHAREABLE_NAME = < name of the full path to the driver or the odbc driver manager >

    #
    # ODBC specific environment variables
    #
    ##set ODBCINI = < name of the full path to the odbc initialization file of the >


    #
    # Required for the non-Oracle system environment variables
    #
    ##set < varenv > = < value >
    ##set LIBPATH = / usr/local/lib:

    SQLNET.ora:
    sqlnet.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET. AUTHENTICATION_SERVICES = (NONE)
    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / opt/oracle

    Listener.ora

    listener.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))
    )
    )
    SID_LIST_LISTENER = (SID_DESC = (SID_NAME = ORCL) (Program = dg4odbc))
    ADR_BASE_LISTENER = / opt/oracle


    tnsnames.ora

    tnsnames.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    ORCL =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))) (CONNECT_DATA = (SID = orcl))(HS=OK))



    tnsping orcl addresses like this:

    tnsping orcl

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on February 9, 2012 15:54:40

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /opt/Oracle/product/11gR1/DB/network/admin/SQLNET.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))) (CONNECT_DATA = (SID = orcl))(HS=OK))
    OK (0 msec)




    Hope everyone can find my fault for typing. IM no guru of oracle.

    Tank you

    There is a problem with the driver - reports the gatewa ytrace Manager:
    HS_FDS_SHAREABLE_NAME ' returned «/usr/local/lib/libtdsodbc.so.0.0.0»»

    But the file config that you posted earlier was:

    Published by: kgronau on February 10, 2012 09:47

    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

    -online the libodbc library is commonly the ODBC driver manager, while libtdsodbc is the driver ODBC itself.

    Please set the parameter in your file init bridge go back to:
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

  • Error message not associated with an approved SQL Server connection"when you try to connect to SQL Server 2000, using xp pro

    I'm trying to implement a program called "On Time." A follow-up of the accounts receivable program.

    Hi Jack,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. Please post your question in the MSDN forum. You can follow the link for your question.

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

    Hope the helps of information.

  • SQL server 2000 will run on a server with windows server 2008 enterprise edition R2 operating system

    New server with the windows server 2008 r2 enterprise operating system.  You want to load sql Server2000 on it.  Is it compatible?

    Please repost your application in the Windows Server Forum.  Thank you!

  • Connection from Oracle to Sql Server (64-bit on Windows 2003)

    Hello

    I want to install heterogeneous connectivity between our Oracle 10 g version 10.0.2.0.1 (on 64-bit Windows 2003) to a SQL Server on another computer on the network. I found that HSODBC is removed, and that this is is not supported on 64-bit Windows systems. So, I couldn't make it work obviously.

    It is even possible to set up a heterogeneous connectivity in our situation (using DG4ODBC or something?)
    If so, could someone point me in the right direction on where to start?

    Thank you!

    (I'm not a dba, previous attempt using hsodbc cost me two weeks before finding out that it doesn't even work...)

    Edit:
    Oh, and it is possible to display the Metalink notes as (Metalink Note: 361676.1, is generic connectivity available on The LINUX or Windows 64 - bit Platforms?) without a support contract? Or only customers with a support contract have the right to know that some features are not available?

    Published by: user574699 on March 18, 2009 06:24

    According to your last update, your actions are:
    1.) upgrade Oracle on SERVER1 to 10.2.0.4.0-online Yes
    2.) DG4ODBC is not certified to run on SERVER1, then I should install on SERVER2 tell you? That there is no installed Oracle... ?
    Yes, install it on the server of SQL Server 32-bit.

    The gateway comes with a complete Oracle SQL * Net listener. Just so install the 32-bit to SQL Server and configure the Oracle listener as well as the bridge and the ODBC driver.
    Now on the Oracle database server adds a TNSNAMES file. Entry of ORA that points the listener to the Oracle of the gateway on the SQL Server computer. The link of database within the 10 g, which oracle databased then connects using tnsnames.ora alias in the SQL Server computer that has an active Oracle listener that generates connection DG4ODBC. DG4ODBC executable load DG4ODBC configuration file and connects to SQL Server you have configured.

    The Oracle gateway are very flexible. You don't need to install them on the Oracle database machine. They can be installed independently; even on a 3rd machine if you do not want to touch the SQL Server computer. In this case, the scenario is similar as described above; only difference now is the driver ODBC to connect to a SQL Server computer on a remote host.

  • How to connect Oracle 11 g 11.1.0.7 on LINUX 64-bit SQL Server machine?

    Hello

    Does anyone know how can I connect Oracle 11g 11.1.0.7 on LINUX machines 64-bit Microsoft SQL Server 2000 DB please so I can set up a regular data extraction work to migrate data? That use products that I am already registered for under Oracle Enterprise Edition?

    Thank you

    Jeremy

    You must not be read carefully.
    The gateway software is there, in the background.

    Oracle Database Gateways 11g Release 1 (11.1.0.6.0)
    for Linux x86-64
        linux.x64_11gR1_gateways.zip (505,401,641 bytes) (cksum - 2593459988)  
    

    just download.

    and that's how install and configure
    http://download.Oracle.com/docs/CD/B28359_01/gateways.111/b31042/partsql.htm#BJEGEBFH

  • Failed to connect to the user when it connects to SQL Server 2008 R2 gateway

    Hi - This is my first post!

    I have problems to connect to a SQL Server 2008 R2 to Oracle database 11 g R2 database, use the product of the gateway.

    Previously, he has worked, but we moved the database SQL 2005 to 2008 (R2).

    We receive this error while trying to query through the link (Select * FROM DUAL@ADSRD)

    ORA-01017: name of user and password invalid. connection refused

    [Oracle] [ODBC SQL Server driver] [SQL Server] Failed to connect to the user 'SQLUSER '. {NativeErr 28000, = 18456} [Oracle] [ODBC SQL Server driver] Invalid connection string attribute {01 S 00}

    ORA-02063: preceding 2 lines of ADSRD

    01017 00000 - "invalid username/password; connection refused '.

    * Cause:

    * Action:

    Error on line: 1 column: 35

    The DG4MSQL configuration is here:

    HS_FDS_CONNECT_INFO = //SSU_PRD_APP/IntegrationStagingDb [BSYS-sql2]

    HS_FDS_TRACE_LEVEL = OFF

    HD_TRANSACTION_MODEL = READ_ONLY

    #HS_FDS_DELAYED_OPEN = FALSE

    HS_FDS_FETCH_ROWS = 100

    HS_OPEN_CURSORS = 50


    The database is hosted in its own instance on the sql2-BSYS Server

    Then... on the SQL Server event logs returns this:

    Failed to connect to the user 'SQLUSER '. Reason: Failed to try to connect using SQL authentication. Server is configured for Windows authentication only. [CLIENT: 192.168.10.179]

    However, the SQL Instance IS configured to enable mixed mode authentication.

    I can't work on what I missed, and I can confirm if I'm actually to a compatibility issue between the gateway and the version of SQL server, that we are now trying to connect.

    Help please!

    Is the user name in your SQL Server database in the capital, mixed mode letters or small letters?

    Currently, you have created a database link that tries to authenticate on the server SQL using SQLUSER in capital letters. If you use mixed or small letters, so be sure to write the user name (and password) as it is in the create database link statement and surround it with double quotes.

    If you have created the link of database correctly, try an ODBC connection for example from your client and add the user name and password. Does it work?

    -Klaus

Maybe you are looking for