Getting ORA-12518 error with DG4ODBC for link with SQL Server

Hi all,
We have recently upgraded a test box to 11g2 on a 64bit windows platform and now when setting up our database links with our sql servers we are recieving an 'ORA-12518' error.
listener.ora
LISTENERPCIS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WILTS-ORCL4)(PORT = 1522))
SID_LIST_LISTENERPCIS =
(SID_LIST =
(SID_DESC =
(PROGRAM = dg4odbc)
(SID_NAME = PCIS)
(ORACLE_HOME = c:\oracle\product\11.2.0\db_1)
tnsnames.ora
PCIS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = WILTS-ORCL4)(PORT = 1522))
(CONNECT_DATA =
(SID = PCIS)
(HS = OK)
Any help appericated
Cheers
David

C:\Users\administrator.ADMIN>tnsping pcis
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-JUN-2
010 20:55:29
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\ORACLE\PRODUCT\11.2.0\DBhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
t)(PORT = 1522)) (CONNECT_DATA = (SID = PCIS)) (HS = OK))
OK (0 msec)
C:\Users\administrator.ADMIN>lsnrctl status LISTENERPCIS
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-JUN-2010 20:55
:47
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
STATUS of the LISTENER
Alias listenerpcis
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 24-JUN-2010 20:55:17
Uptime 0 days 0 hr. 0 min. 30 sec
Trace Level admin
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\ORACLE\PRODUCT\11.2.0\DBhome_1\network\admin\listen
er.ora
Listener Log File c:\oracle\product\11.2.0\diag\tnslsnr\WILTS-ORCL4\listenerpcis\alert\log.xml
Listener Trace File c:\oracle\product\11.2.0\diag\tnslsnr\WILTS-ORCL4\listenerpcis\trace\ora_12216_2424.trc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
Services Summary...
Service "PCIS" has 1 instance(s).
Instance "PCIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\administrator.ADMIN>dg4odbc
Oracle Corporation --- THURSDAY JUN 24 2010 20:55:54.257
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for ODBC
C:\Users\administrator.ADMIN>

Similar Messages

  • ORA-28545: error diagnosed by Net8  for DG4ODBC for link with SQL Server

    Database: 11.2.0 Windows 32-bit (on WindowsXP SP3)
    ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
    GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
    odbc : sqlserver (working... i can import table's data in MS Excel) its ok...
    D:\Oracle\Product\11.2.0\dbhome\hs\admin\initsqlserver.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = sqlserver
    HS_FDS_TRACE_LEVEL = 0
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\listener.ora
    # listener.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl)
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\Oracle\Product\11.2.0\dbhome\bin\oraclr11.dll")
    (SID_DESC=
    (SID_NAME=sqlserver)
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    (PROGRAM = dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
    ADR_BASE_LISTENER = D:\Oracle\Product\11.2.0\dbhome
    Listener Status
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.20.0.32)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 30-SEP-2011 11:13:53
    Uptime 0 days 0 hr. 0 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\Oracle\Product\11.2.0\dbhome\network\admin\listener
    .ora
    Listener Log File d:\oracle\product\11.2.0\dbhome\diag\tnslsnr\stylo-dba
    \listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Service "sqlserver" has 1 instance(s).
    Instance "sqlserver", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    sqlserver =
    (DESCRIPTION=
         (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521))
    (CONNECT_DATA =
    (SID=sqlserver))
    (HS = OK)
    TNS PING Restult
    C:\Documents and Settings\Administrator>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-SEP-2
    011 11:15:47
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    D:\Oracle\Product\11.2.0\dbhome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PO
    RT=1521)) (CONNECT_DATA = (SID=sqlserver)) (HS = OK))
    OK (50 msec)
    C:\Documents and Settings\Administrator>
    Database Link
    create database link sqlserver connect to uoracle identified by uoracle using 'sqlserver';
    SQL>
    SQL> select from sysobjects@sqlserver*
    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 DG4ODBC
    SQL>
    Waiting for help. What thing im missing.....

    Hi Naeem,
    You have said the install setup is -
    ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
    GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
    but in the listener.ora you have set ORACLE_HOME for the gateway as -
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    To use DG4ODBC installed in the 'tg' ORACLE_HOME then you should configure a listener in the gateway OH -
    D:\Oracle\Product\11.2.0\tg\network\admin
    and start this listener. This listener will need to use a different port from the RDBMS listener in the other OH.
    Change the gateway tnsnames.ora entry used by the RDBMS to reflect this port change.
    One other point - SQL*Server is case sensitive so you may need to create the database link as -
    create database link sqlserver connect to "uoracle" identified by "uoracle" using 'sqlserver';
    if the user/password are defined in lower case in SQL*Server.
    Also, the same for object names depending on the SQL*Server configuration -
    select "column_name" from "owner"."table_name"@sqlserver ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 30, 2011 8:12 AM

  • Getting ora-00900 error when calling the procedure with the dynamic sql.

    create or replace procedure dyn_update(tab in varchar2,col in VARCHAR2) as
    BEGIN
    execute IMMEDIATE 'update'||tab||'set'||col||'= 0 where order_id=2458';
    end;
    and when i call this procedure in sql developer or sql* plus using
    begin
    dyn_update('Orders',Order_status');
    end;
    I am getting the oracle 0ra 00900 error.
    can any one please help me

    just a tip:
    Create your dynamic string in a local variable, so you can easily see why it is giving an exception
    create or replace procedure dyn_update(tab in varchar2,col in VARCHAR2) as
       str varchar2(32767);
    BEGIN
       str := 'update '||tab||' set'||col||'= 0 where order_id=2458';
       dbms_output.put_line (str);
      execute IMMEDIATE str;
    end;

  • Getting ORA-01429 error while changing character set

    When I am changing character set from WE8DEC to AL32UTF8, I am getting ORA-01429 error
    SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8 ;
    ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces

    Chockalingam wrote:
    I am using above steps as per oracle doc only.
    http://docs.oracle.com/cd/B10500_01/server.920/a96529/ch10.htm
    No, you are not.
    - You are not using the correct version doc vs. Oracle server version. Try to find the same suggestion in the relevant doc.
    - The doc you reference specifically says "... it can be used only under special circumstances. The ALTER DATABASE CHARACTER SET statement does not perform any data conversion, so it can be used +if and only if the new character set is a strict superset of the current character set+." (emphasis is mine)
    You do not have a strict superset.
    - Also the special clauses you have used are not documented - for a reason.
    Please edit your posts above to remove the ill-advice (steps with internal use only clauses) that does not belong on a forum.
    Edited by: orafad on Mar 16, 2012 9:47 PM

  • ORA-01841 Error when value for date col is NULL in .dat (using SQL Loader)

    Hello Gurus,
    I have some data in .dat file which needs to be loaded into oracle table. I am using SQL * Loader to do the job. Although "NULLIF col_name =BLANKS" works for character datatype, but when value for date col is NULL then I get ORA-01841 error. I have to make NULL for all rows withour value for date column
    Early reply will be highly appreciated
    Farooq

    Hi,
    May be this problem is not with the NULLIF. The value for the date column is not in proper date format.
    create table:
    create table kk (empno number, ename varchar2(20), deptno number, hiredate date)
    Control file:
    LOAD DATA
    INFILE 'd:\kk\empdata.dat'
    insert into TABLE kk ( empno position (1:2) integer external,
    ename position(4:5) char NULLIF ename=BLANKS,
    deptno position (7:8) integer external NULLIF deptno=BLANKS,
    hiredate position (10:20) date NULLIF hiredate=BLANKS)
    data file:
    10 KK 01-jan-2005
    20 10
    SELECT * FROM KK;
    EMPNO ENAME DEPTNO HIREDATE
    10 KK 01-JAN-05
    20 10
    Verify the data file.
    Hope it will help

  • When installing itunes 10 uding windows xp I get the following error: "There is a problem with this Windows Installerpackage. A program run as part of the setup did not finish as expected. Contact your sipport personnel or package vendor." - any ideas?

    When downloading itunes 10 in windows xp, I get the following error "There is a problem with this Windoes Installer package. Aprogram run as part of the setup did not finish as expected. Contact your support personnel or package vendor." - any ideas on how to proceed?

    using MSICUU2.exe didn't help me.  But,  the new replacement app did:
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    I fixed my problem like this:
    Here's the deal - 
    1.  can you install itunes via the APPLE SOFTWARE updater?
    I couldn't  so I downloaded ITUNES and tried to install it that way.   Hence  I got the same error hang as you.  Nothing worked,  (Multiple attempts at uninstall reinstall,  stopping of Services,  Reg cleaners  etc..)
    2.  If answer is NO to #1 you must fixe the APPLE SOFTWARE UPDATE Program. 
    OK  so I couldn't find a Download for this.   But:  if you have WINRAR,  open the ITUNES.EXE and extract the APPLESOFTWAREUPDATE.MSI file.  Execute the APPLESOFTWAREUPDATE.MSI separately.   And you will not be able to install it and have a similar issue as per your Itunes install.   This of course leads you to believe that the Itunes.exe  install is also installing all of these components including the applesoftwareupdate silently.   It must BOMB at that portion of the install and you are done. 
    3.  Your goal now is to get the applesoftwareupdate installed.   How do you do this.  Well -  here is what I did.
      a.  downloaded and RUN a PC  Installer FIX it tool from Microsoft.  This is a replacement for the older MSI fixer they used to use.
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    b. It will list programs to attempt to fix.
      choose  AppleSoftwareUpdate.msi
    c. Once it is done,  then reinstall apple program updater using
    AppleSoftwareUpdate.msi
    Finally it should install since the Microsoft tool appraently fixed corrupted installation files in your registry for this application.
    (Please note:  that I also disabled any apple related services such as BONJOUR or IPOD DEvice RUN:  services.msc to get there -  although this man not be necesarry.)
    Hence Launch this APPLE UPDATE SOFTWARE (Click the ICON in your Start menu)  it should list ITUNES
    select ITUNES from here and it will update.
    KEY HERE is to ONLY UPDATE APPLE Stuff via the APPLE SOFTWARE UPDATE program.  If that program is not working fix it.  Then Bingo.
    I am sorry to see folks having this problem for weeks.  
    APPLE,   Spread the word.  PC's can get corruption in the registry on your product should the update be stopped or computer shut off during an update.  etc...   Please improve your software updater program to check for invalid registry upon launching the app.  This will prevent people thinking it is an APPLE issue.  It appears to be a problem on your PC's registry settings for the APPLE Software update.
    Bruno Ricci

  • Suddenly getting ORA-12514 error Oracle 11gr2

    I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
    My tnsnames.ora file:
    # tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_MYDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb.orcl)
    SE3 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = se3.orcl)
    LISTENER_SE3 =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    and my listener.ora file is as follows:
    # listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = G:\oracledb
    * i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

    Hi,
    Instead of this:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    have the following in your listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
       (SID_DESC =
          (SID_NAME = mydb)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
        (SID_DESC =
          (SID_NAME = se3)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
    localhost.
    Restart listener and try.
    Thanks &
    Best Regard,

  • HT2693 I am getting an 1015 error while updating Iphone 3G with latest iTunes pls help me to restore iPhone 3G

    I am getting an 1015 error while updating Iphone 3G with latest iTunes pls help me to restore iPhone 3G

    Try this and see if this helps http://support.apple.com/kb/TS3694#error1015

  • When I try to export a photo to my desktop I get the followiing error message "Export Versions Complete with Errors" any ideas why?

    when I try to export a photo to my desktop I get the followiing error message "Export Versions Complete with Errors" any ideas why?

    Have you tried to export different images as a test to see if it is related to the one you are getting the error on? Also try to export to a different folder other then the Desktop, again to see if the problem is connected to that folder.
    Another thing to do is run the Aperture Library First Aid on the library. Hold the option and command keys down while you start Aperture. First run the Permission Repair and see if that helps. If not quit Aperture and restart and run the Library Repair and try.
    Post back if you still have problems
    regards

  • Can i development program with EDK for uploading file to server?

    Can I development program with EDK for uploading file to server?How to avoid same name of files?
    Thanks!

    Hi ,
    thanks for the quick response.
    but the problem is supppose i have a excel sheet with 16 rows and 13 columns(so data).
    i am placing this file contents to appserver USING ABOVE fm.
    after that i am reading the file from appserver to create SO(idoc),i need  1row-3column data and 2row-2c data.like that.
    in unix we will get row data(after uploading to app server) as #mprn#2345# like this so easy to separate when reading.but in  MS NT OS 1row data getting stored in different rows in Appserver.so difficult to read.
    so the above mentioned FM is OS dependent or is there any way (any other FM) to get same kind of data in different OS.
    PLEASE SUGGEST OTHER WISE I NEED TO CODE BASED ON OS.
    REGARDS
    SARATH

  • Can anyone explain with senairio for textvariables with replacement  path?

    can anyone explain with senairio for textvariables with replacement  path?

    Hi
    your query contains 3 columns...
    column1(year executed by user) column2(year-1) column3(year-2).
    when user enter 2006 key figures headings should appear like this
    2006 2005 2004...
    How can you solve this??
    so create a text variable of replacement path..replace with object year..
    so you will get the above out put..
    you can concatenate like
    actuals 2006 actuals 2005 actuals 2004...
    Hope it clears...
    please assign points if useful
    Thanks
    Teja

  • Link to SQL Server fails

    Oracle: 11gR2 on Linux and tryed following the instructions found on (therefore some generic stuff inside the files):
    http://www.gotodba.com/install-and-configure-db-link-to-sql-server-database-in-linux.html
    Steps:
    Step 1
    Installed FreeTDS and configured /etc/unixODBC/odbc.ini with the following:
    [ODBC Data Sources]
    MYDB2=IBM DB2 ODBC DRIVER
    SQLDB=FreeTDS
    [SQLDB]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    #Driver = /usr/lib64/libodbc.so
    Server = 10.0.0.9
    Database = komspom_kanc
    Port = 3488
    TDS_Version = 8.0
    Afterwards I can successfully login to the SQL server using:
    isql -v SQLDB <userid> <password>
    Step 2
    Created the initSQLDB.ora file in $ORACLE_HOME/hs/admin with the lines:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = SQLDB
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_DB_NAME = SQLDB
    HS_DB_DOMAIN = GOTODBA.COM
    HS_FDS_SUPPORT_STATISTICS = FALSE
    # ODBC specific environment variables
    set ODBCINI=/etc/unixODBC/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Step 3
    Added the following lines to listener.ora:
    SID_LIST_LISTENER_TWNYCSLD04=
    (SID_LIST=
    (SID_DESC =
    (ORACLE_HOME = /shared/app/komisija/product/11.2.0/dbhome_1)
    (SID_NAME = SQLDB)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/usr/local/freetds/lib:/shared/app/komisija/product/11.2.0/dbhome_1/lib)
    and reloaded the listener:
    lisnrctl reload
    Step 4
    Added the following line to tnsnames.ora:
    SQLDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux1.kons.gov.ba)(
    (CONNECT_DATA =
    (SERVICE_NAME = SQLDB)
    (HS = OK)
    afterwards tnsping SQLDB runs fine...
    Step 5
    Created a link as sys:
    create database link sqldb.gotodba.com
    connect to user
    identified by "password"
    using 'SQLDB';
    But after I run
    select * from "myTable"@sqldb.gotodba.com;
    I get:
    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 SQLDB.GOTODBA.COM
    What could be wrong and how to test where exactly shit hits the fan, pardon my language :)

    Ok, my bad... Was editing the listener.ora blindly instead of reading the documentation. I think ths should now be more or less correct?
    # listener.ora Network Configuration File: /shared/app/komisija/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux1.kons.gov.ba )(PORT = 1521))
    ADR_BASE_LISTENER = /shared/app/komisija
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC =
    (ORACLE_HOME = /shared/app/komisija/product/11.2.0/dbhome_1)
    (SID_NAME = SQLDB)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/usr/local/freetds/lib:/shared/app/komisija/product/11.2.0/dbhome_1/lib)
    lsnrctl status now returns:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 16-MAY-2011 20:03:38
    Uptime 0 days 0 hr. 5 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /shared/app/komisija/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /shared/app/komisija/diag/tnslsnr/linux1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux1.kons.gov.ba)(PORT=1521)))
    Services Summary...
    Service "SQLDB" has 1 instance(s).
    Instance "SQLDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    However the select now returns:
    SQL> select * from "tblAktiCX"@sqldb;
    select * from "tblAktiCX"@sqldb
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    And that's it..no error message... where to go from here?

  • Ho to Write Query for dynamic in sql server for IN operation.

    hi ,
    we was write store procedure dynamically for IN operation,when i select 4 values it was update only 3 item last selected values are not update .if select more then 5 it will showing the below error
    ALTER PROCEDURE [dbo].[UpdateEMPdetails]
    @NID varchar(50),
    @EID nvarchar(max),
    @RT bit,
    @Ackd bit,
    @VerifiedBy varchar(80),
    @TableName varchar(100)
    as
    declare @SqlQueary nvarchar(max)
    set @SqlQueary = 'update '+ @TableName +' set RT='+CAST(@Rt AS CHAR(1))+',Ackd='+CAST(@Ackd AS CHAR(1)) +',Verified_By='''+@VerifiedBy+''' where NID='''+@NID+''' and ' +
    ' EID in('''+ @EID+''''+')'
    print @SqlQueary
    exec UpdateEMPdetails 'EMP14-302',"000008922','00000010242','000008923','00000010242','0000008922','00000010242','0000008922','00000010242",1,1,'xyz','EMPTB'
    when i run this one we will getting the below error
    Msg 103, Level 15, State 4, Line 1
    The identifier that starts with '0000008922','00000010242','00000008922','00000010242','0000008922','000000010242','00' is too long. Maximum length is 128.

    Hi PS_L,
    This is the forum for SharePoint .For your question please use the related Forum, following link is SQL
    Server Forum:
    http://social.technet.microsoft.com/Forums/sqlserver/en-us/home?category=sqlserver 
    This question, I think if you change "000008922','00000010242','000008923','00000010242','0000008922','00000010242','0000008922','00000010242"
    to  N'''000008922'',''00000010242'',''000008923'',''00000010242'',''0000008922'',''00000010242'',''0000008922'',''00000010242''' will solve it. 
    Qiao Wei
    TechNet Community Support

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • ODBC Link ans SQL Server

    Hi!
    So I tried to create a ODBC link with SQL server, but there is a problem during the authentification process.
    When I try to use authentification thanks to SQL server, even with 'sa' user enabled, this error shows up
    Connection failed:
    SQLState: '28000'
    SQL Server Error: 18456
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'myUser'.
    When I try to use authentification with Windows ID, another error shows up :
    Connection faled:
    SQLState: '28000'
    SQL Server Error: 18452
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
    The server is a VPS server and there is no domain to configure.
    I already tried to switch to mixed authentification, with it I can easily connect to SQL server with SQL server Management Studio. I also already browsed SQL Server Configuration Manager in order to set a static (not dynamic) port, TCP/IP are enabled in SQL
    server Network Configuration / Protocols for SQLEXPRESS but it still doesn't work. Ofc I restarted SQL server several times and I even tried to uninstall/reinstall it.
    Finally, this error shows up when I start SQL Server agent with SQL server Configuration Manager.
    >The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
    I tried to find out what is the problem by reading the logs but there is nothing about the failed authentification attempts there. It only shows some services starting or stopping.
    I read somewhere that it the VIA protocol could be the problem, but I can't find it anywhere in SQL Server Configuration Manager.
    I've been struggling for days with this. you're my only hope
    thanks!

    I juste forgot to explain that I have to do this for a client who will use a software of my company and this software needs this ODBC link to communicate with SQL Server. Also the users will connect to the server in TSE (so the application will be on the
    same server than SQL Server). I don't know if this detail is important but I prefer specify.
    "If it works in SSMS to connect with a SQL Login, then it should work with ODBC by using the same server name/credentials from the sam Client."
    I entered 'sa' user and another user that I created in SQL Server but I have the same error (login fail for user)
    "Are remote Connections enabled? Is a Firewall running on server and/or Client side? If so unblock the required TCP and UDP ports."
    Remote Connections are enabled on the server and there's just Windows Firewall on the server. I unblocked resquired TCP and UDP Ports. Even with the Windows Firewall turned off I have this problem. 

Maybe you are looking for