OWB connection to teradata through ODBC driver

Hi:
I am seeking answers to my OWB connection settings. I have installed OWB 10.2.0.4 on Windows 2003 server. The Oracle 10g database is on the same server. Right now, I want to configure ODBC connection for OWB to source database (all on teradata) on my windows 2003 server. However, I found from control panel
/Adminstrative tool/Data source (ODBC), there is no teradata driver in ODBC administrator. (It is available on windows XP). How can I solve this problem?
OWB perform ETL workflow through OWB server and source database. The connection between OWB server and source database must be set up. If no teradata ODBC driver, is there any other way to work around. Or should I update windows 2003 server to patch teradata ODBC driver to it? Please give me your idea and your thoughts. Thanks in advance.

Hi,
look at this thread
SQLServer access from AIX Warehouse builder
What is the problem with installing Teradata ODBC driver to your Windows2003 server?
Regards,
Oleg

Similar Messages

  • Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax

    Hi,
      This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
    CRXI R2, Oracle 9i.
    What do i do to solve this issue.
    Regards,
    Sathish

    Hi Satish
    It could be an issue with the driver.
    You can try with the OLEDB n Oracle native connection to test if the issue persists.
    Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
    Hope this helps!!
    Regards
    Sourashree

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
    Is there any way to connect using ODBC data source for lotus notes.

    No.
    SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
    SQL Developer is NOT a general purpose, multi-DBMS tool.

  • Connecting to Teradata with ODBC

    Hi,
    Has anyone work with Teradata with Oracle ODBC?
    Thanks,
    Mustafa

    Oracle's ODBC driver is only appropriate for connecting to an Oracle database. If you need to establish and ODBC connection to a Teradata database, you would need to get a Teradata ODBC driver.
    Justin

  • Cannot connect to Oracle through ODBC.

    Please help, I don't know what else to try.
    I'm writing automated test scripts and frequently need to access the database to verify data values. These scripts run under multiple environments and have to validate several different flavors of database products. I use ODBC to establish the database connection and this works well under everything except the following environment:
    Database Host:
    Windows Server 2008, Standard Edition
    Oracle 10g
    Client:
    Windows Server 2008 Standard (64-bit)
    Oracle 11g client software installed.
    Following recommendations here on the Oracle site, I used the OUI to remove the Oracle ODBC driver that is installed with the client software and installed RDBODBC3320_x64.msi.
    I was unable to connect to the database at all using the Oracle 10g client software under this environment, but it is my understanding that Oracle 11g should work. I don't have much choice. The Oracle 10g client refused to install in this environment.
    I am able to create a DSN for the database using the ODBC Data Source Administrator. I specify the configuration correctly, but when I try to test the connection, it returns the error:
    FAILED: Service Connection test
    rc=-1
    SQLState=08S01
    [Oracle][ODBC][Rdb] Connect Ret -1 Err# 10061
    WSAECONNREFUSED Connection refused
    I interpret this to mean that I'm reaching the server and database, but it isn't recognizing the connection as being from a legitimate account. Am I wrong?
    From this client machine, I am able to connect to and query the database using SQLPlus, so it isn't that the database is unavailable from the test machine.
    On the host server, I am able to create an ODBC configuration that tests successfully. That is, of course, the 10g version of the ODBC driver.
    I hope someone can supply an answer, this is a high visibility item that is making me look foolish.
    Thanks,
    Dave P.

    Hi Dave,
    It's difficult to make decent recommendations without knowing for sure even what kind of database you're connecting to, or what issues you're having exactly. "No success with the 64 bit flavor" doesn't provide much info to go on.
    Here's the bullet points that will hopefully get you working, assuming you're connecting to "regular" oracle and that this whole RDB thing was a wild goose chase. If you're actually connecting to an RDB database, skip all the steps below and go post in the RDB forum to get their advice. If you're not sure what the difference is, or what you're connecting to, ask someone who knows.
    *1)* Are you ultimately trying to connect with a 32 bit app or a 64 bit app, from the 64 bit 2008 box?
    - What kind of "scripts" are you writing? VBSscript you're executing from a DOS prompt? If so, how are you invoking it exactly? Just by typing filename.vbs?
    - Are the scripts running with 32bit cscript.exe or 64 bit cscript.exe?
    The bottom line is that 32 bit apps need 32 bit client software, and 64 bit apps need 64 bit client software, and you need to have the right stuff installed. The first thing you need to figure out is whether you're running 32 bit app or 64 bit process. Usually you can open Task Manager and look for the process name in the Process tab; if there's a *32 next to it, it's 32 bit. Otherwise it's 64 bit.
    *2)* Once you determine what bitness the software you're running is, you then need to download and install that bitness of Oracle client software. You can get 11.2.0.1 here:
    32 bit 11.2 client:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
    64 bit 11.2 client:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
    *3)* After downloading the client.zip and extracting it, run setup.exe, take the defaults, chose Custom install type, select ODBC driver and SQLPlus from the list, and the installer will automatically install the Oracle software as well.
    Note: You could use Instant Client for this as well; but you'll have to download and install SQLPlus and the ODBC driver in addition to the instant client itself, and using the OUI and the Full client installation is "easier" as it doesn't require manual installation like Instant client does, so less error prone.
    *4)* Configure tnsnames.ora for that install so the client knows where you want to connect to, test it using sqlplus from that install location to make sure you have it right.
    *5)* If you want to configure a 32 bit dsn, you need to use the 32 bit administrator ( c:\windows\syswow64\odbcad32.exe).
    64 bit dsn's you configure via c:\windows\system32\odbcad32.exe (or via control panel > odbc administrator).
    *6)* Run your app, hopefully you're dialed.
    *7)* Profit.
    Hope it helps,
    Greg

  • Data Profiler: Connect to Teradata by ODBC

    Hi
    Has anyone done this successfully? Cannot seem to get ODP to connect to Teradata. Continually recieve message "Authentication failed. couldn't open socket: invalid argument". User and pass# are fine.
    If I could work out how ODP uses the supplied ODBC parameters I might be able to get somewhere.
    Any help out there? All insight gratefully received.
    Kind Rgds
    JG

    Hi Anirban
    >>>So what you are saying it will be a typically file/R3- xi - http scenario??
    this is just one of the ways
    in all of my fax projects that I've seen
    (but sending only standard SAP documents)
    my company always used a standard SAP fax server
    (many companies provide such faxes)
    so the integration is very easy (like printing)
    but if you use non standard documents than
    http integration can be the easiest
    >>>what about fax, i mean any chance by using a webservice??
    sure:)
    just look at google for fax webservices:
    http://www.interfax.net/en/dev/webservice/
    Regards,
    michal

  • Connecting Oracle RDB through ODBC

    I have my Oracle RDB running in OpenVMS environment. Below is my server configuration.
    SQLSRV> show server;
    Server Version: 7.3
    Server Platform: HP OpenVMS IA64
    Max Shared Mem Size: 8000 Kb
    Config file: SYS$SYSROOT:[SYSMGR]SQLSRV_CONFIG_FILE73.DAT;1
    Log path: SYS$MANAGER:
    Dump path: SYS$MANAGER:
    Proc start time: <none>
    Proc shut time: <none>
    Network Ports: (State) (Protocol)
    DECnet object DBS_SERVER Running Native
    TCP/IP port 2200 Running Native
    Current shared memory usage:
    Allocation unit: 65536 bytes
    Total memory: 8192000 bytes (125 units)
    Free memory: 7864320 bytes (120 units)
    Partly allocated: 262144 bytes ( 4 units)
    Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_MON_0073.LOG;
    Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_73.DMP;
    Below are my services.
    SQLSRV> show services;
    C l i e n t s E x e c u t o r s
    Name State Per-Exec Max Active Min Max Running
    OCI_SAMPLE RUNNING 1 10 0 1 10 1
    RMU_SERVICE RUNNING 1 100 0 4 100 4
    GENERIC RUNNING 1 10 0 2 10 2
    SQLSRV_MANAGE RUNNING 100 0 1 0 0 0
    I have the below shown dispatchers.
    SQLSRV> show dispatcher;
    Dispatcher SQLNET_DISP
    State: INACTIVE
    Autostart: on
    Max connects: 100 clients
    Idle User Timeout: <none>
    Max client buffer size: 5000 bytes
    Network Ports: (State) (Protocol)
    SQL*Net listener LISTENER1 Unknown SQL/Services
    Log path: SYS$MANAGER:
    Dump path: SYS$MANAGER:
    Dispatcher OCI_DISP
    State: INACTIVE
    Autostart: off
    Max connects: 100 clients
    Idle User Timeout: <none>
    Max client buffer size: 5000 bytes
    Network Ports: (State) (Protocol)
    SQL*Net listener oci_listener Unknown OCI clients
    Log path: SYS$MANAGER:
    Dump path: SYS$MANAGER:
    Dispatcher RMU_DISP
    State: RUNNING
    Autostart: on
    Max connects: 100 clients
    Idle User Timeout: <none>
    Max client buffer size: 5000 bytes
    Network Ports: (State) (Protocol)
    DECnet object RMU_DISP Running Native
    TCP/IP port 1571 Running Native
    Log path: SYS$MANAGER:
    Dump path: SYS$MANAGER:
    Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_RMU_DISP00873.LOG;
    Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_RMU_DISP008.DMP;
    Dispatcher SQLSRV_DISP
    State: RUNNING
    Autostart: on
    Max connects: 101 clients
    Idle User Timeout: <none>
    Max client buffer size: 5000 bytes
    Network Ports: (State) (Protocol)
    SQL*Net listener LISTENER1 Running SQL/Services
    TCP/IP port 119 Running SQL/Services
    DECnet object 81 Running SQL/Services
    Log path: SYS$MANAGER:
    Dump path: SYS$MANAGER:
    Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_DIS00373.LO
    G;
    Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_DIS003.DMP;
    My generic service has the below configuration.
    SQLSRV> show service generic full;
    Service GENERIC
    State: RUNNING
    Owner: APFQA1
    Owner Password: <not specified>
    Protocol: SQL/Services
    Default Connect Username: APFQA1
    Default Connect Password: <not specified>
    SQL version: 7.2
    Autostart: on
    Process init: <not specified>
    Attach: ATTACH 'FILENAME SYS$COMMON:[SYSHLP.EXAMPLES.RDB72
    ]PERSONNEL.RDB'
    Schema: <not specified>
    Reuse: SESSION
    Database Authorization: CONNECT USERNAME
    dbsrc file: <not specified>
    SQL init file: <not specified>
    Appl Transaction Usage: SERIAL
    Idle User Timeout: <none>
    Idle Exec Timeout: 1800 seconds
    Min Executors: 2
    Max Executors: 10
    Running Executors: 2
    Clients Per Executor: 1
    Active Clients: 0
    Access to service GENERIC
    Granted to users:
    Default Connect Username 'APFQA1'
    PUBLIC PRIVILEGED_USER 'APFQA1' 'SQLSRV$DEFLT'
    Now when i try to connect to server using Oracle RDB ODBC driver, it says that connection is refused. I am able to ping to my server machine from client.
    Below is my ODBC configuration
    DataSource Name = Oracle RDB
    Transport            =  2=tcp/ip
    Server                 = 10.60.255.37
    Service                = generic
    UserID                 = apfqa1
    *Attach Statement = ATTACH 'FILENAME SYS$COMMON:[SYSHLP.EXAMPLES.RDB72]PERSONNEL.RDB*
    and this is the error that i get
    FAILED: Service Connection test
    rc=-1
    SQLState=08S01
    *[Oracle][ODBC][Rdb] Connect Ret -1 Err#10061 WSAECONNREFUSED Connection refused*
    And when i try using Microsoft ODBC driver it says
    Details:
    *SQL Error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12541: TNS:no list*
    ener
    SQL State: NA000 from SQLConnect
    SQL Native Code : 12541
    Can you please let me where I am going wrong and what needs to be done to configure the connection using both Microsoft ODBC and Oracle RDB ODBC drivers.

    user12874786 wrote:
    Ok. I got confused. Let me explain my actual requirement...
    Nice breakdown. Much easier to try to help out from posts like that.
    As per our last discussion, I have downloaded Instant Client Downloads
    there is an application 'adrci.exe', Forget adrci. (it's just an extraneous tool)
    Follow installation instructions. (should include copying oci.dll and oraociei11.dll to a new folder of your choice)
    Finding the right doc in this case might be a little tricky, so try this:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci01int.htm#i423362
    If that does not help, call back with a description of what you tried from what document.
    If anything needs to set in environment variable, please let me know, how to do. I haven't worked on environment variables.Depends on your OS.
    But try:
    Windows key / Start button, type in env, choose Edit system environemnt variables.
    Click Environment Variables.... In System variables section in bottom half, scroll down to Path. Select Path line and click Edit...
    In the front of value, add the instantclient folder. E.g. c:\oracle\instantclient;<here comes rest of PATH>
    >
    Also, the same thing happens with PL/SQL Developer, i'm using PL/SQL Developer version: 9.0.6.1665, when I entered username/password/database. The following message occuredYes, it also complains since 32-bit software pieces are missing.
    Edited by: orafad on Sep 19, 2012 11:08 PM

  • Connect to Oracle through ODBC - TNS: No Listener Error

    Hi All,
    I've been trying to chase this problem down for over a month now and I have had no luck. When I try to connect to an Oracle server through MS Access I get the TNS: No Listener error. The kicker is when I go to the odbc data source administrator in windows I am able to connect to the oracle server. My computer is windows 2007 and I have Oracle 11.2 installed. Could anyone assist?
    When I type lsnrctl start in the command prompt it says it has been already started.
    Here is my tnsnames.ora:
    ORMANRPT.WORLD=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=bspz1565.bhdc.att.com)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=ORMANRPT)
    Here is my sqlnet.ora:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    names.default_domain=world
    here is my listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\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 = C:\app\cb260e

    1009773 wrote:
    I used this computers IP and name. Is this what my listener should look like?
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = 144.158.355.240)(HOST = ilcdf44v.itservices.ms.com)(PORT = 1521))Line above is WRONG!
    I suggest you move, remove, rename, delete or otherwise move the listener.ora file out of the way.
    listener.ora is NOT required to start or utilize the listener
    open Command Window after doing as directed above then issue the OS commands below
    lsnrctl stop
    lsnrctl start
    lsnrctl status
    # now wait 60+ seconds before issuing the next command below
    lsnrctl service
    COPY the results from all above, then PASTE all results back here.

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • Could not connect through thin driver

    I am trying to connect to database through thin driver but getting the following exception :
    Io exception:The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception : The Network Adapter could not establish the
    connection at oracle.jdbc.dbacess.DBError.throwSqlException(DBError.java:168)
    but I am able to coonect to the database through the oracle client and also through the odbc bridge driver.
    also I am able to connect to other oracle database but not the particular.
    pls if anyone can help ,suggest me what could be the possible error and solution to it.
    Thank u.

    I am not sure what is your URL parameter in the getConnection Method !
    Check if the it is
    jdbc:oracle:thin:@<ip-Add of server>:<port no>:<SID>
    e.g.
    jdbc:oracle:thin:@10.173.110.70:1521:cpmnc
    Hope this works !
    null

  • Ms ODBC driver does not usually connect

    Hello all, I am having trouble with Microsoft ODBC driver in the above configuration. SQL Plus connects every time, but the ODBC driver does not usually connect until the second attempt. Occasionally it refuses to connect at all. It never connects from IIS 5.0. The error messages are not very helpful:
    SQL Error State: NA000, Native Error Code 0, ODBC Error[Microsoft][ODBC Driver for Oracle][Oracle]
    How can I solve this?
    Thanks in advance,
    null

    Note that problems with the Microsoft ODBC driver should be addressed to Microsoft. What happens if you try to connect with the Oracle ODBC driver?
    Justin

  • ODBC Driver V8.00.58.00 Error

    Hi
    I am experimenting an Oracle ODBC error while selecting more than 2500 records from a database table.
    Does anyone known the cause of the error?
    Thanks in advance.
    ==== ENVIRONMENT DESCRIPTION ====
    The database server is ORACLE Version 8.0.5.2.1
    My database table has the following structure:
    CREATE TABLE MY_TABLE
    PK_PKEY NUMBER(9) NOT NULL ,
    FK_FKEY1 NUMBER(9) NOT NULL ,
    FK_FKEY2 NUMBER(5) NOT NULL ,
    FIELD1 NUMBER(1) NOT NULL ,
    FIELD2 NUMBER(5) NOT NULL ,
    CONSTRAINT MY_TABLE_FILED1 CHECK(FIELD1 BETWEEN 0 AND 1),
    CONSTRAINT PK_MY_TABLE_KEY PRIMARY KEY (PK_PKEY)
    The table is populated with 3000 records where FIELD1 is always equal to 1 (this value is relevant for the queries).
    The application that executes the queries to the table is written in Visual C++ 6.0, the database connection is made through ODBC datasouce using the MFC ODBC database classes (CDatabase and CRecordset).
    The Oracle client installed to access the database server is from version: ORACLE ODBC driver - Version 8.00.58.00 - Oracle Corporation SQORA32.DLL 1/5/00.
    The SQL queries executed in the application are:
    QUERY1: SELECT pk_pkey FROM my_table
    QUERY2: SELECT pk_pkey FROM my_table where FIELD1=1
    QUERY3: SELECT pk_pkey FROM my_table where FIELD1=1 ORDER BY pk_pkey
    The C++ application only creates a CDatabase object (m_cDatabase.OpenEx((LPCTSTR)_T(DSN=tc1;UID=myuser;PWD=mypwd))) and a CRecordset object with the previous created database connection. The queries are executed using a simple procedure described in the end of the email.
    I test several combinations using the queries described above and the results are quite different. The combinations performed where:
    TEST1 - First QUERY2 then QUERY3 RESULT 1
    TEST2 - First QUERY1 then QUERY3 RESULT 1
    TEST3 - First QUERY3 then QUERY2 RESULT 2
    TEST4 - First QUERY3 then QUERY1 RESULT 1
    TEST5 - First QUERY1 then QUERY2 RESULT 1
    TEST6 - First QUERY2 then QUERY1 RESULT 3
    TEST7 - First QUERY1 then QUERY1 RESULT 3
    TEST8 - First QUERY2 then QUERY2 RESULT 3
    TEST9 - First QUERY3 then QUERY3 RESULT 3
    == RESULT DESCRIPTIONS ==
    - RESULT 1
    The first query is executed successfully but the application catches a database exception when executing the second query.
    Database Exception: Restricted data type attribute violation
    State: 07006, Native:0, Origin:[ORACLE][ODBC]
    - RESULT 2
    The first query is executed successfully but the application crash while executing the second query.
    The application does not catch any database exception.
    The crash description is:
    Unhanded exception Application.exe (SQORA32.DLL):0xC0000005 Access Violation
    - RESULT 3
    The queries returned the expected results. No errors where reported.
    ==== END OF ENVIRONMENT DESCRIPTION ====
    *** VERY IMPORTANT NOTE ***
    1. Each test generates a log file where it is possible to confirm the results of the tests.
    2. Another element is that the number of times the first query is consecutive executed before the second one does not influence the result of the tests.
    3. The error is reported always after the 2500 record is fetch.
    4. I executed exactly the same test where the only modification was the version of the ODBC driver used in the client and the tests ran successfully. The results are correct if the client driver is one of the following:
    ORACLE ODBC driver - Version 8.01.05.00 - Oracle Corporation SQORA32.DLL 16/02/1999
    ORACLE ODBC driver - Version 8.00.05.00 - Oracle Corporation SQORA32.DLL 06/12/1998
    5. I also executed the tests with the ORACLE ODBC driver version 8.00.59.00 and the results where the same as from driver v8.00.58.00
    6. If I create a restriction in the queries to return less than 2500 records the test are performed successful in all drivers.
    == PROCEDURE ==
    All the queries are executed in a simple procedure like:
    bool CTesteDBDlg::ExecuteTeste(void)
    int nIndex = 1;
    CString strSQL;
    CString strText;
    try
    CRecordset cRecordset(&m_cDatabase);
    strSQL.Format(_T("SELECT pk_pkey FROM my_table"));
    //strSQL.Format(_T("SELECT pk_pkey FROM my_table WHERE field1=1"));
    //strSQL.Format(_T("SELECT pk_pkey FROM my_table WHERE field1=1 ORDER BY pk_pkey"));
    if(!cRecordset.Open(CRecordset::snapshot, (LPCTSTR)strSQL,
    CRecordset::readOnly))
    return false;
    CString strDBValue;
    while(!cRecordset.IsEOF())
    cRecordset.GetFieldValue((int)0, strDBValue);
    LOG_DEBUG_MESSAGE(eLow,(_T("ExecuteTeste1: Index=%ld - Value=%s"), nIndex, strDBValue));
    nIndex++;
    cRecordset.MoveNext();
    catch(CDBException* pDBException)
    TCHAR szCauze[256];
    pDBException->GetErrorMessage(szCauze, 255);
    LOG_DEBUG_MESSAGE(eLow,(_T("Database Exception: Code=%d - Desc = %s"), pDBException->m_nRetCode, szCauze));
    return false;
    return true;
    null

    Mr. Cordeiro sent me the project and data he's using. When I run the test program on my 8.0.6 client machine with the 8.0.6 ODBC driver, I see no failures. When I run the test program on my 8.1.6 client machine with the 8.1.6.1 driver, however, I see the problems Mr. Cordeiro describes. If I install the current evelopment build of our 8.1.6 driver, however, the problems disappear. Unfortunately, I don't have an 8.0.5 client machine to test on right now.
    I suspect that the problem here has been identified previously, has already been fixed, and will be shipped with the next release of the driver.
    My only hesitation here is that the 8.0.5.8 and 8.0.6.0 ODBC drivers are identical code, just linked with different client libraries, so it's unclear why the 8.0.6 client is working while the 8.0.5 client, apparently, is failing. It is possible that there is/was a bug in one of the layers under the ODBC driver which is causing the problem and that different versions of our code hit or miss this problem. I would strongly suggest that you apply the latest Oracle patch kit for your client (i.e. 8.0.5.2.6 for the 8.0.5 client) to see if that fixes your problem. These patch kits are available from the Oracle FTP site-
    ftp://oracle-ftp.oracle.com/server/patchsets/wgt_tech/server/windowsNT/
    Justin Cave
    ODBC Development

  • Oracle 10G DB + 9.2 odbc driver error 12154

    I installed on a Windows 2003 Server the Oracle 10G XE database.
    then I installed the oracle client Version 9.2.0.1.0 where I only Installed the client and the windows services.
    Why I installed the client in Version 9.2.0.1.0: I need the ODBC Driver in Version 9.2.0.0.0 for another software.
    The Problem: When i try to connect via the Oracle odbc driver 9.2.0.0.0 (test connection),
    I always get Error 12154 . On my Windows 2000 machine where I tested it, it works fine.
    It also works fine when I use the odbc driver 10.2 from the XE installation.
    Thanks in advance

    Solved!

  • ASP pages and Oracle ODBC Driver

    I have a number of ASP pages that need to be updated to connect to Oracle using the ORACLE ODBC driver. Currently, these pages connect using the Microsoft ODBC driver for Oracle. I do not know of all the details yet as I havent seen the pages or network for which they reside on and I havent been supplied with details on version information. I would assume I am working with recent versions of all software.
    What Im curious about is if anyone has done this sort of driver change before and if you have any suggestions on how I would go about doing this, or if there are things that I need to be aware of that arent evident at first glance.
    Again, I am switching from the odbc driver provided by Microsoft to a version of the odbc driver provided by Oracle.
    Thanks for any and all information.

    I'll assume that there is some reason that necessitates switching drivers. If there's not going to be a benefit, I'd suggest not changing.
    That said, changing drivers should be relatively painless. If your ASP makes database connections using DSN's, simply go to the ODBC Data Source Administrator, rename the old Microsoft DSN, and create a new DSN using the Oracle driver with the name your ASP is looking for. If your ASP specifies the ODBC driver in its connect string, you'll have to modify all the ASP connect strings to use the Oracle driver. If all goes well, your ASP will now be up & running using the Oracle driver.
    As we all know, however, reality and theory are often at odds with each other. While your ASP should be connecting to the database correctly when you make these changes, please do some thorough testing to verify that everything works like you expect. The ODBC specification permits drivers to have a variety of behaviors in certain conditions. Applications written with one ODBC driver often end up relying on one of these behaviors, and may break when the ODBC driver changes.
    Justin Cave
    ODBC Development

  • ODBC Driver in Windows XP.

    When I attempt to connect to the Oracle ODBC Driver in Windows XP I get an error IM003 (Driver could not be loaded, system error 5) If I run the application from an administrator account, the driver works fine.
    I am using Oracle v9.2010. I am trying to connect from the same computer that is running the database without any other drivers/clients installed.
    I am using C to develop the application using the ODBC API.

    You probably need to grant the non-Administrator user read/execute rights on the %ORACLE_HOME% directory & subdirectories. You probably don't need execute on anything other than %ORACLE_HOME%\bin, and you probably don't need read access on every subdirectory, but I don't see much of a security threat from giving everyone read/execute to the whole directory.
    Justin

Maybe you are looking for

  • Does remote work with MacBookAir?

    I can't seem to be able to activate Front Row on a 2nd gen MBA with the remote... The remote works fine with an iMac and older Macbook. Any help is greatly appreciated.

  • Sending GR information to SNC

    Hi, We do not want to use rpeort RSMIPROACT to send the  GR information to SNC for PO. When GR is done though Inbound delivery (VL32N) we want to send through Message Type. Please let me know the steps what we need to do. Regards Raghavendra Pai

  • Help Me! Apache Won't run even there is no error

    Hi All, I have successfully installed Oracle 9ias on Linux RH 7.1. And there are some errors such as default virtual host overlap, etc. I Have Managed to solve or error. until there is no error at all (in error_log or in Jserv.log ) So as a result i

  • Cellular signal looking bars in Menu Bar.

    Wasn't sure where to post this so I hope its in the right place. With the recent install of Snow Leopard I've started noticing a signal strength bar appearing randomly in my top Menu Bar. Its a set of 5 vertical signal bars much like cellular signal

  • Alert on action

    Hi , In Comaplaints(return and replcaments) if there are more than one line item and if i click on the action button then one window comes with all these line items here i have to select the line item then i have to select the relevant action, if i d