Oracle 9i DB ODBC Connectivity Problem

i have oracle 9i release 9.0.1.0.1 and i want to use the oracle 9i DB in my VB Appplication how can i connect to the DB and what driver should i use.

You will need to install the Oracle client on whatever machine(s) your application will be running on. The Oracle client will include a version of the Oracle ODBC driver. You can download an updated version from OTN, you just need to make sure that you match the version of the driver and the version of the Oracle client, i.e. the 9.2.0.x Oracle ODBC driver should be used on a 9.2 Oracle client, the 9.0.1.x Oracle ODBC driver should be used on a 9.0.1 Oracle client.
Realistically, it doesn't matter much which version of the Oracle client you use. All else being equal, I would probably install the 9.2 Oracle client, but if other versions of the client are already installed, I wouldn't sweat it too much.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Odbc connectivity problem

    Hi all,
    when i am installing ECC 5.0 i got below error.
    "odbc connectivity problem, error executing sql command"
    what may be the reason.
    plz give me some solution.
    vinnu.

    Hi Vinay
    Check if your database is up and running.

  • ODBC Connection problem with SQL Native Client driver with CR 11

    I am having an issue connecting my crystal reports to an ODBC connection that uses the SQL Native Client driver (Version 2005.90.2047.00).  My reports work fine when using the SQL Server driver (Version 2000.85.3006.00).   The ODBC connection is setup to use Integrated Windows Authentication and is defaulted to go to the correct database.  When I test the ODBC connection in the 'ODBC Data Source Adminstrator' it connects fine.
    The reports are trying to connect to stored procedures on a SQL Server 2005 database.  I can log onto the ODBC connection in CR X1.  When I try to set the Datasource connection for one of my reports to the ODBC connection I created, I get the following error:
    'Some tables could not be replaced, as no match was found in the new data source.  Please specify the table required for any unmodified tables.'
    When I drill down to the SP and try to update the datasource location of the SP directly I get the following errors:
    'Data Object cannot be opened/accessed'
    and
    'Unknown Database Connector Error'
    As I said, I don't have any problems when using the SQL Server 2000 driver.  One other thing to mention, when I initially connect to the ODBC connection in CR X1 with the SQL Native Client driver, it asks for a username and password.  I leave these blank since I'm using Windows Authentication.
    Any advice would be appreciated.
    System:
    Windows XP
    Service Pack 3
    Crystal Reports XI:
    Product Version 11.0.0.1282

    Hi Jeff,
    I just tried to create a new report using the native driver and there is no option to use Trusted Authentication. This would be why it's failing.
    I don't believe we fully supported Native driver in Cr XI. Try downloading CR Xi R2 and install SP6 from this info:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I tested it in R2 and the Trusted Authentication option is there so your reports should work.
    Thank you
    Don

  • JDBC-ODBC connectivity problem

    hi ,i have a j2se 1.4.2 version installed on windows 2000 professional.i have j2me wireless toolkit 2.0,Oracle 8i(8.1.5),tomcat 4.0 running on system.I have tried to connect to the database in Oracle through JDBC-ODBC bridge but it becomes non-responsive.The same has been working well with Oracle 9i versions and also in Oracle 8i when ODBC driver is selected as Microsoft ODBC drivers for Oracle but not with Oracle drivers for Oracle.Can anybody tell me the compatibilities of JDBC-ODBC bridge versions,oracle and ODBC drivers? And can u tell me how to connect to oracle through a pure Java JDBC drivers on a standalone system?

    well,i think nobody has interest in my question.I have asked two questions.
    1)Can anybody tell me the compatibilities of JDBC-ODBC bridge versions,oracle and ODBC drivers?
    2)And can u tell me how to connect to oracle through a pure Java JDBC drivers (type 4 drivers) on a standalone system?
    But u advise me not to use JDBC-ODBC bridge without studying the other part.

  • RPAS ODBC connection problem

    I’m working on integration of OBIEE and RPAS, and I could use some help. Could anyone help me with a problem?
    I’m trying to connect the RPAS ODBC driver from my pc to the RPAS running in a Linux Virtual Machine.
    I’ve already connected that to the Management Console and, when I create an ODBC connection the Service Data Source names are presented to me (I think the connection is working). But, when I try to test the connection, I receive a message telling the connection was closed(dropped?) unexpectedly.
    any ideia of whats happening?

    Hi Jeff,
    I just tried to create a new report using the native driver and there is no option to use Trusted Authentication. This would be why it's failing.
    I don't believe we fully supported Native driver in Cr XI. Try downloading CR Xi R2 and install SP6 from this info:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I tested it in R2 and the Trusted Authentication option is there so your reports should work.
    Thank you
    Don

  • JDBC - Oracle 8.1.7 Connection Problem

    Hi,
    Things were working great as long as i was with Oracle 8.1.6. All hell broke loose as soon as i tried to connect to Oracle 8.1.7. Only the IP, Service name, DB_Id & Db_Pass has changed in the connection string. Yet on the below statement
    DriverManager.getConnection("jdbc:oracle:thin:@192.168.172.34:1521:epcjobs","epcperf","epcperf");
    i get the following exception
    java.sql.SQLException: Protocol violation
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:391)
    at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:651)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:172)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    Seems some problem in the protocol or sub-protocol name or do i have to change my Oracle Drivers?
    If any one has encountered this issue, please enlighten me.
    Note: I can connect successfully using SQL+.
    many thanks in advance,
    Pawan

    Just a guess...
    The Oracle comm processes (net8 or whatever it is called) allows for different protocols to communicate. Your server is set up for a different protocol than the old one was. Either the client or the server needs to adjust.
    You can test this by creating a TSN and using sqlplus to connect. Once it works open up the TSN file (*.ora?) and get the correct params from there.

  • 32 bit vs 64 bit odbc connection problems

    Good morning,
    I am trying to connect a powershell script that worked fine on a 32 bit system, but now will not work on a 64 bit system.  This script connects to a odbc connection and connects to a remedy ticket system and pulls information to move over to my Outlook
    calendar.
    The error am getting is:
    Exception calling "Open" with "0" argument(s): "ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application"
    At C:\Users\Public\Documents\RemedyCRQ.ps1:25 char:17
    + $connection.Open <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    The code that is running this is below:
    $script:showWindowAsync = Add-Type –memberDefinition @”
    [DllImport("user32.dll")]
    public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);
    “@ -name “Win32ShowWindowAsync” -namespace Win32Functions –passThru
    $null = $showWindowAsync::ShowWindowAsync((Get-Process –id $pid).MainWindowHandle, 2)
    $connection = New-Object System.Data.Odbc.OdbcConnection
    $command = New-Object System.Data.Odbc.OdbcCommand
    $command.Connection = $connection
    $remedyTickets = @()
    $connectionString = "DSN=remedy"
    $connection.ConnectionString = $connectionString
    $connection.Open()
    I would appreciate it if someone had some insight to offer.  I've looked around and have created the ODBC connection on the 32 bit odbc version c:\windows\sysWOW64\odbcad32.exe.  Doesn't seem to have changed anything.  Ive created it both
    as a user and system DSN.

    Add the below code in to your Script.
    if ([environment]::Is64BitProcess -eq $True)
    C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -File "script filename"
    Exit
    Note: The path I used is for Windows 7, you need to figure out the path for your OS.
    S.Arun Prasath

  • Jdbc-odbc connectivity problem in[b] wsad5.1.2[/b]

    while i Try to access the msaccess database using sun.jdbc.odbc.JdbcOdbcDriver,the server is giving the error class not found....sun.jdbc.odbc.JdbcOdbcDriver......
    I have already rt.jar containing this class in my jre...
    The same thing i tried in wsad5.0 and it is working abs fine....
    If anyone has got a time to solve tis query plz help me out...
    Its urgent......

    well,i think nobody has interest in my question.I have asked two questions.
    1)Can anybody tell me the compatibilities of JDBC-ODBC bridge versions,oracle and ODBC drivers?
    2)And can u tell me how to connect to oracle through a pure Java JDBC drivers (type 4 drivers) on a standalone system?
    But u advise me not to use JDBC-ODBC bridge without studying the other part.

  • ODBC Connection problems

    If anyone can help, please do - I've been at this for 8 hours now and am no further forward!
    I'm trying to create a form with about 10 fields (2 of which are drop down lists) that users will enter data into over an intranet. The data should then go into an Access 2000 table sitting on a server.
    For the moment though, everything I'm doing is local to my own PC (no test environment)and I've created the ODBC links through system DSN. The connection tests fine, but when I try to link to my table within Adobe Designer (the OLEDB Connection Dialog box) I get a "Could Not Open Table "tablename"" error message.
    I've noticed that at this point, my access lock file appears in my file system but this shouldn't make a difference - I've written fairly complex sytems using basic Access built in tools but this is a flat file so should be simple (or so I thought). I also can't delete the lock file until I come out of the designer.
    I don't know where to start with XML, SQL or VB so everything I'm using is built into the software. I've read most of the forum postings and I'm hopeing that as a lot of you know much more about web technologies that this NewB you'd be able to help....
    Thanks in advance.
    Stephan Donnelly

    I have a simular problem when using following connection string there is a error:
    Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=MS Access Database;DBQ=C:\Access2000\text.mdb;DefaultDir=C:\Access2000;DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin;"
    Connection sor Source XXXXX faild because the environment is not trusted
    How can I make the environment trusted?
    /Ulf

  • Oracle-sql developer database connection problem

    hi all,
    i tried creating a new connection in SQL developer but unable to create.
    i tried with all the combinations such as
    connection name:hr_orcl
    username:hr
    password:hr
    connection tyrpe:basic,Role:default
    hostname:localhost/ip address of my system
    port:1521
    SID:xe/orcl
    But still it is hsowing as " network adapter could not establish the connection".
    So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
    Thanks,
    Rajesh P.
    9949254433

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rajesh>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
    :08
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 28-DEC-2012 08:20:36
    Uptime 0 days 0 hr. 0 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\rajesh>

  • Differences between Oracle 10G Client ODBC from 10.1.x to 10.2.x (datatype)

    What differences where implemented to Oracle 10G Clients ODBC connectivity drivers between 10G Release 1 and Release 2 concerning datatypes?
    I have an application that performs a qualified read returning a group of records (this is successful) and then performs a delete on each record read. No errors occur on completion of the application. When using release 1, the records are physically removed. Using release 2 a portion of the same group of records are not removed. The key for the table is a numeric field with six decimal places (not my design). My applications C code defines the field as a DOUBLE.

    I certainly agree that something changed. The question is whether it was a change in function or not. With a lot of these sorts of errors, tracking down the "source" of the error involves finding a change in a piece of code that allowed what was always possible to actually occur. That is, you may have two pieces of code that are functionally identical but that end up allowing the sorts of "round off" errors that are always possible when using doubles. The driver might, for example, now be going down a code path where it shifts a number to the right or left rather than dividing or multiplying by 2, which may make this sort of thing more likely. Functionally, given that doubles don't guarantee infinite precision, these operations are identical, but one may be significantly more likely to cause problems.
    Is your application using the ODBC API directly? Or is it going through a higher-level API? If you are going through ODBC directly, you might look to see whether the data types that are being returned by the driver to your code are the same across driver versions.
    Justin

  • Frm-40375 and ora-306500 with ODBC connection

    Hi experts,
    I am getting frm-40375 , ora-306500 when clicking a button on form , the code behind the button is actually connecting to a database other than oracle using the ODBC connection and importing data in variables and than inserting in an oracle table.
    The error only appears on other PCs and not on my pc , means there is no problem in the code and is working fine on my pc (importing the desired data when using my pc).
    The question is what is missing on other PCs or in other words what is additional component in my PC.
    Please tell when and why this ora-306500 occurs.
    Hope I defined the problem correctly.
    (the following is part of the code
    connection_string:='user/pass123@ODBC:abcd123';
         connection_id := EXEC_SQL.OPEN_CONNECTION(connection_string);
         cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
    Using Oracle 9i Database
    and 6i Forms
    Thanks in advance
    Edited by: zulfffi on Jun 29, 2010 11:08 PM

    ora-306500I seriously doubt this is actual error code.
    AFAIK - Oracle errors have not yet reached 6 decimal places.
    please use COPY & PASTE in the future

  • ODBC connection to Oracle 7 will not reset

    We are using Oracle JDBC drivers for all but one of our
    datasources which is an old Oracle 7 database. The ODBC connection
    to this database will not reset when the database is bounced or the
    database server is rebooted. We have to restart the ODBC service to
    reset the connection. Is there another way to do this automatically
    or perhaps another driver out there we can use? We are running
    ColdFusion MX 6.1 Enterprise.

    Wow, I can't believe that you are still using Oracle 7. In
    fact, unless you are on 7.3.4 you aren’t even Y2K compliant.
    Of course, I'm not even sure if there is an upgrade path from 7.x
    to 10g, but I would consider migrating off of 7 to anything else.
    Otherwise, you are going to have more and more compatibility
    problems. In fact, you can no longer even get ODBC drivers from
    Oracle for versions older than 9i.
    Good luck.
    Phil

  • Can't Create the ODBC connection for Oracle 10g

    Hi,
         I am working with Oracle 10g Database Release 2 in windows XP professional. I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator library
    Please help me how can I solve this problem and create the ODBC connection for oracle 10g database.
    Best Regards,

    mwz wrote:
    I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator libraryThe symptom described is typical of an incorrect system env PATH setting (used by the data source admin tool), compared to that of the Oracle Home (specifically, path $OH/bin). The odbc driver config routine will search directories listed in PATH variable for necessary libraries (Client dll's). If some library fails to load (from e.g. oraoci*.dll or oraclient10.dll) it will probably error out, as in your case.
    Are you creating the odbc dsn on the databse server host or on some other machine? I.e. are you using the db host as a client or not?

  • How to use ODBC connection specified on Linux containing Oracle BI EE 11g on BI Administration?

    I have Oracle BI server (OBIEE 11g) installed on a Linux machine. I want to use a MySQL database running on same machine for reporting. I need to create Subject Area from the MySQL database.
    However, I am having problem creating connection pool from the MySQL database. BI Administration runs only on Windows and I can't see ODBC connections on Linux even when I opened BI from Linux in online mode in BI Administration. I have created ODBC on Windows, but it's giving me a "Failed to perform requested action" when trying to import metadata.
    For the record, everything works fine when everything is installed on Windows.

    check this Setting Up Data Sources on Linux and UNIX

Maybe you are looking for

  • HP LaserJet P1102 firmware update freezes

    HP LaserJet P1102w setup will not allow me to get the firmware update because it says I must complete all print jobs first. Only print job is the Test Page, which never printed at the end of the registration/install process.

  • Error using multiple subqueries in a from statement - sorry so long

    From the query below, my results should only be 3 rows but, for whatever reason, I'm getting 3 of each operation number. Can someone PLEASE tell me why this is looking more than once? Version - Oracle 9i Here's the query select base.equivalent_operat

  • Why XI if scenario is only file to file

    hi friends my customer interacts with 6 to 7 partners in their day-to-day business.  Only the customer uses SAP platform and the rest of the partners are using non-SAP technologies.  However, the preferred medium of communication between the customer

  • Can iTunes PDF podcasts automatically import to iBooks?

    I subscribe to a podcast that produces PDF and ePub documents. Is there a way to have those automatically sent to iBooks without me having to do anything? For instance, when the podcast comes out it would automatically show up in my iBooks app. Is th

  • Cannot Install Snow Leopard on Macbook Pro 7,1

    Hello guys, I've recently bought a USED Macbook Pro, which has installed Mac O SX Lion (10.7) The thing is I need to install Snow Leopard and I can't do it. I have tried by simply clickin on the Installer Icon and also by booting pressing the key "Op