10 gr 2 ODBC 64-bit Windows 2008 EE (64-bit) to sql server 2005 (32-bit)

Hi all, I have a problem with the creation of a 10 g 2 64 bit Windows 2008 ODBC connection to sql server 2005 Windows 2003 32-bit

1. I create a listener.ora following the 1521 port is for oracle DB and the 1522 is for sql server
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(= Extproc PROGRAM)
)
)

SID_LIST_HSODBC_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = hsodbc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc)
)
)

HSODBC_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = localhost))
)
)

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

2. my tnsnames.ora resembles

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

HSODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp (PORT = 1522))(HOST=localhost))
(CONNECT_DATA = (SID = HSODBC))
(HS = OK)
)

3. I created an inithsodbc.ora like that
HS_FDS_CONNECT_INFO = hsodbc
HS_FDS_TRACE_LEVEL = 0

4. I have also set up the dns system and successfully tested.

5. my link of database look like
CREATE public DATABASE LINK "hsodbc.
CONNECT to 'sysdba' IDENTIFIED BY 'masterkey' USING 'hsodbc. "

6. when I run my select I get the following error
Select * from dual@hsodbc
*
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 HSODBC

7. I look and the journal of listener_hsodbc
April 14, 2011 08:14:49 * (CONNECT_DATA = (SID = HSODBC) (CID = (PROGRAM =) (HOST = DOMAINSERVER\SERVER_PRO)(USER=Administrator))) * (ADDRESS = (PROTOCOL = tcp (PORT = 51749))(HOST=127.0.0.1)) * establish * HSODBC * 12518
TNS-12518: TNS:listener could not hand off client connection
AMT-12560: TNS:protocol adapter error
AMT-00530: Protocol adapter error
Windows 64-bit error: 2: no such file or directory

You have defined 2 separate listeners:
The first is called listener and uses port 1521 which contains the DG4MSQL entry in the SID_LIST_LISTENER. The second listener is called LISTENER_D4GMSQL and is listening on port 1511 - but this listener has no section of SID.

Your tnsnames.ora contains as port 1511, so when you try to use the link data base based on tnsnames.ora alias dg4msql connection is made to the LISTENER_DG$ MSQL (as this one is listening on 1511). But this listener does not have the SID DG4MSQL and so the connection fails.

You can now change your configuration by editing the tnsnames.ora file by ensuring that you use the listening port that serves the DG4MSQL SID:

dg4msql =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
(CONNECT_DATA = (SID = dg4msql))
(HS = OK)
)

# SIDE NOTE: Make sure the LISTENER named listener has been started and serves the SID DG4MSQL

or by modifying your listener.ora file name change
SID_LIST_LISTENER to SID_LIST_LISTENER_DG4MSQL
Afterwards please, STOP and START the utility LISTENER_DG4MSQL lsnrctl listener.

Tags: Database

Similar Questions

  • Microsoft Visual c ++ 2005, 2008,2010 programs. Downloaded SQL server 2005 compact edit, Mgmt 2008 and 2008. NAT Client. Is ok with the Windows Vista Ultimate system. I use 32 bit x 86 o/s?

    Can I run all these programs with Vista Ultimate 32 bit x 86 o/s? "Should I delete some of these programs and who?

    Thanking you in advance
    E-mail address is removed from the privacy *.

    Microsoft Visual C++ 2008 Redistributable Package (x 86) installs runtime components of Visual C++ libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008.

    Check this: http://en.wikipedia.org/wiki/Visual_C%2B%2B

  • update of sql server 2005 service pack 3 error code 6D9E Windows update security does not accept the update

    update of sql server 2005 service pack 3 error code 6D9E Windows update security does not accept the update

    Hey lasdj,

    Thanks for posting in the Microsoft answers site!

    If you receive Windows Update error 6d9e while installing SQL Server 2005 Service Pack 3 by using Windows Update, it means that the installation folders and directories are compressed or encrypted.

    To fix this problem, make sure the folder locations where you are installing the service pack to aren't compressed or encrypted, or specify a different folder and then run Windows Update again.

    Therefore, remove the compression of the DATA directory and run together to the top again.

    Remove compression from the C:\Program Files\Microsoft SQL Server folder and see if you are able to install the updates without any problem.

    See the links below for more details:

    Windows Update error 6d9e
    http://Windows.Microsoft.com/en-IE/Windows-Vista/Windows-Update-error-6D9E 

    Install SQL Server 2005 and 2008 failures (compressed DATA directory)
    http://blogs.msdn.com/psssql/archive/2009/02/24/SQL-Server-2005-and-2008-Setup-failures-compressed-data-directory.aspx

    I hope this helps!
    Gokul T - Microsoft Support

  • SQL Server 2005 + SP3 is supported on a Windows 2008 + Server SP2. Is there a link that specififcally States this?

    Hello

    Is there a link that indicates that the SQL 2005 SP3 is supported on Windows 2008 SP2?

    I can find a link that indicates that SQL 2005 SP2 is supported on Windows 2008 SP1 (http://www.microsoft.com/Sqlserver/2005/en/us/system-requirements.aspx). But I want to make sure that you document somewhere that Windows 2008 SP2 is also supported.

    See you soon
    Tim

    http://www.Microsoft.com/windowsserver2008/en/us/forums-blogs.aspx

    Try the repost in the above Forums Windows Server 2008.

    See you soon.

    Mick Murphy - Microsoft partner

  • Windows Live Photo Gallery requires SQL Server 2005. Can I use SQL Server 2008?

    I wanted to try the windows photo gallery live which is installed with my new laptop windows 7. I recently installed SQL Server 2008 and had removed the installation of SQL Server 2005 because I didn't both there because I'd only use 2008. but I didn't know that the 2005 version required windows live photo gallery. is there a way so that it can use the existing version of 2008 so I did not reinstall 2005? Thank you!

    Hello.

    The question you have posted is related to Windows Live Photo gallery and would be better suited to the Windows Live community. Please visit the link below to find a community that will provide the support you want.
    http://social.answers.microsoft.com/Forums/en-SG/wlmedia/threads.
     
    It will be useful.
     
    Thank you and best regards,
     
    Srinivas
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • SQL server 2005 cannot be installed on windows 7 64 bit

    -microsoft sql server 2005 Enterprise edition

    -windows 7 Enterprise 64-bit, 2 GB of ram, processor 2 GHz and 3.6 side

    warning of the edition of sql - server edition operating system messages

    -

    -SQL Server Edition operating system compatibility (warning)

    -all the other features of the installation cannot be activated they are gray, only the workstation components, books online and development tools can be activated.

    What could be the problem?

    SUPPORT IS LOCATED IN THE SQL SERVER FORUM:
    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

  • Microsoft update as kb955706 for Sql server 2005 for visual Studio 2008 on windows 7 fails repeatedly.

    I received this error message;  Update error code received Windows 24 - 2 c.

    Try to re-post in the SQL Server Setup & Upgrade forum for appropriate assistance: http://social.msdn.microsoft.com/forums/en-US/sqlsetupandupgrade/threads/

    SQL Server 2005 Setup fails when MSXML Core Services 6.0 Service Pack 2 is already installed:
    http://support.Microsoft.com/kb/968749

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • SQL Server 2005 unattended install using the script fails on Windows 2003 Cluster

    We strive to perform the installation without SQL Server 2005 via the script assistance, but the installation fails on Windows 2003 Cluster, we use Windows 2008 with HyperV running a DC with two nodes (all Win 2003). Script is...

    Start/wait setup.exe/qb VS = INSTALLVS SQLTEST = SQL_Engine INSTANCENAME = SQL123 ADDLOCAL = SQL_Engine ADDNODE = sqlnode-1, sqlnode-2 GROUP = SQL1 IP = 192.168.1.85, SQLNetwork ADMINPASSWORD = Windows8! SAPWD = Windows8! INSTALLSQLDIR=%ProgramFiles%\Microsoft SQL Server\ INSTALLSQLDATADIR = G:\SQLDATADIR\ SQLACCOUNT = SQLPASSWORD lab\sql_svc = Windows8! AGTACCOUNT = lab\sql_svc = Windows8 AGTPASSWORD! SQLBROWSERACCOUNT = SQLBROWSERPASSWORD = Windows8 lab\sql_svc! SQLCLUSTERGROUP = "lab\sql_grp" AGTCLUSTERGROUP = "lab\sql_grp" FTSCLUSTERGROUP = "lab\sql_grp" ERRORREPORTING = 1 SQMREPORTING = 1 SQLCOLLATION = SQL_Latin1_General_CP1_CI_AS

    Errors on the nodes:

    SQLSetup0008_SQLNODE1_Core (Local)

     Running: InstallSqlAction to the: 4/14/2012 22:56:39

    Installation: sql on target: SQLNODE1

    Waiting for remote setup (s) to prepare

    Remote Setup (s) is ready

    Problem of determining the State of the virtual server for the package: '1' because of the exception of data store:

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 63

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

    Could not find the property 'VsDataPath' {'PackageIdStateScope', ' ', '1'} in the cache.

    Source the name of the file: datastore\packageidstatescopecollector.cpp

    Compiler timestamp: Wed Aug 24 13:40:04 2005

    Function name: PackageIdStateScopeCollector::collectProperty

    The source line number: 115

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

    dataPathValue is empty

    Cluster functionality detected: SQL_Engine

    Loaded DLL:C:\Program SQL Server\90\Setup Bootstrap\sqlsval.dll Version: 2005.90.1399.0

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 130

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

    Unable to find property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"} in the cache

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: VirtualServerInfo.IPResources

    The source line number: 113

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

    Could not collect the property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"}

    Transact package threw an exception.

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    Package first notify: 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    SQLSetup0008_SQLNODE2_Core (Local)

     

    Local configuration can complement

    Running: InstallSqlAction at: 4/2012/14 23:23:57

    Installation: sql on target: SQLNODE2

    Informs the package is ready to start: 0

    Waiting for notification start installation

    Local configuration can begin installation

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: remotepackageengine\remotepackageinstallersynch.cpp

    Compiler timestamp: Wed Aug 24 13:40:17 2005

    Function name: sqls::RemotePackageInstallerSynch:preInstall

    The source line number: 128

    ---- Context -----------------------------------------------

    SQLs::InstallPackageAction: perform

    SQLs::RemotePackageInstallerSynch:preInstall

    Abandonment of the package: "sql", due to an error from the configuration of the host: 13

    Notify all ready to commit: 13

    Notify all ready to put end to: 13

    Waiting for notification complete installation

    Local configuration can complement

    Packaging return code: 13

    Complete: InstallSqlAction at: 4/2012/14 23:23:59, returned false

    Error: The 'InstallSqlAction' Action failed during execution.  Error during execution information:

    Target collection includes the local machine.

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

    Error: The 'UninstallForRS2000Action' Action failed during execution.  Error during execution information:

    Action: "UninstallForRS2000Action" will be marked as failed due to the following condition:

    The condition 'rs has been correctly upgraded level.' returned false.

    Package installation: 'patchRS2000' failed due to a precondition.

    Running: ReportChainingResults at: 4/2012/14 23:24:1

    Error: Action "ReportChainingResults" threw an exception during execution.

    One or more packages could not be installed. See logs for details of the error. : 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\sqlchainingactions.cpp

    Compiler timestamp: 1 Thu Sep 22:23:05 2005

    Name of the function: sqls::ReportChainingResults: perform

    The source line number: 3097

    Please notify.

    Assani

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512923

    Hope this information helps.

  • 7 Microsoft SQL Server 2005 Express Edition SP3 (KB955706) __Pour Windows 7 "Windows Update_0000041D" "Windows Update_dt000".

    Not udating error 41 d Windows 7 Professional "Windows Update_0000041D" "Windows Update_dt000 SQLEXPR32. Article from the Base of the 955706 EXE

    Please help to States, it is essential to have this udated

    Hi RTsheba,

    Your computer is on the field? If so, you probably haven't privileges to download and install Microsoft SQL Server 2005 Express Edition Service Pack 3 (KB955706)

    In most cases, these errors are caused by temporary problems caused by very slight interruptions in communications between the computer to update and the update to download. These questions are usually self-healing. So, before you try the troubleshooting, I suggest you follow the suggestions below.

    Suggestion 1:

    Temporarily disable all security software and try to download the update. Follow the steps mentioned below

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-Firewall-on-or-off

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Allow all security software after downloading and installing the update.

    Windows update General troubleshooting

    The following describes how do to stop the services related to the update of Windows, rename system folders, save the associated DLL files and then restart the services mentioned previously. This diagnosis is generally applied to all Windows Update related issues.

    Suggestion 2:

    Stop Windows Update services

    1. click on start, click principally made programs, accessories, right-click on command prompt and select run as administrator.

    2. If you receive a user account control notification simply click on continue.

    3. at the command prompt, type the following commands and press ENTER after each command.

    net stop wuauserv
    net stop bits

    net stop cryptsvc

    4 Please, do not close the command prompt window.

    Proposal 3:

    Rename Windows Update records

    1. at the command prompt, type the following commands and press ENTER after each command:

    2 ren %systemroot%\System32\Catroot2 Catroot2.old

    3 ren %systemroot%\SoftwareDistribution SoftwareDistribution.old

    4 Please, do not close the command prompt window.

    Aziz Nadeem - Microsoft Support

  • Windows Update continually wants to install Sql Server SP3...

    I have a 64-bit system running Sql Server 2005 (64-bit) and Sql Express (it seems that it is 64-bit).
    Windows Update said I needed sp3 for both versions, but after making a stop, I always get the message that he wants to apply the service pack.

    I went out and manually d / edition and installed the service pack for both servers, but Windows Update is not in agreement that the service pack is applied.

    This makes my machine windows 7 have a stop for 5 to 10 minutes every time because it's think it's to apply the service pack.

    Someone please tell me how to stop that!

    Perhaps you could find/post here:

    SQL Installation of Server & upgrade
    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/ TaurArian [MVP] 2005-2010 - Update Services

  • SQL server 2005 and 2008

    I had SQL server 2005 and 2008 running on windows XP Professional SP3 PC but uninstalled mistakely version 2005. Now I try to install it back, but I get the error message that my WMI configuration does not allow it.  What should I do to fix this?

    ASK THE QUESTION IN THE SQL SERVER FORUM:
    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

  • Update Windows SQL Server 2005 Express Edition cannot install KB2463332

    I use Windows XP Professional and I'm unable to install the most recent Windows Update KB2463332 for Windows SQL Server 2005 Express Edition SP4

    I am able to download... but when it runs the installation of locks.  Microsoft has released about 7 updates recently and I was able to install all except KB2463332

    Why this update lock on installation?

    Thank you!

    Hi BarbE52,

    1. you receive messages or error codes?

    2. have you tried to install the update manually?

    Method 1:

    You can read the following article and try to reset the Windows Update components and check.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Method 2:

    You can try to download and install the standalone update package.

    a. download the update from the Microsoft Download Center:

    http://www.Microsoft.com/downloads/en/

    Also check out the link:

    How to obtain the latest service pack for SQL Server 2005

    http://support.Microsoft.com/kb/913089

    b. double-click on the downloaded file.

    c. you can either click Run to start the installation or you can click on save and save it on the desktop and run the installation once the update is completely downloaded.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Error code: 0x65B try installing Windows SQL Server 2005 Service Pack 4 (KB2463332)

    I'm running Windows XP Professional... for some reason that I can't install the new update for SQL Server 2005 window, SP4.

    What I am doing wrong?

    Thank you... Barb

    Try the experts here:

    SQL Installation of Server & upgrade
    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/

    TaurArian [MVP] 07/01/2005-30/06/2011. The information has been provided * being * with no guarantee or warranty. What works for some, may not always work for others.

  • Windows Update - a security update to the SQL Server 2005 Service Pack 3 (KB970892)

    How to install Windows Update security for the SQL Server 2005 Service Pack 3 (KB970892) when he continually fails to install.

    Provide as much information as possible and try this forum.

    The SQL Server installation & set program at level
    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/ TaurArian [MVP] 2005-2010 - Update Services

  • I'm Zenith one 733F error Code when I try to install Windows Vista update to SQL Server 2005 (Service Pack 2 KB970895).

    I'm Zenith one 733F error Code when I try to install the latest Windows Vista Update, which is an update to SQL Server 2005 (Service Pack 2 KB970895).  This update has failed several times now.

    I followed the advice given in a separate post in this forum at Ramer49 to perform a selective startup with msconfig to try to run the update with all Microsoft Services disabled.  This does not solve the problem.

    I spent reviewing the logfile under C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB970895_sqlrun_sql.msp.log.  The problem highlighted is that the Services of Services SQL2005 database program did not start.  Here is an excerpt from the log file...

    Product Installation status
    Product: SQL Server Database Services 2005 (MSSMLBIZ)
    (Previous) product version: 3077
    Version of the product (Final):
    Status: failed
    Log file: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB970895_sqlrun_sql.msp.log
    SQL Express features:
    Error number: 29503
    Error description: error MSP: 29503 The SQL Server service could not start. For more information, see the

    I tried to run the problem file (SQL Server MSSMLBIZ) directly by using the Windows administrative tool, but the file does not seem to start successfully.  Event Viewer log contains an error with event ID = 823.

    I don't know what to do next.

    Can someone help me?

    Thank you.

    Take a look at this link as it covers a way to fix this problem. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for