Unable to connect to oracle database using RODM

Hello,
I am trying to follow the steps described in
http://www.oracle.com/technetwork/articles/datawarehouse/saternos-r-161569.html
but I keep getting the same error message after the
DB <- RODM_open_dbms_connection(dsn="orcl", uid="dm", pwd="dm")command. The message is
Error in typesR2DBMS[[driver]] <<- value[c("double", "integer", "character",  :
  cannot change value of locked binding for 'typesR2DBMS'
and doing a traceback() I get
2: setSqlTypeInfo(driver, list(double = "double precision", integer = "integer",
       character = "varchar(255)", logical = "varchar(255)"))
1: RODM_open_dbms_connection(dsn = "orcl", uid = "dm", pw = "dm")
Could anyone suggest some way to fix this? I am stuck and I need to get this working asap.
Thank you very much in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Hello Mark,
Thank you for your reply.
I tried installing Oracle R Enterprise but I got stuck again, this time apparently because I do not have Oracle database 11.2.0.3 but rather 11.2.0.1.0.
So I would like to ask you if there is some way of using RODM, or some other way of having R access to ODM algorithms?
Thank you,
Filipe

Similar Messages

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\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 =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • Connect to oracle database using c program

    I am using AIX environment and i want to connect to oracle database using c program.

    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10825/pc_03dbc.htm#i5880

  • Unable to establish connection to oracle database using sql developer

    hi guys,
    i tried to connect to the oracle database using the sql developer, but it fails. it replies the following message:
    Status: Failure -Test failed: Io exception: The Network Adapter could not establish the connection
    what should i do? any help

    Please provide a little more information:
    1) SQLDeveloper version.
    2) Database Version.
    3) Database location (same machine or on the network).
    4) Connection method (basic,TNS).
    5) Connection type (Thin,Thick/OCI).
    Usually the first thing to check is if you have correctly entered the right information for your database connection, then if everything seems to be OK the database itself should be checked for potential problems.

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • Unable to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0

    Hello,
    I am trying to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0 to develop an ADF application.
    But it is giving me the error
    Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    connection type:oracle(JDBC)
    Role :SYSDBA
    Driver:thin
    Host:localhost
    JDBC port:1521
    SID:webaid
    I am able to connect to the database using SQL*Plus with the same credentials.
    Any help is appreciated!

    I take it you solved this problem, since you posted this: installing Oracle 10.1.0.2.0 (32 bit)  on windows 2003 server

  • Cant connect to Oracle database using oracle db client

    Hi All,
    I recently created a virtual machine running windows server 2008 on my windows 7 host. Oracle database 11g is already installed on host OS(windows 7) and I have installed oracle 11g client on the guest OS(windows server 2008) and trying to connect to oracle database from remote server using oracle client but getting this error:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATAI am trying to connect using oracle client as below:
    C:\Users\Administrator>SET ORACLE_SID = HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 06:16:34 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/[email protected]
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    I have created database with name - HR84DEV
    HOST ip address is - 192.168.56.1
    I googled this error and as most of resources/blogs talked about having correct entry on listner.ora and tnsnames.ora file, I did the changes on both of these files accordingly.
    PFB the cotent of both of these files:
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    listner.ora
    # listener.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = HR84DEV)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ADR_BASE_LISTENER = C:\MyApps\Oracle
    Please not that I dont have any problem in connect to database locally.

    Thanks Nicolas,
    Actually, there was a problem with my oracle client installation. I uninstalled it and then installed back again but still, even after following your instructions I get some error.
    Here what I did:
    Created tnsnames.ora file as below:
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    Placed it under appropriate directory and then checked the connection with database using the command shown below:
    C:\Users\Administrator>tnsping HR84DEV
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    012 08:42:03
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\MyApps\Administrator\product\11.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.56.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = HR84DEV)))
    OK (20 msec)
    Then tried to connect to database as below:
    C:\Users\Administrator>SET ORACLE_SID=HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 08:25:56 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/SYSADM@HR84DEV
    ERROR:
    ORA-28547: connection to server failed, probable Oracle Net admin error
    But still getting error.
    I Googled this error and tried to figure out what the problem is and came across the possible cause which is because I haven't specify that the service should run as a user who is in domain admin group.
    well, I am not really sure about this and dont know what user name and password I should enter in OracleserviceHR84DEV-properties-log on-this account.
    do I really need to set this?

  • Unable to connect to MySQL Database using MX

    I am unable to connect to MySQL database hosted on a remote
    server. I get the following error message:
    "HTTP Error Code 404 File Not Found. Here are some possible
    reason for the problem:
    1) There is no testing server running on the server machine.
    2) The testing server specified for this site does not map to
    the
    http://72.9.255.2/~keyitems/_mmServerScripts/MMHTTPDB.php
    URL. Verify that the URL Prefix maps to the root of the site."
    I have specified a testing server. My url is "
    http://72.9.255.2/~keyitems/........."
    For the URL prefix to the site's root folder, I listed the
    following:
    1.
    http://72.9.255.2/~keyitems/
    this did not work. I got the above error message.
    2.
    http://72.9.255.2/ this did not work
    also. I got the above error message.
    Any input would be great as I do not know where to start !!!
    Thank you

    Hi Ravi
    Glad to hear you solved this. It is very gratifying when one solves it alone, don't you think?
    Best wishes
    Michael

  • Crystal Reports XI is unable to connect to Oracle database

    I try to Create New Conection in y Crystal Reports XI using OLE DB(ADO) ,Microsoft OLD DB Provider for Oracle.
    I entered the right Connection Information for Service, User ID and Pasword and then hit the Finish button.
    I get the following error message.
    Login Failed.
    Detail: ADO Error CodeL 9x80004005
    Source: Microsoft OLE DB Provider for Oracle
    Description: Oracle client and networking components wer not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Where can I get these components?
    How can I install them?
    What should I do to get successfully connected to my Oracle database?
    Please guide me.
    Thanking in advance.
    Samy

    Hi Samy,
    I did some checking and found the old platforms text file for which servers we supported:
    Crystal Reports Data Sources
    =======================================
    Report Data Source              Database Client             
    Oracle 8.1.7                  Oracle Net client 9.2 (Native)
                                    ODBC Oracle 9.2
                                    JDBC Oracle 9.2
                                    OLEDB Oracle 9.2
    Oracle 9.2                    Oracle Net client 9.2 (Native)     
                                    ODBC Oracle 9.2
                                    JDBC Oracle 9.2
                                    OLEDB Oracle 9.2
    Oracle 10.1                   Oracle Net client 10.1 (Native)  
                                    ODBC Oracle 10.1
                                    JDBC Oracle 10.1
                                    OLEDB  Oracle 10.1
    As you can see we needed the 9.2 client. I do recall now there were UNICODE issues with earlier versions and 9.2 was the fix which is why we supported the 8 server but with the 9 client.
    So not sure why it worked previously but likely because Windows 7 doesn't have the dependencies XP would have had it may be the reason....
    Bottom line is you are not on a supported platform so we have not done much testing ourselves on how to get around these issues....
    Thanks again
    Don

  • Unable to connect to Oracle database on RHEL4

    Hi,
    I have completed installation of Oracle 10g release 2. on RHEL 4.
    On logging on to the RHEL 4 machine, I am able to start Oracle database and use sqlplus.
    However, I am unable to connect to it from my desktop, which is windows xp. The tnsnames.ora file in the windows desktop has been updated. However its not able to connect to this machine. The RHEL4 machine is configured with DHCP. Could this be the problem? I would not be able to configure it with static IP, is there a way to configure it with DHCP? tnsping does not identify the database instance either. I get the following error.
    TNS-12560: TNS:protocol adapter error
    Regards,
    Rishikesh

    rishikesh,
    On the RHEL4 machine
    1. check the listener:
    -check if the service name of your database is registered
    -check on which NIC/ip address the listener is listening
    2. check if you can login using TCP
    -do a tnsping of the connection descriptor you are using
    If both tests succeed, go to the client (windows XP machine)
    1. check if the RHEL4 machine responds to the ping command
    if that works:
    2. check if the hostname used in ping is the same as the hostname in the connectstring
    3. check if the service name in the connectstring is the same as in the listener
    4. check if the port number in the connectstrings is the same as in the listener

  • Unable to connect to Oracle 8i using the JDBC - OCI8

    I am unable to connect to the to the Oracle 8i database using
    JDBC 8.1.5. er. Each time I try I get the message:
    "java.lang.UnsatisfiedLinkError: no ocijdbc8 in
    java.library.path"
    When I try to establich a "connection" using the connection
    manager with JDeveloper 2.0 I get the message:
    "No ocijdbc8 in shared library path"
    What's the problem? Is it that I do not have the appropriate
    driver? It is unlikely because the thin driver works...
    null

    I dealt with this problem. For some reason OCI drivers
    installation is not included in typiclal Jdev 2.0 instalation.
    (bug?). In your instalation kit find Oracle 8i instalation disk,
    and run the installer on the client machine (i.e. the same
    machine where Jdev is installed where you were not able to
    connect with OCI-8). Choose client installation and choose
    custom installation. Than in the product list choose JDBC
    drivers. Make sure OCI drivers are included. Install it. Now you
    can find file ocijdbc8.dll in your ORACLE_HOME/bin directory.
    Now you should be able to connect using OCI-8.
    Best of luck,
    Michael Gantman
    Preslav Nakov (guest) wrote:
    : I am unable to connect to the to the Oracle 8i database using
    : JDBC 8.1.5. er. Each time I try I get the message:
    : "java.lang.UnsatisfiedLinkError: no ocijdbc8 in
    : java.library.path"
    : When I try to establich a "connection" using the connection
    : manager with JDeveloper 2.0 I get the message:
    : "No ocijdbc8 in shared library path"
    : What's the problem? Is it that I do not have the appropriate
    : driver? It is unlikely because the thin driver works...
    null

  • Connection to oracle database using jdbc

    i am using eclipse as editor.
    How to connect to the database?
    How to create a new table in oracle database through a servlet invoked
    program.
    My servlet receives input from an html page and then it can either do the above mentioned activities by itself or can invoke any other java class if necessary.

    This doesn't seem to have anything to do with JavaMail.
    You need to post this question to a more appropriate forum.

  • Connecting to Oracle database using c# project

    I m new to oracle database, Right now I am using oracle 10g XE,some how I have created all the tables procedures etc I am able to connect to the same using sqlplus/server explored/XE
    but while connecting via c# code I am getting invalid username/password error
    my connection string is
    <add key="ServerDB" value="Provider=MSDAORA;Data Source=localhost;uid=xyz;pwd=xyz"/>
    please help me in this
    I m not sure whether the provider name I m using is correct or not. please help

    For the Microsoft OleDb Provider for Oracle the connection string should look like the following:
    Provider=msdaora;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword
    Note that it's User ID and not UID. You can find more examples below, depending upon which driver/provider that you are using:
    http://www.connectionstrings.com/oracle/
    Paul ~~~~ Microsoft MVP (Visual Basic)

  • Connectivity with  oracle database using web Dynpro(for java)

    Hi,
    In web Dynpro we will connect to SAP systems by using Adaptive RFC.  Then How to connect the oracle 8i/9i using webdynpro? Plese tell me the procedure to establish the connecting using enterprise portal?
    Thanks & Regards,
    Mastanvali Shaik

    Hi,
    Check these:
    WebDynpro and Oracle using DTOs
    https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup
    Connecting Problum of SQL
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • Connect to ORACLE database using SDKODBC Wrapper

    hi everyone,
    i have tried connecting to ms access database through SDKODBC Wrapper.
    by the same way, i have also created a odbc connection from control panel-> admin tools -> ODBC connections.
    for a oracle database.
    i have also verified the URI and it says true.
    URI is some thing like this,
    "odbc://oradb?table=table_1&emp_no='123'#emp_name"
    when i am trying to connect with the oracle DB it returns ODBC error
    ISDKODBCWrapper::ODBCState mstate = sdk.Query(uri, WideString(newValue));
    if (ISDKODBCWrapper::ODBCNormal == mstate)
    do i need to configure in DB side so that it works fine?
    thanks,
    raja.

    here is the odbc trace log
    odbcad32        e98-ed8 ENTER SQLAllocEnv
      HENV *              0007BA8C
    odbcad32        e98-ed8 EXIT  SQLAllocEnv  with return code 0 (SQL_SUCCESS)
      HENV *              0x0007BA8C ( 0x00a61540)
    odbcad32        e98-ed8 ENTER SQLAllocConnect
      HENV                00A61540
      HDBC *              0007BA94
    odbcad32        e98-ed8 EXIT  SQLAllocConnect  with return code 0 (SQL_SUCCESS)
      HENV                00A61540
      HDBC *              0x0007BA94 ( 0x00a615e8)
    odbcad32        e98-ed8 ENTER SQLDriverConnectW
      HDBC                00A615E8
      HWND                00150EA2
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        1 <SQL_DRIVER_COMPLETE>
    odbcad32        e98-ed8 EXIT  SQLDriverConnectW  with return code 0 (SQL_SUCCESS)
      HDBC                00A615E8
      HWND                00150EA2
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        1 <SQL_DRIVER_COMPLETE>
    odbcad32        e98-ed8 ENTER SQLDisconnect
      HDBC                00A615E8
    odbcad32        e98-ed8 EXIT  SQLDisconnect  with return code 0 (SQL_SUCCESS)
      HDBC                00A615E8
    odbcad32        e98-ed8 ENTER SQLFreeConnect
      HDBC                00A615E8
    odbcad32        e98-ed8 EXIT  SQLFreeConnect  with return code 0 (SQL_SUCCESS)
      HDBC                00A615E8
    odbcad32        e98-ed8 ENTER SQLFreeEnv
      HENV                00A61540
    odbcad32        e98-ed8 EXIT  SQLFreeEnv  with return code 0 (SQL_SUCCESS)
      HENV                00A61540
    InDesign        8d0-198 ENTER SQLAllocHandle
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           00000000
      SQLHANDLE *         0012F6F0
    InDesign        8d0-198 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           00000000
      SQLHANDLE *         0x0012F6F0 ( 0x0fae1540)
    InDesign        8d0-198 ENTER SQLSetEnvAttr
      SQLHENV             0FAE1540
      SQLINTEGER                 200 <SQL_ATTR_ODBC_VERSION>
      SQLPOINTER          0x00000003
      SQLINTEGER                   0
    InDesign        8d0-198 EXIT  SQLSetEnvAttr  with return code 0 (SQL_SUCCESS)
      SQLHENV             0FAE1540
      SQLINTEGER                 200 <SQL_ATTR_ODBC_VERSION>
      SQLPOINTER          0x00000003 (BADMEM)
      SQLINTEGER                   0
    InDesign        8d0-198 ENTER SQLAllocHandle
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0FAE1540
      SQLHANDLE *         0012F6F4
    InDesign        8d0-198 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0FAE1540
      SQLHANDLE *         0x0012F6F4 ( 0x0fae15e8)
    InDesign        8d0-198 ENTER SQLDriverConnectW
      HDBC                0FAE15E8
      HWND                00000000
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
    InDesign        8d0-198 EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
      HDBC                0FAE15E8
      HWND                00000000
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
      DIAG [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0)
    InDesign        8d0-198 ENTER SQLDriverConnectW
      HDBC                0FAE15E8
      HWND                00000000
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
    InDesign        8d0-198 EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
      HDBC                0FAE15E8
      HWND                00000000
      WCHAR *             0x74324EC8 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x74324EC8
      SWORD                        2
      SWORD *             0x00000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
      DIAG [HY000] General error: Invalid file dsn '' (556)
    InDesign        8d0-198 ENTER SQLDisconnect
      HDBC                0FAE15E8
    InDesign        8d0-198 EXIT  SQLDisconnect  with return code -1 (SQL_ERROR)
      HDBC                0FAE15E8
      DIAG [08003] [Microsoft][ODBC Driver Manager] Connection not open (0)
    InDesign        8d0-198 ENTER SQLFreeHandle
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0FAE15E8
    InDesign        8d0-198 EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0FAE15E8
    InDesign        8d0-198 ENTER SQLFreeHandle
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           0FAE1540
    InDesign        8d0-198 EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           0FAE1540

Maybe you are looking for

  • How to achive this report.

    Hi, Scenario : Some raw materials qty are moving to a series of various machines in work in poress .Here some of materials are rejected Qty by machines and let say xyz reason. In OBI,If i pull all required columns into report all columns are pulling

  • Purchase order still contains faulty items

    Hi , While creating Purchase Order through BAPI I am getting the error : purchase order still contains faulty items How to rectify that?

  • Windows Media Player cannot play the file because the required video codec is not installed on your computer

    I can not find solution to the issue "Windows Media Player cannot play the file because the required video codec is not installed on your computer" while attempting to play the file with *.wmv extension. Some computer fail in spite of said missing co

  • A720 critical process died HELP!!

    Hi, I have a problem with my lenovo A720 and it is an upgrade to windows 8 from windows 7 pro. Now, the computer won't even turn on because of the BSOD of windows 8, the critical process died. It just keep restarting when it reaches the windows 8 log

  • Changed to BT... But haven't received full package...

    Hey,  We recently ordered the full package more or less from BT, including BT infinity 2, calls and TV.. As a change from Sky, We have had our phone line change already to BT but haven't heard anything about our broadband? When will they be likely to