Help me trooubleshoot hsodbc with SQL Server

Hello

I need ideas on how I can find the problem I have with the implementation of a generic connectivity to SQL Server
via a database link and heterogeneous services.

Oracle version is 10.2.0.1.0 on Windows Server 2003

I have create a DSN SYSTEM for SQL Server 2000.
The DSN tests "with success."

I used a third party (Assistant SQL) query tool to query the db to SQL Server by using the DSN and it works very well.

I added this to the tnsnames.ora file

myConn =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myoracleserv) (PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = myconn))
(HS = OK)
)

I added this to the listerner.ora file:
(by virtue of the "SID_LIST_LISTENER =" part)

...
(SID_DESC =
(SID_NAME = myconn)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc)
)
...

I created a file named initmyconn.ora under/hs/admin.
with this in it:

HS_FDS_CONNECT_INFO = myconn
HS_FDS_TRACE_LEVEL = odbc

Next, I created the database link

create the database link myconn
connect to myuser
identified by mypass
using "myconn";

When I run a simple query, I get

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 MYCONN

TNSPING works fine.
I have the newspaper in hs/trace /.

I installed successfully 3 other HS in SQL Server on the same computer connections, they all work.

Any help to solve this?

Thank you

28545 error is a configuration error in the SQL * Net layer - executable HSODBC is not begotten and so you do not get a tracking log file / of hsodbc.

Analysis the question, please provide the status of the listener (lsnrctl status).

Tags: Database

Similar Questions

  • Portable JDBC with SQL Server on 64-bit Windows computer connection

    I'm trying to set up this connection using a call for open source Modelsphere.

    I am running home premium windows version 7.

    I downloaded the 4.0 driver JDBC Microsoft SQL Server (sqldbc4.jar) and put it in this directory:

    c:\Program Files\Java\JRE6\Lib\Ext

    The class I use the Modelsphere application is: com.microsoft.jdbc.sqlserver.SQLServerDriver

    The database url is: jdbc:sqlserver://localhost: / CallSheet.

    I enabled using the Configuration of TCP/IP Manager.

    I also enabled the telnet, but when I try to command: telnet 192.168.0.0 1433 or telnet 192.168.1.1 1433 I get an error saying "could not open connection to the host on port 1433: connection failed."

    What else, need to do or change to get the connection work?

    Thanks in advance.

    Hi RStraka,

    I had a problem with SQL Server and I posted in the Microsoft Technet folder and it has helped me.

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer/

    All the best!

  • Compatibility with SQL Server 2012

    Hi team,

    We intend to pass to The Adobe Acrobat professional and Adobe Livecycle Designer to version 11. The application uses SQL Server which will be upgraded to SQL Server 2012.

    Please someone confirm, if the mentioned versions of Adobe are compatible with SQL Server 2012.

    Thank you and best regards,

    Prashant Sharma

    Hi Prashant,

    You can check the compatibility in this KB doc. helps LiveCycle | Adobe LiveCycle ES4 supported platforms, but Adobe Livecycle Designer is not is more bundled with Acrobat & Acrobat DC was launched recently, you will need to upgrade to Adobe Acrobat DC & Adobe Livecycle Designer ES4 to buy separately.

    Kind regards

    Nicos

  • Several PVSCSI with SQL Server

    Hello

    About SQL Server virtualization, tried to find info if there is an impact on positive performance on the separation of data from devices Log devices in different adapters SCSI Paravirtual similar to what is happening here [https://books.google.pt/books?id=jrMTBAAAQBAJ & pg = PA155 & lpg = PA155 & dq = pvscsi & f = false].

    There was a script on a client where an additional PVSCSI has been added and log devices have been separated to the new PVSCSI, showing considerable performance gains. Yet, doubt remains whether it was because of this separation or simply due to the fact that an additional PVSCSI was now present.

    Does anyone have any idea on this?

    Thanks in advance

    An answer to this question has been published here:

    Virtualization - multiple PVSCSI with SQL Server - Database Administrators battery Exchange

  • E.M.P. 11.1.2.2 configuration with SQL Server 2008 R2

    Hello

    I was wondering if he should place the sqljdbc4.jar under any folder EPM_HOME\MW file to connect to SQL Server 2008 when you configure using the EMP system configurator.

    I'm just be proactive and ask the question because I had to do the same thing when configuring with SQL Server 2008R2 ODI...

    Looks like Oracle don't like MS and visa versa... Why not include just this file JDBC installation.

    Thanks in advance!

    No you shouldn't need drivers for sql server additional to configure SQL SERVER in the configurator to EMP they are included as part of the configurator.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • DG4MSQL v11.2.0.1 certified with Sql Server 2005 Express Edition?

    We are working on a proof of concept and to do database gateway for MS Sql Server - DG4MSQL version 11.2 - Oracle on 64-bit Linux to connect to a Windows database that uses SQL Server 2005 Express Edition. I have reviewed the matrix certification for database gateways and it indicates that SQL Server 2005 is certified - but does not specify what editions.

    We have some problems to connect to the SQL Server database and want to make sure that we should be able to connect to the express edition.

    Thank you.

    Yes, DG4MSQL 11 is certified with SQL Server Express Edition.

  • need help with SQL Server 2008 R2 deadlock uninstall process

    I installed SQL Server 2008 R2 trial version on my PC running Windows Vista Ultimate, a day ago, but he placed himself completely in the disk partition (E :) that I specified. [i.e. I found some parts of the installation in my C:\program files as well as a USB as well].

    I tried to uninstall SQL Server 2008 R2, but was only partially successful.  I'm prevented from uninsalling the main parts using the programs and features Panel - that is "Microsoft SQL Server 2008 R2" and "Microsoft SQL Server 2008 R2 Setup (in English).

    Still visible are:

    1 C:\Program Files (x 86) \Microsoft SQL Server

    2 C:\Program Files (x 86) \Microsoft Visual Studio 9.0

    3 C:\ProgramData\Microsoft\Windows\Start demarrer\programmes\microsoft SQL Server 2008 R2

    I would like your help to uninstall the other goals of SQL Server, so that I can do a clean install once more.

    Any advice on how SQL Server 2008 R2 evaluation version must be correctly installed what a future unistall is not messy, would be welcome.

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the SQL Server forums. Please post your question in the SQL Server forums.

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

  • IPCC IVR with SQL Server 2005

    Has anyone tried this before? It work? I know that SQL 2000 is officially supported, but the customer is 2005. Use 4.0 (5) of the IPCC.

    Yes, that I extracted data from the SQL Server 2005 database with no problems.

    Hope this helps,

    Juan Luis

    (Please, note the useful messages ;-))

  • Hyperion 11.1.2.3 with SQL Server 2012 compatibility mode

    Hello

    I have a client that has installed the SQL Server 2012 with compatibililty mode Server (Server 2008, 100). Hyperion configuration seems to have proceeded and I was able to correctly configure the environment. I'm afraid that there could be a few unforeseen errors that may appear later. I know according to the support matrix 2012 version is not supported with hyperion 11.1.2.3 but did anyone try it before and you face any problem?

    I've not seen any problems with compatibility mode if the problem is that it is not yet support that will probably help not means if there were issues related to the Oracle database.

    There are also "does EMP 11.1.2.x Support SQL 2012 in 2008 Compatibility Mode for EMP databases? (Doc ID 1495944.1) »

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Need help bridge database for MS SQL Server, error ORA-28546 configuration problems

    Dear all,

    I'm trying to configure Oracle to MS SQL Server(I don't have admin access to the MS SQL Server) database gateway.  When I try to test the dblink connection, I get the following error.

    I published select * from dual@xyz;

    ORA-28546: initialization of the connection failed, probable Net8 admin error

    ORA-28511: interruption of the RPC connection to heterogeneous remote agent using SID = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)) (CONNECT_DATA = (SID = dg4msql)))

    ORA-02063: preceding 2 lines of xyz

    28546 0000 - ' failed to initialize connection, unlikely Net8 admin error.

    My setup is as follows.

    1 oracle 11 GR 2 under Oracle Linux 6, the same gateway version is installed on the same server but different base directory.

    2 oracle DB base directory is u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is/u01/gateway.

    3. I use the same file listener.ora for db and the entry door.

    4. the content of my listener.ora, tnsnames.ora and the initdg4msql.ora is below.

    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    #(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1522))

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    )

    )

    MSSQL =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = db.abc.com.tw)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = orcl)

    )

    )

    SID_LIST_mssql =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = dg4msql)

    (ENVS = LD_LIBRARY_PATH = / u01/gateway/dg4msql/pilot/lib: / u01/gateway/lib)

    (Program name = / u01/gateway/bin/dg4msql)

    )

    )

    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    LISTENER_ORCL =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl.abc.com.tw)

    )

    )

    dg4msql =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521))

    (CONNECT_DATA = (SID = dg4msql))

    (HS = OK)

    )

    /U01/gateway/dg4msql/Admin/initdg4msql.ora

    HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST

    # replacement connect format is the name of host/serverinstance/databasename

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_RECOVERY_ACCOUNT = RECOVERY

    HS_FDS_RECOVERY_PWD = RECOVERY

    the dblink is created with the following statement.

    CREATE DATABASE LINK "xyz.abc.COM.TW".

    CONNECT TO ITS IDENTIFIED BY

    With the HELP of "dg4msql";

    Couple of other things I did to check the above works.

    [oracle@db admin] $ ping 192.168.0.1

    PING 192.168.0.1 (192.168.0.1) 56 (84) bytes of data.

    64 bytes from 192.168.0.1: icmp_seq = 1 ttl = 61 time = 7.61 ms

    64 bytes from 192.168.0.1: icmp_seq = 2 ttl = 61 time = 7,41 ms

    ^ C

    -ping 192.168.0.1 - statistics

    2 packets transmitted, 2 received, 0% packet loss, time 1818ms

    RTT min/avg/max/leg = 7.417/7.516/7.615/0.099 ms

    [oracle@db admin] $ tnsping dg4msql

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 2013-SEPT-11 10:53:11

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

    Use settings files:

    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SID = dg4msql)) (HS = OK))

    OK (0 msec)

    [oracle@db admin] $ lsnrctl status mssql

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2013-SEPT-11 10:54:23

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias mssql

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    11-SEP-2013 start date 10:09:46

    Uptime 0 days 0 h 44 min 37 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/DB/MSSQL/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))

    Summary of services...

    Service 'dg4msql' has 1 instance (s).

    Instance of 'dg4msql', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Obviously, I'd like to get this configuration to work, but I have also a couple other questions about this configuration.

    1. for the installation of the bridge, he wants to run the root.sh script.  the script root.sh as to what follows.

    Enter the full path of the local bin directory: [/ usr/local/bin]:

    The 'dbhome' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    The 'oraenv' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    The 'coraenv' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    the above answer is correct?

    Thanks for reading.

    The strace shows:

    2796 open ("/ u01/app/oracle/diag/tnslsnr/db/mssql/trace/mssql.log", O_WRONLY |) O_CREAT | O_APPEND, 0660) = 12

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/admin/initdg4msql.ora", F_OK)

    2796 write (12, "2013-SEPT-11 15:02:44 * (CONNECT_"..., 175 ")")

    9564 <... access="" resumed="">) =-1 ENOENT (no such file or directory)

    2796 <... write="" resumed="">) = 175

    2796 close (12

    9564 brk (0x14a3000) = 0x14a3000

    2796 <... close="" resumed="">) = 0

    2796 poll ([{fd = 8, events = POLLIN |}]) POLLRDNORM}, {fd = 11, events = POLLIN |} [POLLRDNORM}, {fd-=-1}, {fd = - 1}]-1, 4

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", F_OK) =-1 ENOENT (no such file or directory)

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", F_OK) =-1 ENOENT (no such file or directory)

    9564 statfs ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/", 0x7fff91f005b8) =-1 ENOENT (no such file or directory)

    9564 open ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", O_WRONLY |) O_CREAT | O_TRUNC, 0666) =-1 ENOENT (no such file or directory)

    => so that it always uses the database as Oracle_home House

    With this info, I rechecked the listener and saw that you are missing the ORACLE_HOME setting in the dg4msql section of SID. Please correct your entry to mssql_sid to:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = db.abc.com.tw)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = orcl)

    )

    )

    SID_LIST_mssql =

    (SID_LIST =

    (SID_DESC =

      (ORACLE_HOME = / u01/bridge)

    (SID_NAME = dg4msql)

    (ENVS = LD_LIBRARY_PATH = / u01/gateway/dg4msql/pilot/lib: / u01/gateway/lib)

    (Program name = / u01/gateway/bin/dg4msql)

    )

    )

    Then please stop and restart the mssql listener and check again.

    -Klaus

  • WebLogic 10.3 JNDI with SQL Server

    Hi friends, I am working on a project that requires a connection to MS SQL Server.

    I created a data source using the weblogic administration console and used "MS SQL Server Driver (Type 4) BEA Version: 7.0, 2000, 2005", (I chose a validation phase), and I am able to connect to the server database with any problem, and get the data. I was doing a few two or three operations that are needed at my request, after the completion of 5 or 6 calls to databases, it showed the error that

    * "SQLException: weblogic.common.resourcepool.ResourceLimitException: no currently available at the"testJDBCDataSource"pool resources to allocate to applications, please don't increase the size of the pool and try again... *"
    Although my pool size ' initial capability: "3," maximum capacity: 25 "," increase in capacity: "1."

    I've not found no problem in the code. We correctly close the connection where necessary.

    Before you create this data source, we used to connect to the database using the standard JDBC connection (type class.forName (...) of the code).

    When I started to create this, it worked very well for couple of transactions, but after awhile, it shows the error message above.

    Help, please

    Thank you very much
    Peter

    Connect to the variable method level, so if your application is
    running in multiple threads, you do not crush accidentally one
    connection with another, so without closing the first.

  • How to establish links of Labview with SQL server database Toolkit

    I'm a database newbie, but I have to use MS SQL server (2008) to store my data. I am well equipped with all the features of Labview, don't know how to use it properly. I now complete development, including the toolbox database. My latest version of labview is 8.6.1. Side material, I have cFP2220 and many modules of differnet kind.

    Here is a useful link that I found on the web:

    1. I got the database creation procedure (pdf file) to link the udl.

    http://decibel.NI.com/content/docs/doc-4602

    It gives a step-by-step login procedure to MS Access, and I'm able to save data to MS Access with the database Toolbox. However, I could not understand how to establish a chain of connection or udl to SQL server. In other words, I hope someone can explain in detail what is the procedure to set up such a link.

    2. I learned about the forum that there is a LabSQL, but it takes some knowledge of SQL statement. I would walk away from him, as I am not familiar with SQL.

    3. the VI I used for the recording of data in DB are very similar to "Create database Table.vi" found in the sample.

    In short, I think that I just need someone who has experience with the connection to the server SQL with Labview to show me the steps to link to SQL.

    Thank you very much

    You may not create a database in SQL Server using the control panel ODBC or a UDL. You must create a database by using SQL Server tools. (In fact, you can use SQL statements to create a database, which is what's really going on by using SQL Server tools. However, I don't know if the database Toolbox has the screws required to send these types of SQL statements.). Once you have created the database you can create tables using SQL Server tools, or you can use the screw of toolbox database.

    You try to run SQL Server on your computer? SQL Server is usually running on a server. You try to use SQL Server Express?

    Assuming that you have SQL Server running and a database has been created, then here are the steps needed to create a UDL to connect:

    1. In Windows Explorer, create a text file and rename the text file so that there a .udl extension (like this PDF).
    2. Double-click the UDL file.
    3. Change to the tab 'supplier '.
    4. Select 'Microsoft OLE DB for SQL Server provider'.
    5. Click on the ' next > ' button. It changes you to the tab 'connection '.
    6. In the drop-down menu, select your SQL Server. If it is not listed, try clicking on the Refresh"" button. If this does not meet the list, then you will need to enter manually.
    7. In the section "#2" specify the authentication method and credentials, if necessary, to connect to SQL Server.
    8. In the section "#3" specify the database that will be used, which is the one that you created earlier using the SQL Server tools. NOT SELECT THE MASTER DATABASE. If you do, you will completely screw up your installation of SQL Server.
    9. Click "Test connection" to verify that you can connect to SQL Server.
  • Visual Studio 2013 interaction with SQL Server (localhost)

    Do a work for the College. I received a starting point in an application, scheduled to finish. Not a problem.

    The data source that is attached to the application points to the wrong server, and I can't for the life of change me where it points (SQL2008EXPRESS as opposed to my server which is simply SQLEXPRESS). I'm happy to just create a new data source and code, but there are already some table adapters in that I don't know how they are set up, and I can modify them to copy the information to move.

    I can't start my application because the data source cannot connect. I can't change the data source. I can't create a new data source.

    How should I proceed? My instructor has been of no help to the whole class... and gave a stupid answer to my question to him. Thank you.

    Jason

    SQL server and VS are beyond the scope of this site and should be asked on the Technet site

    http://social.technet.Microsoft.com/forums/en-us/home

  • SQL Express 2012 synchronization with SQL Server Azure

    I need to be able to periodically synchronize SQL Express 2012 running on the Surface to Azure SQL Server 2012.   Something special to know or do - because we want in synchronization with the server SQL Azure?

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en-us/SQLExpress/threads

  • Error with SQL server 2008 for migration of ODI 10 ODI 11 g g

    Hello

    I'm migrating ODI 10 g, 11 g with the Assistant provided by Oracle , but each time, I get the following message:

    [ODI] [INCIDENT_ERROR] [UPGCMP-00338] [update. Repository working ODI ODI] 'ODI_WORK' uses JDBC Driver "com.microsoft.sqlserver.jdbc.SQLServerDriver".

    [ODI] [INCIDENT_ERROR] [update. ODI] Cause: ODI work Repositoriry don't use default JDBC driver. Action: Please update connection ODI repository work to use default JDBC driver

    No idea how I could fix it?

    Concerning

    Jean

    Try user weblogic sql server driver

    Driver name: weblogic.jdbc.sqlserver.SQLServerDriver

    URL: jdbc:weblogic:sqlserver://hostname:port: [; property = value [,...]]

    The driver lib:wlsqlserver.jar

Maybe you are looking for