Developer 6i connection to ODBC driver

Hello All,
i m trying to connect Oracle Developer 2000 6i to a MYSQL backend running on windows Server , the ODBC connection failed, but when i use SQL*PLUS 8 and Schema Builder ( come with Dev 2000 6i ) , it worked...
Just dont know why FORMS cannot connect , any one have any idea ? when connect , the is an error message appear 'r' and thats it, no proper messages , just an 'r' appear on the message box and when you press OK , it goes back to the CONNECT screen and asking for User Id again...
regards
foo haw-jan
Malaysia

Hi Frans Truyens,
This forum is for deveopers discussing
apps for Office.
Based on the description, you want to connect to the database with ODBC driver using C#. As far as I know, we can use ADO.Net to ahciev the goal.  Here is an useful link for your reference:
Connecting to an ODBC Data Source Using ADO.NET
If you still have issue about it, I suggest that you get more effective response from
ADO.NET Managed Providers forum.
Also if you have developing issue with C#, you can discuss the issues in
Visual C# forum.
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem with connecting [Microsoft][ODBC Driver Manager]

    I am employing the Apache Tomcat 5.5.During the time of execution one Exception occur which implies [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    In ordinary way of execution of DataBase connectivity(without Apache Tomcat 5.5),it can successfully done.I dont know how to connect with database with tomcat 5.5.
    Could anyone please steer me to find out the solution.

    Need to configure the server.xml file in tomcat .
    <Resource name="jdbc/myoracle" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:mysid"
    username="scott" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    More Info here
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html

  • Error in connecting oracle odbc driver 9.1.0.8

    java.SQLException:[Microsoft][ODBC Driver Manager][Driver's SQLAllocHandle on SQL_HANDle_ENV failed
    this error is raised when connecting oracle 9i database using oracle odbc 9.1.0.8 driver. please help me                                                                                                                                                                                                                                                                                                                                                                                                                               

    java.SQLException:[Microsoft][ODBC Driver Manager][Driver's SQLAllocHandle on SQL_HANDle_ENV failed
    this error is raised when connecting oracle 9i database using oracle odbc 9.1.0.8 driver. please help me                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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.

  • Visual Studio 2010 64bit cann't connect Oracle database through 64bit ODBC Driver

    Hi,
    I am developing an 64bit And-In software. My OS is windows7 64bit Ultimate. Developer tool is
    Microsoft  Visual Studio 2010 Ultimate 64bit any-CUP.
    Server is SUN server and Oracle database 10.2.0.5 64bit enterprise edition.
    I have installed instantclient-odbc-win64-10.2.0.5 on my computer.
    I am able to connect through the command line sqlplus user/pass@server.
    In date source(c:\windows\system32\odbcad32.exe), ODBC Driver connection successful.
    But in VS2010 C#, use Tools -> Connect Database,I get an error 193 (Oracle in
    instantclient10_2,c:\ora10_64\SQORA32.dll) cann't be loaded.
    SQORA32.dll is 32bit ODBC Driver or 64bit ODBC Driver?
    How can I connect database with vs2010 64bit?
    Regards

    There is no Visual Studio 2010 Ultimate 64bit as far as I know.  It's a 32 bit app.    Generally you'd need to install a 32 bit client to use the 32 bit tools.
    Hope it helps,
    Greg

  • ODBC Driver to connect to Ingres Database from OBIEE

    {font:Verdana}Hi, I have a requirement to source data from an Ingres Database into OBIEE. I have checked and found that Openlink Software provides an ODBC Driver to connect to Ingres Database from windows OS. Has any one tried this or any alternate method to source data from Ingres DB to OBIEE?
    Any pointers would be great.
    Thanks,
    Kiran{font}

    Kiran,
    +
    Sorry for bad news, but my opinion is that whatever isn't in doc that it's not supported. Oracle engineers do thorough testing and the list of compatible DBs is created. Also, even if you manage to make it work - you're going to hit a roadblock with any support issues you might have. Also, you won't be able to take advantages of certain DB-related OBIEE features. So you are're potentially exposing yourself to too many risks if anything goes wrong at mid-development stage.
    My advice would be building your DW around Oracle-supported DB.
    Good luck

  • Adobe LiveCycle Designer ES Error while Connecting to MYSQL ODBC Driver

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

  • Oracle 10g ODBC driver with Windows 7 32 bit connecting to Excel

    Hi Everyone,
    I'm having an issue connecting to our oracle 10g database (64 bit system) from a 32 bit windows 7 installation running excel 2010/2007 using odbc drivers. Our excel spreadsheets worked without issue in windows xp.
    In windows 7 I have been able to install the odbc driver via the following method:
    1. Download the oracle 'basic' client and oracle 'odbc' client from www.oracle.com and extract the contents:
    instantclient-basic-win32-10.2.0.3-20061115
    instantclient-odbc-win32-10.2.0.3-20061115
    2. Create a folder 'oracle' and place the instantclient_10_2 folder inside.
    3. Ensure all the basic and odbc files reside in this folder.
    4. Create a 'network' folder within instantclient_10_2
    5. Create an 'admin' folder within 'network'
    6. Create sqlnet.ora and tnsnames.ora files within the 'admin' folder:
    7. Run 'obdc_install' within the instantclient_10_2 folder
    8. Download and run the oracle odbc driver exe file from www.oracle.com (ORA10203.exe)
    9. Go to Control Panel -> Administrative Tools -> Data Sources and create a new System DN
    This allows excel spreadsheets connecting ONLY to oracle to function.
    Unfortunately some of our spreadsheets connect to both a MySQL database as well as oracle. Spreadsheets connecting only to MySQL also function correctly, however, as soon as the vb associated with a spreadsheet includes a mysql call followed by an oracle call the spreadsheets fail. In Excel 2007 excel crashes completely everytime. In Excel 2010 the mysql data is generated, then when the script hits to oracle odbc connection there is a long pause, the oracle ODBC driver connect pops up requesting a username/password (this didn't happen in xp), then the data source selection pops up, then the username/password connect screen pops up again, and finally it fails with a runtime error '1004' General ODBC error.
    If you look at the VB script it's failing at the Refresh BackgroundQuery statement in the ODBC connection block:
    With Worksheets("Oracle1").QueryTables.Add(Connection:= _
    "ODBC;DSN=Oracle_ODBC;UID=user;PWD=password;SERVER=ORACLE_LINUX;", _
    Destination:=Worksheets("Oracle1").Range("A1"))
    .CommandText = strSql
    .Name = "Oracle1_data"
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = True
    .RefreshOnFileOpen = False
    .BackgroundQuery = True
    .RefreshStyle = xlOverwriteCells
    .SavePassword = True
    .SaveData = True
    .AdjustColumnWidth = True
    .RefreshPeriod = 0
    .PreserveColumnInfo = True
    .Refresh BackgroundQuery:=False
    End With
    Does anyone know how to get around this? It's very important!!
    Also if you try to edit the oracle ODBC connections in Control Panels -> Administrative Tools -> Data Sources, ODBC crashes 95% of the time.
    Advice greatly appreciated!!

    Well, here's what I'd check anyway..
    1) get Process Explorer from http://sysinternals.com
    2) make a mysql connection, get a list of dll's loaded (include the location and version columns in the lower pane output)
    3) close that, then make an ora odbc connection, get a list of dlls.
    4) close that, then make a mysql connection followed by an ora odbc connection, get a list of dlls
    5) compare the lists of loaded dlls. In particular, the difference between #3 and #4, is there a dll dependency that gets loaded by oracle's odbc that comes from a different location when you've opened a mysql connection first?
    May or may not help, but might turn up a difference to help point you in a direction.
    Greg

  • 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

  • Connecting Oracle to MS SqlServer using Microsoft SQL Server ODBC Driver

    Hello,
    I have just downloaded the newly released Microsoft® SQL Server® ODBC Driver for Linux and trying to configure it to connect to SqlServer Database from Oracle using DG4ODBC
    Below are my config files:
    # odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    FILE DATA SOURCES..: /etc/ODBCDataSources
    USER DATA SOURCES..: /usr/oracle/.odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8
    cat /etc/odbcinst.ini
    [SQL Server Native Client 11.0]
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    Driver = /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1720.0
    #UsageCount = 1
    Fileusage = 1
    Dontdlclose = 1
    [ODBC]
    Trace = ON
    Tracefile = /tmp/mstestodbc.log
    cat /usr/oracle/.odbc.ini
    [DEFAULT]
    Driver = SQL Server Native Client 11.0
    [MSTEST]
    Driver = SQL Server Native Client 11.0
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    Servername = ret2axxx
    Database = testdb
    Port = xxxx
    And when I am trying to do an ODBC test using isql I am getting the below error.
    # iusql -v MSTEST username password
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
    [ISQL]ERROR: Could not SQLDriverConnect
    Any help is much appreciated!!
    Thanks,
    Steve.

    Thanks Kgronau for your response.
    I have made changes to the ODBC.ini file still getting the same error
    [MSTEST]
    Driver = /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1720.0
    #Driver = SQL Server Native Client 11.0
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    #Address = ret2axxx
    Server = ret2axxx, <port>
    Database = testdb
    and when I am trying to export odbcinst.ini export ODBCINSTINI=/etc/odbcinst.ini
    in odbcinst -j output it shows the wrong information.
    :~ $ odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc//etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    FILE DATA SOURCES..: /etc/ODBCDataSources
    USER DATA SOURCES..: /usr/oracle/.odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8
    And when export odbcinst.ini as export ODBCINSTINI=odbcinst.ini it shows the correct path.
    :~ $ odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc/odbcinst.ini
    isql -v mstest username password
    [IM005][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
    [ISQL]ERROR: Could not SQLConnect
    Thanks,
    Steve.

  • Latest ODBC driver 9.0.1.5.0 does not work/ test connection

    Hello,
    I am using an Oracle 9.0.1 database. Before, I installed the 9.0.1.4.0 (6/25/02) and the test connection in the ODBC Administrator works perfectly. I have problems to access a timestamp column. So I installed the latest available driver 9.0.1.5.0 (11/1/02). The installation did not report any errors but the test connection fails with "Unable to connect ...[Driver Manager] driver's SQLAllocHandle on SQL_HANDLE_ENV failed". What's wrong? Can I have both drivers installed in parallel?

    You can only have one ODBC driver installed per Oracle home. Unless you have multiple Oracle 9.0.1 homes, you can't have multiple 9.0.1 ODBC drivers installed.
    Have you tried re-creating the DSN you're using? This generally isn't necessary, but it's in the README that comes with new drivers because there are occasionally circumstances where it is necessary.
    Justin

  • Jdbc:odbc driver connection issues

    I need to use the jdbc:odbc driver to access a non-oracle db from a jsp. I am sure my dsn is fine as I can use a non JSP java app to connect to the odbc db. I have loaded the sun.jdbc.odbc classes in the schema I am working in as it is not loaded by default in 9.2.0.7 currently I am on a windows system. I have found the following:
    public static void doTest()throws Exception{
    // load the local Oracle Driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    connLocalOracle = new OracleDriver().defaultConnection();
    // load the odbc driver
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    if I exit at this point the jsp does not through an exception
    however if I include the line:
    connODBC = DriverManager.getConnection(odbcURL,"XX","XX");
    I get the error:
    SQL> execute do_jdbc_odbc_test;
    BEGIN do_jdbc_odbc_test; END;
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.UnsatisfiedLinkError: sun.jdbc.odbc.JdbcOdbc.allocConnect
    ORA-06512: at "TU1.DO_JDBC_ODBC_TEST", line 0
    ORA-06512: at line 1
    So I am assuming I am loading the driver but the driver is not talking to the odbc configuration in windows.
    What permissions would I need to give to the user to allow this connection to occur?
    How can I find out if this is indeed the case?
    If not how can I make this connection happen using ODBC?

    If by jsp you mean Java Stored Procedure, the hybrid JDbc-ODBC stack won't work. You can connect to non-Oracle RDBMS from within Java in the database by using a pure Java JDBC driver of the target RDBM. Fwiw, a complete example connecting to SQl Server from with JavaDB is described in my upcoming book. (See http://db360.blogspot.com/)
    Kuassi

  • Problem using JDBC to connect to WBEM ODBC driver

    Hello,
    I've got a problem to connect to WBEM ODBC driver using JDBC. The error is:
    exception due a la requetejava.sql.SQLException: [Microsoft][WBEM ODBC Driver]Unable to connect
    When I try to connect to a MS access database, replacing only the ODBC source name, it's working. I can access to the MS access db. But when I put the WMI ODBC source name, WMI, I've got this error.
    Does anybody know what could happened? Is it possible to access to WMI through JDBC? With MS access, accessing WMI ODBC is working !
    Thanks very much for your help.
    Here is the part of the source code :
    import java.sql.*;
    import java.io.*;
    public class Main_1 {
    /** Creates a new instance of Main_1 */
    public Main_1() {
    * @param args the command line arguments
    public static void main(String[] args) {
    try {
    String url = "jdbc:odbc:WMI";
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection(url);     
    String query = "Select * from Win32_Processor";
    //String query = "Select * from test;";
    ResultSet results;
    Statement stmt = con.createStatement();
    results = stmt.executeQuery(query);
    //System.out.println (results);
    catch(Exception e){
         System.out.println("exception due a la requete" + e);
    e.printStackTrace();
    }

    you have to first start the network listener before you can run the program
    start TNSLSNR before running the jdbc program

  • Not able to connect to database using Oracle ODBC Driver

    Hi,
    I have installed Oracle client on a system. there are 2 homes installed. When I check the ODBC administrator, I see that only one ODBC driver is present. There are Net 8 services configured in both the homes.
    When I try to connect to a database with the services configured in the second home using the ODBC driver, I am getting an error that the TNS name could not be resolved.
    How can I use the ODBC driver to connect to the databases using services defined in the second home?
    The name of the ODBC driver is 'Oracle in <firsthomename>
    Thanks & Regards

    Hi,
    Thanks for the help.
    I tried this, but it doesn't work. I'm still getting the error.
    Now I am not able to create a DSN when I set the ORACLE_PATH to the second home. It says 'the setup routines for the Oracle in ora1 ODBC Driver could not be loaded due to system error code 998.'
    Any other solution?
    Thanks in advance & Regards
    Anuja

  • How to connect Sql Server 2000 using JDBC ODBC Driver

    How to connect Sql Server 2000 using JDBC ODBC Driver ?
    plz Send Syntax.
    thanks

    In SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
    The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
    Class.forName(
      "com.microsoft.sqlserver.jdbc.
      SQLServerDriver");
    String url =
      "jdbc:sqlserver://localhost:1433";
    Connection conn = DriverManager.
      getConnection(
      url, "sa", "sqlserver");

Maybe you are looking for

  • Could not connect to store

    Everytime I try to log into to the store I get error "iTunes could not connect to the music store. The network connection was reset." And this account was set to be able to set up on two computers. It works on one but not this one.

  • How can I add the score of external swfs.

    How can I add the scores of the different levels of the game that I created wherein each level are all different swfs which is loaded by the loader class.

  • Assigning HU to line items of Transfer Order

    Hi , Can any one help me with a function module to assign destination storage unit number to line item of Transfer order. Thanks , Kanchan.

  • TDS Upgrade Issue from 2007 B to 8.8

    Hi I am upgrading TDS Data of  SAP 2007B PL19 to  SAP 8.8 , for that  I  started with TDS Utility & prepared excel sheet . After so many hit & trails with errors, reached at a point where XL sheet is not giving any kind of error. Not passed. Refer to

  • Locked Image Files in Bridge

    When I was working in Photoshop CS2 yesterday, I opened Bridge to look at some image files. I wanted to rate some of the images with color labels. Several of the image files had the "Lock" icon and would not allow me to rate the image. I have no idea