DBLINK FROM ORACLE9I ON WINDOWS TO CONNECT SQL SERVER 2005 ON WINDOWS 2003

Hello All,
please i will need help in connecting oracle9i via dblink to sqlserver 2005.
i have done some configurations already
* started the listener = which starts alright
* the tnsping was also successful
but i keep getting ORA-12154:TNS:could not resolve service name
this is my tnsnames
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
SIMREG.CORP.MULTI-TELKOM.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.11.185)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = simreg)
INST1_HTTP.CORP.MULTI-TELKOM.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.11.185)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA.CORP.MULTI-TELKOM.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Mtl_simcard =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=Mtl_simcard))
(HS=OK)
and my listener
# LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vic00246dt)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = simreg)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = simreg)
LISTENERMtl_simcard =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vic00246dt)(PORT = 1522))
SID_LIST_LISTENERMtl_simcard =
(SID_LIST =
(SID_DESC =
(SID_NAME = Mtl_simcard)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = hsodbc)
(SID_DESC =
(GLOBAL_DBNAME = simreg)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = simreg)
i also have the following in my D:\oracle\ora92\hs\admin
*inithsodbc
# 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 = Mtl_simcard
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
also initMtl_simcard
# 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 = Mtl_simcard
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
please is there any thing have done wrong please some should point out to me.....thanks, i will be looking forward to suggestions and recommendations

12154 means the alias you have defined for HSODBC specified in the database links using cluase can't be found in the tnsnames.ora. Most of your entries have the domain suffix .CORP.MULTI-TELKOM.COM - only the hsodbc alias misses this information.
Unfortunately you didn't post the SQLNET.ORA file which commonly contains the default domain parameter, so I can only suggest to change the alias to:
Mtl_simcard, Mtl_simcard .CORP.MULTI-TELKOM.COM = # note the comma between both aliases which allows you to use an alias with and without the domain
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=vic00246dt)(PORT=1522))
(CONNECT_DATA=(SID=Mtl_simcard))
(HS=OK)
You also didn't post the create database link statement but it should look like:
create database link <you link name> connect to "<case sensitive SQl Server UID>" identified by "<case sensitive PWD>" using 'Mtl_simcard';
=> the using cluase must refer to your tnsnames.ora hsodbc alias.
When it continues to fail, please post the tnsping command the the create database link statement.

Similar Messages

  • Problem when connecting sql server 2005 using SQL developer

    Hi,
    I installed Sql developer and I am trying to connect sql server 2005 using windows authentication. I had previously the SSO folder problem saying the path is missing in java.library.path. I copied the SSO folder into Sqldeveloper directory. I changed the settings under computer management->services and applications->sql server configuration manager->sql server 2005 network configuration ->protocols for sqlexpress->I enabled TCP/IP.
    Now I am getting an error saying "Failure-can not open user default database.Login Failed. Login failed for user ...".
    I am able to connect thru ODBC driver using windows authentication.
    Any help on this is highly appreciated.
    Thanks in advance,
    Lakshmi

    Hi Martin,
    Your solution has solved my problem too. Thanks for posting these workaround fixes :-)
    However, there seem to be a problem with datetime fields. The query:
    select getdate()
    returns something like: oracle.datetimestamp.@1aed4
    Is there a way to get around with this? Otherwise, using SQL Developer as a client for SQL Server doesn't serve the right purpose when we cannot access simple date fields :-)

  • Unable to connect SQL server 2005 databse with JSF applications !

    Hello guys!
    Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
    I tried for the basic applications but instead got this error:
    "unable to deploy jdbc drivers to the <project>domain/lib"
    Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
    Thank you guys!

    1) don't use the bridge driver
    2) don't do database access from JSF
    3) learn how to use your application server
    4) learn how to use your IDE

  • Error 1406 while installing SQL server 2005 on windows 2003 64 bit standard

    Hi Gurus,
    When I am trying to install SQL SERVER 2005 on Windows Serevr 2005 i get the error code 1406
    I tried using the script sql4sap.vbs. and tried to set the named instance.
    please suggest
    Please find the contents of the Summary.txt
    Microsoft SQL Server 2005 9.00.1399.06
    ==============================
    OS Version      : Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
    Time            : Mon Apr 14 14:51:07 2008
    Machine         : UKSAPTEST02
    Product         : .NET Framework 2.0
    Product Version : 2.0.50727
    Install         : Failed
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST02_.NET Framework 2.0.log
    Last Action     : InstallFinalize
    Error String    :Could not write value  to key \Software\Classes\.appref-ms
    Error Number    : 1406
    UKSAPTEST02 : There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information.
    SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt.
    Time            : Mon Apr 14 14:52:26 2008
    List of log files:
         C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST02_Core.log
    Many thanks
    Sreeram
    Edited by: sreeram kaki on Apr 14, 2008 6:12 PM

    Hi Clas,
    Thanks for the valuable suggestions,
    I tried to install the database (sql server 2005) using the local admin password on another server which do not have the antivirus installed. I started the installation at 3:15 PM today and the installation is still in progerss
    please see the log below from Summary.txt.
    Microsoft SQL Server 2005 9.00.1399.06
    ==============================
    OS Version      : Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
    Time            : Tue Apr 15 15:04:28 2008
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLSupport_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLNCLI_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server VSS Writer
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SqlWriter_1.log
    Machine         : UKSAPTEST01
    Product         : MSXML 6.0 Parser
    Product Version : 6.00.3883.8
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_MSXML6_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLSupport_2.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLNCLI_2.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server 2005 Books Online (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_BOL_1.log
    Machine         : UKSAPTEST01
    Product         : MSXML 6.0 Parser
    Product Version : 6.00.3883.8
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_MSXML6_2.log
    Also see the last few lines of the log file
    SQLSetup0001_UKSAPTEST01_SQL.log
    Action start 17:10:43: Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!50) [17:10:43:815]: PROPERTY CHANGE: Deleting Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '1 0 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    Action ended 17:10:43: Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <Func Name='ScheduleActionX'>
    <Func Name='SetCAContext'>
    MSI (s) (C0!50) [17:10:43:815]: PROPERTY CHANGE: Adding Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its value is '1 1 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    MSI (s) (C0!50) [17:10:43:815]: Doing action: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Action start 17:10:43: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!50) [17:10:43:830]: PROPERTY CHANGE: Deleting Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '1 1 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    Action ended 17:10:43: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <EndFunc Name='Write_sqlGroupMember' Return='0' GetLastError='0'>
    PerfTime Stop: Write_sqlGroupMember : Tue Apr 15 17:10:43 2008
    <EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
    MSI (s) (C0:F0) [17:10:43:830]: Doing action: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    Action ended 17:10:43: Write_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    MSI (s) (C0:50) [17:10:43:830]: Invoking remote custom action. DLL: C:\WINDOWS.0\Installer\MSI1D8.tmp, Entrypoint: Write_sqlUserSecurity
    Action start 17:10:43: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    <Func Name='LaunchFunction'>
    Function=Write_sqlUserSecurity
    <Func Name='SetCAContext'>
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Doing Action: Write_sqlUserSecurity
    PerfTime Start: Write_sqlUserSecurity : Tue Apr 15 17:10:43 2008
    <Func Name='Write_sqlUserSecurity'>
    <Func Name='ScheduleActionX'>
    <Func Name='SetCAContext'>
    MSI (s) (C0!34) [17:10:43:924]: PROPERTY CHANGE: Adding Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its value is '0 1 0 Setting User Security 50000 SQLServer2005SQLBrowserUser$UKSAPTEST01 SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeChan
    MSI (s) (C0!34) [17:10:43:924]: Doing action: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Action start 17:10:43: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!34) [17:10:43:924]: PROPERTY CHANGE: Deleting Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '0 1 0 Setting User Security 50000 SQLServer2005SQLBrowserUser$UKSAPTEST01 SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$
    Action ended 17:10:43: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <EndFunc Name='Write_sqlUserSecurity' Return='0' GetLastError='0'>
    PerfTime Stop: Write_sqlUserSecurity : Tue Apr 15 17:10:43 2008
    <EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
    MSI (s) (C0:F0) [17:10:43:940]: Doing action: Write_sqlFileSDDL.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    Action ended 17:10:43: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    MSI (s) (C0:10) [17:10:43:940]: Invoking remote custom action. DLL: C:\WINDOWS.0\Installer\MSI1D9.tmp, Entrypoint: Write_sqlFileSDDL
    Action start 17:10:43: Write_sqlFileSDDL.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    <Func Name='LaunchFunction'>
    Function=Write_sqlFileSDDL
    <Func Name='SetCAContext'>
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Doing Action: Write_sqlFileSDDL
    PerfTime Start: Write_sqlFileSDDL : Tue Apr 15 17:10:43 2008
    Thanks & Regards,
    Sreeram
    Edited by: sreeram kaki on Apr 15, 2008 6:45 PM

  • How to enable high availability on SQL Server 2005 with Windows Server 2008 Enterprise R2

    Dear Folks,
    I would like to ask you about this thing. I'm working for IT department for bank in Myanmar. Our bank have up to 96 branches across all of Myanmar including H.O. We are using Microsoft SQL Server 2005 with Windows Server 2008 for our banking
    information system. My main problem is having to backup and restore the database backup files every time the servers in branches goes down for whatever reasons. I want to deploy this feature of high availability and failover cluster using Windows Server 2008
    and SQL Server 2005. Our branches have 2 Servers. One is for Primary and other is for Backup. What I want to do is that, I want to change Backup Server to Primary Server whenever the Primary Server goes down for whatever reasons. All the working data and databases
    from Primary will immediately replicated into Backup Server along with all the IP information of Primary Server. Please give me step by step guide for this process.

    Try below
    http://blogs.msdn.com/b/cindygross/archive/2009/10/23/checklist-for-installing-sql-server-2005-as-a-clustered-instance.aspx
    I will recommend you to upgrade SQL server to newer version for support as well as flexibility.
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • DB Connect from BW on Oracle to MS SQL Server 2005

    Hello,
    I am having issues replicating Meta-Data from SQL server databases via DBCONNECT to SAP BW.
    For instance we have the CCM DB and the Siebel DB.  We can transfer meta-data from CCM with no problem (SQL Server 2000) but we cannot transfer meta-data from Siebel (SQL Server2005).
    Our SAP BW is system is on an Oracle database.
    CCM is on OS Win 2003. SQL 2000 SP4.
    Siebel is on Win 2003 Server Enterprise 5.2 and SQL Server 2005 SP2.
    I already have the dbsl for SQL server installed in the BW system. When I do a Connection Check of the source systems in RSA1, it says "Source system connection OK".
    Any help will be highly appreciated.
    Thanks,
    Ajay

    Hi,
    I don't think the 32 vs. 64 bit is the issue. Have you tried checking OSS note: 512739. It describes the prerequisites for accessing MS SQLServer via DB Connect. Normally problems occurs due to unsupported data types being used in SQLServer - in such cases you have to create views in the source system and then use these views instead of the actual database tables. In the view you can perform the necessary data type conversion.
    Hth,
    Jacob

  • Connect SQL Server 2005 from 10g-PLSQL  - Possible???

    Hi Friends, I am getting so many errors while doing SQL Server 2005 conversion from SQL Developer. SQL developer version 1.2 is very bad, so I downloaded version 1.5. Still so many errors.
    SQL Server2005 to Oracle 10g R2
    Migration workbench was working fine in 8.17.

    Some issues with SQL Developer.
    Ex: if sequence is there, it is not dropping and creating again. Even though I created new fresh schema, still I am getting the same error.

  • 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

  • Transfer data from two oracle version to one sql server 2005

    Hi,
    I have two database servers on different machines. They are
    1) Oracle 8.1.7.4
    2) Oracle 7.3.1.4
    I have to create agents which can transfer tables from these two databases to one machine having sql server 2005 database.
    Please tell me what are the options. What drivers i need to install on machine having sql server 2005 so that i can transfer data from both oracle versions.
    Thanks
    Rajneesh.

    Your Oracle databases are so old you might want to look around and see if you can find dinosaur bones near by.
    Given the differences in data types between Oracle and SQL Server I'd suggest you start off by dumping the data into delimited ASCII files and then loading it using whichever SQL Server tool you wish.

  • Get an image from a varbinary field in an SQL Server 2005 database

    Hi:
    In a varbinary(MAX) field of an SQL Server 2005 database I
    storage JPG images. I design a webservice that returns the
    following XML structure:
    Public Class IMAGEN
    Public ErrorConsulta As Long
    Public Imagen As Byte()
    End Class
    The response look like this:
    <FLEXOBTENERIMAGENResponse>
    <FLEXOBTENERIMAGENResult>
    <IMAGEN>
    <ErrorConsulta>0</ErrorConsulta>
    <Imagen>/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgH....</Imagen>
    </IMAGEN>
    </FLEXOBTENERIMAGENResult>
    </FLEXOBTENERIMAGENResponse>
    Where the node Imagen are thousands of caracters that
    represents the JPG image.
    How can I show this JPG in an Image control of a Flex Builder
    2 or 3?
    If you need more information please let me know.
    Thanx in advance.

    Assuming that you have text fields storing the Y N then on
    the output you
    have a code block like this
    <%
    If recordset.fields.item("wheelchair").value = "Y" then
    %>
    <img src="images/wheelchair.gif">
    <%End if%>
    However is your field is set to be a Yes/No type then the
    best way is to
    write the test like this
    If recordset.fields.item("wheelchair").value = TRUE then
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Lancs" <[email protected]> wrote in message
    news:e6srl5$jul$[email protected]..
    > Using ASP/VBscript and Access
    > I'm making a page that dislays a listing of
    organisations (using Repeated
    > Regions) concerned with disabilities. I want to use
    images for symbols
    > that
    > indicate whether, for example, an organisation uses
    textphones, has
    > wheelchair
    > access, and the like. I'm using a form to add new
    records to the database.
    > I
    > want the form to allow users to select the applicable
    symbols using
    > checkboxes.
    > What code will allow the listing page to interpret a Y
    value as an image
    > path
    > and ignore a N value.
    > Thanks
    >

  • Failing to connect SQL Server 2005 from SAP

    I'm trying to connect SQL database to write some data to an external sql table. But it's failing giving below message,
    Error Message returned from "ADBC_TEST_CONNECTION" program:
    Testing a Database Connection Defined in DBCON        
    Could not open connection EACT_MESSAGES               
    sql error          1- occured:                        
    Login timeout expired                                                                               
    I can connect from .NET Applications using the same connection string configuration.
    What could be the reason for this.
    Do I need to enable some service for this in SQL server. I have enabled all possible SQL related services.
    But still no luck.

    I found a solution..
    Instead putting the server name, used IP address which is static. that solved the issue.

  • Connect Oracle 10g and OWB to SQL Server 2005 in Windows XP

    I am unable to create a working connection between Oracle 10g and a SQL Server database. I have followed the instructions in several sources, but when I attempt to connect to the MSSQL database through SQL Plus or SQL Developer, I get the ORA-03135 error. I set up a non-Oracle location in OWB and the connection test was successful but the metadata would not import. Creating an Oracle location with the same parameters produced the ORA-03135 error.
    In TNSNAMES.ORA I placed the following definition:
    MSSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wgilt1.hsd1.nj.comcast.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MSSQL)
         (HS = OK)
    In LISTENER.ORA I placed the following in the SID_LIST_LISTENER:
    (SID_DESC =
    (SID_NAME = MSSQL)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = hsodbc)
    The inimssql.ora file contains the following:
    HS_FDS_CONNECT_INFO = MSSQL
    HS_DB_NAME = MSSQL
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = c:\hs_fds_mssql.log
    What is missing?

    could be a copy paste issue, but please make sure the tnsnames.ora has at least on space in from of each line after the alias.
    In addition what is the listener status? Please post the output of lsnrctl status <listener name>.
    Need to know also the output of: C:\oracle\product\10.2.0\db_2\bin\hsodbc

  • Insert data from table on ORACLE to table SQL SERVER 2005

    I need to load a table in SQLSERVER 2005 1/day and that table are in ORACLE10gR2. What possibilities i can use to do it?
    Someone have some doc about configurations?
    tks,
    Elber.

    Hi, take a look on this AskTom's article. It helps me a lot:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206Paulo.

  • Connect SQL Server 2012 from Windows Server 2003 with native client 9.0

    Hi,
    I currently have a setup where ETL tool Ab Intio, running on a Linux server, connects to the SQL Server 2005 through a passthrough Wintel server with Windows Server 2003 OS using SQL server native client 9.0
    Now I have the requirement to upgrade the SQL server from 2005 to 2012.
    My question is, will it be possible to connect to SQL server 2012 through Windows Server 2003 with native client 9.0?
    As per the specs, I need native client 11.0+ to fully support SQL Server 2012, but then, as per specs, native client 11.0 doesnot run on Windows server 2003. OS upgradation is currently not on the cards.
    So will it be possible to the run the basic queries we use currently, if we can connect SQL server 2012 through Windows Server 2003 with native client 9.0/10.0, without updgrading the OS of the Wintel server?
    Thanking you in advance! 

    Hi Soumya,
    Yes, you can use the SQL Server Native Client shipped with SQL Server 2005 to connect to a SQL Server 2012 instance, and there is no need to upgrade the operating system.
    Regards,
    Mike Yin
    TechNet Community Support

  • 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

Maybe you are looking for