ODBC IN WIN95 & NT

제품 : ODBC
작성날짜 : 1997-10-10
The ODBC (Open Database Connectivity) interface allows applications to
access data in DBMS ( Database management systems) using SQL(structured query language). Oracle ODBC driver is a DLL that implements ODBC
function callsand interacts with a data source.
The flow of control when communicating from an application through
ODBC to Oracle database is as shown below.
Application
|
ODBC driver manager
|
Oracle7 ODBC Driver
|
OCI layer
|
SQL*Net Driver
|
Network Software
( PCTCP, Novell NetWare, Microsoft LAN Manager, etc,.)
|
SQL*Net Listener
|
Oracle7 RDBMS
When a third party application communicates with the Oracle database
in a Client/Server environment, several dynamic link libraries are
involved. ODBC driver is a DLL that implements ODBC function calls.
The ODBC driver communicates with the OCI layer. The DLLs used in
the OCI layer are part of Required Support Files. Required Support
Files are bundled with SQL*Net. Each version of the ODBC driver is
linked with a specific version of RSF. Each version of SQL*Net is
also dependent on a specific version of RSF. The matrix below shows
the dependency.
ODBC driver| 16/32| Supported | Supported | RSF version | RDBMS
version | bit | Platforms | SQL*NET ver| used | version
1.11.00.05 | 16 | Windows | 2.0.X | 7.0.X | 7.0
| bit | 3.1X | for Windows| |
| | | | |
1.11.01.05 | 16 | Windows | 2.1.X | 7.1.X | 7.1
| bit | 3.1X | for Windows| |
1.14.01.00 | 16 | Windows | 2.2.X | 7.2.X | 7.2
| bit | 3.1X | for Windows| |
1.15.3.0.1A| 16 | Windows | 2.3.X | 7.3.X | 7.3
| bit | 3.1X | for Windows| |
1.15.3.1 | 16 | Windows | 2.3.X | 7.3.2.1.1 | 7.3
| bit | 3.1X | for Windows| |
1.16.3.1A | 16 | Windows | 2.3.X | 7.3.2.1.1 | 7.3
| bit | 3.1X | for Windows| or later |
1.13.05.00 | 32 | Windows NT | 2.2.X | 7.2.X | 7.2
| bit | 3.1/3.51 | (32-bit)~~ | |
| | and | | |
| | Windows95 | | |
1.13.05.04 | 32 | Windows NT | 2.2.X | 7.2.X | 7.2
| bit | 3.1/3.51 | (32-bit)~~ | |
| | and | | |
| | Windows95 | | |
1.15.3.0.1A| 32 | Windows NT | 2.3.X | 7.3.X | 7.3
| bit | 3.1/3.51 | (32-bit)~~ | |
| | and | | |
| | Windows95 | | |
1.15.3.1 | 32 | Windows NT | 2.3.X | 7.3.X | 7.3
| bit | 3.1/3.51 | (32-bit)~~ | |
| | and | | |
| | Windows95 | | |
1.16.3.1.0A| 32 | Windows NT | 2.3.X | 7.3.2.1.1 | 7.3
| bit | 4.0 and | (32-bit)~~ | or later |
| | Windows95 | | |
~~ : You must use SQL*Net for Windows NT, if you are running your
application
on Windows NT. If you are running your application on Windows 95,
you must use SQL*Net for Windows 95.
NOTES:
If you are running an ODBC driver not listed in the above matrix, we
strongly recommend that you upgrade your ODBC driver.
Basics:
If your application is a 32-bit application, you must use 32-bit Oracle
ODBC driver and 32-bit SQL*Net for the platform, your application is
targeted. For a 16-bit application, you must use 16-bit Oracle ODBC
driver along with SQL*Net for Windows(16-bit).
SQL*Net Version 1.X
If you are using SQL*Net Version 1.X, your connection should work
against 7.2 or older Oracle databases. SQL*Net Version 1.X was
de-supported June 30,1996. We recommend that you upgrade your SQL*Net.
Connecting to Standalone Personal Oracle Database:
If you connect to a local, standalone Personal Oracle database, you
will use a two-task driver ( In the above flow chart the two-task
driver will replace SQL*Net). The connect string is 2:<SID> where
<SID> is the instance ID. The default SID is ORCL. (no period)
ODBC Documentation:
The Oracle7 ODBC driver comes with on-line help. The help file name
is DRVORA7*.HLP * could take values NULL, 1, or 2 depending upon the
version of the Oracle ODBC driver installed.
For ODBC API documentation, refer ODBC 2.0 Programmer's Reference and
SDK Guide from Microsoft Press. The online version of ODBC 2.0
Programmer's Reference and SDK guide is part of MSVC++ compiler.
Version of Oracle product: How to find ?
To find the versions of Oracle software installed on your machine run
the Oracle installer (ORAINST.EXE). In case of errors, versions
numbers are an important part of problem definition.
Common ODBC Q&A
Q. I have two ODBC drivers, 1.11.0.5.0 and 1.11.1.5.0. Which driver
should I install?
A. The version of the ODBC driver you will install is dependent on the
Required Support Files (RSF) you have on your system. If you are
running RSF 7.0.X, you need to install 1.11.5.0. If you are running
RSF 7.1X, you need to install 1.11.1.5.0.
You can find the RSF version by running ORAINST.EXE, the Oracle installer.
When ORAINST.EXE is run the Software Asset Manager displays the
products
available to install as well as those products already installed.
Search for the Required Support File and make note of the version.
Q. What other products do I need so that the ODBC driver works?
A. You definitely need the appropriate SQL*Net version (16-bit or 32-bit).
Make sure that SQL*Net is installed and configured correctly before you
try to connect through ODBC. For example, if you are using 32-bit ODBC
driver for Windows 95, and TCP/IP is your protocol, you must have SQL*Net
for Windows 95 (TCP/IP) installed and configured, before you can make a
connection through ODBC.
Note: If you are connecting to a standalone Personal Oracle7 for
MS Windows, you do not need SQL*Net. Personal Oracle7 uses a two
task driver - SQL2TT.dll to connect to its standalone databse.
32-bit ODBC driver required 32-bit SQL*Net and
16-bit ODBC driver requires 16-bit SQLNet.
You also need the appropriate version of Required Support Files installed
on your system.
Error: specified driver could not be located
solution:
a) Check the odbc driver is present (see 1. above) and pointed to.
b) Check correct RSFs are installed and OH\bin is on the DOS path.
For Windows can set the DOS path in autoexec.bat or before
running windows. For Win 95 can only set in autoexec.bat. For
NT can set in autoexec.bat but usually through Control Panel,
System - has list of system environment variables.
c) For older installs nettest may be available else may have
tnsping. If this or any Oracle product can connect then the
net (and Sqlnet if Oracle product) is ok.
Error: error occurred in networking software, check log file
c:\msocklib.txt
but only from ODBC connections - other oracle products are fine.
Log file: TSR/DLL version incorrect
Solution:
a) Check the version of msocklib.dll. Sqlplus etc often picks up
the correct one whereas ODBC will use the DOS path. Ensure
OH\bin is first in the DOS path.
Problem: Have ODBC 1.11 and Sqlnet 2.2 and getting gpfs in nls dlls etc.
Solution:
a) Generally any version of the RSFs can call any equivalent or
later version of Sqlnet. In 2.2 of Sqlnet they changed the
calls so they were no longer backwardly compatible. This was
fixed in Sqlnet 2.3. Thus 7.0 and 7.1 RSFs can use net 2.0, 2.1
or 2.3.
Problem: Want to connect to a V6 database.
Answer: Can't. ODBC queries the dictionary views which changed in O7.
Problem: Using Lotus Approach version 3.0 and having various problems,
eg no tables being retrieved for users.
Solution: Get a patch from Lotus to take Approach to version 3.0.2.
Problem: VB Enterprise Edition (4.0) provides a remote data control.
This gives "driver not capable" errors.
Reason: The data control uses RDO which we would not support most
features of anyway since RDO is ODBC level 2 (see compliancy
above). There is also a bug (371374) that prevents any part
of it being used.
Problem: Calling a stored procedure from Visual C++ with an out
character parameter gives ora-6502: numeric or value error.
Solution: a) initialise the C variable before it is passed to the
procedure.
b) make the C variable a char and not an unsigned char (uchar).
Problem: Getting a "driver not capable" error when calling
SQLBindParameter or SQLSetParam.
Solution: Change any references to SQL_C_ULONG or SQL_C_SLONG to
SQL_C_LONG (equivalent of SQL_C_SLONG). SQL_C_ULONG and
SQL_C_SLONG are level 2 datatypes and so not supported.
Note SQLBindParameter is also level 2 but is allowed since
our drivers simply convert the calls to SQLSetParam.
Problem: With NLS settings such that the NLS_NUMERIC_CHARACTERS are
the opposite to usual (G = . and D = ,) a fetch of a decimal
number gives "SQLSTATE: 22005, Native Return Code: 0" errors
when querying through ODBCTEST, MS Query etc.
Solution: This is a bug (297648) which is fixed in the 1.16 ODBC drivers.
Question: Is there an ODBC driver for use with Java?
Answer: JavaSoft is currently writing one for Oracle 7 on SUNOS.
General Suggestions:
Please read the release notes and the online documentation. They contain
important information.
In case of error, please write down the entire error message as seen on the
monitor(screen). An error message is key in finding the problem.
Where can I get Oracle ODBC drivers?
The Oracle ODBC drivers are available as free products on the world-wide web.
The URL is http://www.oracle.com/

try to use trust connection in sql server
and it will work

Similar Messages

  • Can't set up the ODBC in a Win95 machine

    I was trying to setup an ODBC to Oracle from my machine, but I can't.
    At first time I was using MS ODBC to Oracle ver. 2.573.6019.00. but it was sending the following error:
    The Oracle(tm) client and networking components were not found.
    I already got these components, I got:
    Oracle Net8client
    I don't know if is there a problem if I have them installed at my D: drive ?
    Next thing I try was to install the ODBC driver from oracle.
    And I install the Oracle 7.3 ODBC driver. and client software (and uninstall the 8 ver.)
    there were no aparently problems, but my Access DB says:
    Connection to ODBC ODBC2Oracle fails.
    Then I thuogth it was the Oracle Version. and I try with the ODBC ver. 8 and client SW(uninstall the 7.3 ver.)
    but it says.
    the setup routines for the ODBC driver ODBC driver cloud not be loaded due to system error code 31.
    and then
    cloud not load the setup or traslation library.
    I don't know what else to do, so if somebody knows I will be very thanksfull.

    I recently had similar errors on a Win95 PC. The Personal Oracle
    for Win98 CD wouldn't install on a Win95 PC.
    I upgraded to Win98 and it installed and worked.
    FYI
    The following regards Oracle ODBC drivers-
    You must have an Oracle product with SQLNet installed before you
    can make the Oracle ODBC driver work.
    The version of the ODBC driver to get is supposed to correspond
    to the SQLNet or Net8 Client version you're running.
    You should only install the version of the ODBC driver that
    matches the version of the Oracle client you have. In other
    words--
    ODBC driver     Oracle client
    8.0.5.10      8.0.5.x.x
    8.0.6.2      8.0.6.x.x
    8.1.5.7      8.1.5.x.x
    8.1.6.2      8.1.6.x.x
    Start up the Oracle installer and look at the list of products
    already installed.
    After installing the Oracle8 ODBC Driver and Configuring Net8
    database services, and
    before using the Oracle8 ODBC Driver, you must configure the data
    source.

  • Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver

    I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
    First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
    SQLSTATE: NA000
    Native Error Code:0
    Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
    This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
    Does anyone have any fixes, recomendations, or advice?
    Thank you,
    Eric Edwards
    null

    Why are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
    Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
    name.domain.subdomain
    then you should try using this full name when configuring the ODBC data source.
    null

  • Connecting Win95 - Oracle/Linux Server

    Hi,
    I recently purchased a 5 client license for Oracle Linux. I
    installed the server on my Redhat 5.2 machine and the
    Net8/SqlPlus client on my win95 box. I have a billing system I'm
    trying to install (PRISM, www.isppower.com) with the client on
    the win95 and the database on Linux. I can run Net8Assistant
    and create a name (PRISM) for the server. I can connect to the
    name using SQLPLUS. I created a new user, tablespace, tables and
    data using the scripts that come with the billing system. All
    this worked using SQLPLUS on the win95 box connecting to the
    linux server. Now, when I try to run the billing application
    which uses ODBC I get an error that Oracle cannot find the name
    server. This is coming from the ODBC driver.
    Using NetAssistant I can't find any Oracle Name servers. The
    only thing I'm running on the linux box is the database (dbstart)
    and the listener (lsnctrl start).
    The listener status give this output (not permission denied
    problems on the TNS entries)
    LSNRCTL for Linux: Version 8.0.5.0.0 - Production on 04-DEC-98
    11:03:17
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ORCL))
    TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    Linux Error: 13: Permission denied
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=PNPKEY))
    TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    Linux Error: 13: Permission denied
    Connecting to
    (ADDRESS=(PROTOCOL=TCP)(Host=foobar.crocker.com)(Port=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 8.0.5.0.0 -
    Production
    Start Date 02-DEC-98 12:50:13
    Uptime 1 days 22 hr. 13 min. 3 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File
    /usr/oracle/product/8.0.5/network/admin/listener.ora
    Listener Log File
    /usr/oracle/product/8.0.5/network/log/listener.log
    Services Summary...
    ORCL has 1 service handler(s)
    extproc has 1 service handler(s)
    The command completed successfully
    Any suggestions?
    -Matt
    null

    Hi Matthew...
    The problem is your ODBC- Call, for sure. Are there some more
    informations ? 16bit ? 32 bit ? Which type of net ? Is your
    odbc-driver capable for Net8 ? Will you give an description of
    your dsn ?
    Some suggestions...if your odbc-call is not Net8 capable, try the
    following in your registry:
    hkey_local_machine -> software -> oracle
    add TNS_ADMIN
    value C:\ORAWIN95\NET80\ADMIN
    which references the path for your tnsnames.ora file
    Hope it works
    Regards
    Mathias
    Matthew Crocker (guest) wrote:
    : Hi,
    : I recently purchased a 5 client license for Oracle Linux. I
    : installed the server on my Redhat 5.2 machine and the
    : Net8/SqlPlus client on my win95 box. I have a billing system
    I'm
    : trying to install (PRISM, www.isppower.com) with the client on
    : the win95 and the database on Linux. I can run Net8Assistant
    : and create a name (PRISM) for the server. I can connect to the
    : name using SQLPLUS. I created a new user, tablespace, tables
    and
    : data using the scripts that come with the billing system. All
    : this worked using SQLPLUS on the win95 box connecting to the
    : linux server. Now, when I try to run the billing application
    : which uses ODBC I get an error that Oracle cannot find the name
    : server. This is coming from the ODBC driver.
    : Using NetAssistant I can't find any Oracle Name servers. The
    : only thing I'm running on the linux box is the database
    (dbstart)
    : and the listener (lsnctrl start).
    : The listener status give this output (not permission denied
    : problems on the TNS entries)
    : LSNRCTL for Linux: Version 8.0.5.0.0 - Production on 04-DEC-98
    : 11:03:17
    : (c) Copyright 1997 Oracle Corporation. All rights reserved.
    : Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ORCL))
    : TNS-12546: TNS:permission denied
    : TNS-12560: TNS:protocol adapter error
    : TNS-00516: Permission denied
    : Linux Error: 13: Permission denied
    : Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=PNPKEY))
    : TNS-12546: TNS:permission denied
    : TNS-12560: TNS:protocol adapter error
    : TNS-00516: Permission denied
    : Linux Error: 13: Permission denied
    : Connecting to
    : (ADDRESS=(PROTOCOL=TCP)(Host=foobar.crocker.com)(Port=1521))
    : STATUS of the LISTENER
    : Alias LISTENER
    : Version TNSLSNR for Linux: Version 8.0.5.0.0
    : Production
    : Start Date 02-DEC-98 12:50:13
    : Uptime 1 days 22 hr. 13 min. 3 sec
    : Trace Level off
    : Security OFF
    : SNMP OFF
    : Listener Parameter File
    : /usr/oracle/product/8.0.5/network/admin/listener.ora
    : Listener Log File
    : /usr/oracle/product/8.0.5/network/log/listener.log
    : Services Summary...
    : ORCL has 1 service handler(s)
    : extproc has 1 service handler(s)
    : The command completed successfully
    : Any suggestions?
    : -Matt
    null

  • ODBC with Forte

    Has anyone built an application using ODBC with Forte? We are in the
    process of doing this but have no clear understanding of what we have to
    do to use ODBC. Do we get rid of all the SQL we have created? Do we
    by-pass Forte's database access functions? I have called Forte on this
    issue. They simply pointed me to the Accessing Database book which
    simply pointed out how to set the ODBC driver.
    Thanks!
    Maria Lim
    May & Speh
    1501 Opus Place
    Downers Grove, IL 60515
    630-971-4758
    [email protected]

    At 11:41 AM 1/6/98 -0600, you wrote:
    Has anyone built an application using ODBC with Forte? We are in theMaria,
    In response to your inquiry regarding ODBC use with Forte.
    Accessing a database via ODBC with Forte is no different than accessing it
    using native drivers. I've used ODBC to work with MS Access, MS SQLServer
    and IBM's DB2 (via a third party ODBC driver).
    The following assumes you want to use the ODBC driver in a server partition.
    If you want to use it from a client (Win 3.1x, Win95) ask tech support
    for TECHNOTE 10540, "Configuring and testing ODBC on Windows 3.11/95/NT with
    Oracle, SQLServer, and Access."
    The steps to access ANY database within Forte are the same regardless of
    the drivers used (ODBC vs. native drivers).
    First: Install the database in the target machine. If the database will be
    accessed via an ODBC driver, then you must define the driver (in NT it is
    done from the ODBC icon in the control panel). The data source name will
    be the database name you'll use in the Forte DBSession object.
    Second: Tell the Forte environment that there is a database resource in the
    node where you defined the ODBC database. One way to do this is via Econsole.
    You would lock the environment and update the node properties to add an ODBC
    resource. The resource name will be the DatabaseManager name in the
    Forte DBSession object.
    Third: Create a DBSession using the resource manager name and data source
    name you created.
    Fourth: Write Forte code to use the database. Sometimes the SQL syntax between
    databases differs (specially if you are using functions, etc.) so you may
    have to
    allow for that if you are converting between databases.
    Good luck
    Gabriel J. Choza
    Forte Technical Sales
    (602) 553-1029
    2390 E. Camelback - Suite 300
    Phoenix, AZ 85016

  • Where can I get Client for Win95?

    Hi.
    Maybe who know where can I get Client for Win95?
    I use client from Oracle73. But It'doesn't work properly.
    Thnak You in advise.
    null

    Vincent GRENET (guest) wrote:
    : Andrey (guest) wrote:
    : : Vincent GRENET (guest) wrote:
    : : : Andrey (guest) wrote:
    : : : : Hi.
    : : : : Maybe who know where can I get Client for Win95?
    : : : : I use client from Oracle73. But It'doesn't work properly.
    : : : : Thnak You in advise.
    : : : The ODBC driver is available on this site, but Net8 Client
    : and
    : : : Installer is needed (according to documentation), and I
    : can't
    : : : figure out where to find this! Any idea ?
    : : Hi.
    : : People say that using client from Ora73 (for win) is more
    than
    : : enougth.
    : : & I'm doing in such way... It's look to be Ok.
    : : Yours ANdrey
    : My problem is I don't have the client from Ora73. But I have
    the
    : answer from web-support:
    : if you want the client, download the server. (265 Mb !!)
    : It's hard to download slices of 20 Mb without being
    : disconnected, and the server does not support resuming!
    : VG
    The ftp site supports broken dl's. ftp.oracle.com/pub/www/
    null

  • WIN NT, WIN95/WIN98 용 ORACLE 8I DEINSTALL 방법

    제품 : ORACLE SERVER
    작성날짜 : 2003-09-02
    Win NT, Win95/Win98 용 ORACLE 8i DEINSTALL 방법
    ===============================================
    PURPOSE
    다음 절차는 Windows NT, 95/98에 install되어 있는 8i product를 deinstall하는
    것에 관한 내용이다.
    제어판의 서비스에서 'ORCL', 'Oracle', 'TNS'가 있는 모든 서비스를 정지시킨다.
    Explanation
    << Windows NT >>
    1. Administrator 권한으로 NT를 log on 한다 .
    2. 시작-> 실행-> regedit을 기동하여
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE 폴더 전체를 삭제한다.
    3. HKEY_LOCAL_MACHINE\SOFTWARE\odbc 를 삭제한다.
    4. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 에서 oracle로
    시작되는 폴더들을 삭제한다.
    5. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\
    Application\ 에서 oracle로 시작되는 폴더들을 삭제한다.
    6. regedit을 종료한다.
    7. 설정-> 제어판 -> 시스템을 실행하여 환경 tab에서
    8. autoexec.bat 화일에서 %ORACLE_HOME%\bin과 JRE path를 remove한다.
    9. <system_drive>: \Winnt\Profiles\All Users\시작메뉴\Programs\Oracle
    폴더를 삭제한다.
    10. <system_drive>: \Program Files\Oracle 폴더를 삭제한다.
    11. 시스템을 재기동시킨다.
    12. Oracle Home directory를 삭제한다.
    (HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME 에서 확인 가능).
    << Windows 95/98 >>
    1. 시작-> 실행-> regedit을 기동하여
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder 전체를 삭제한다.
    2. HKEY_LOCAL_MACHINE\SOFTWARE\odbc를 삭제한다.
    3. autoexec.bat file에서 %ORACLE_HOME%\bin과 JRE path를 remove한다.
    4. windows 탐색기에서 Oracle directory를 삭제한다.
    5. <system_drive>: \Program Files\Oracle folder를 삭제한다.
    6. 이전에 설치한 HOME name인 <HOME>을 다음에서 찾아보고 Icon을 삭제한다.
    <system_drive>: \windows\Start Menu\Programs\Oracle-<HOME> 과
    <system_drive>: \windows\Start Menu\Programs\Oracle Installation Products
    7. 시스템을 재기동시킨다.
    Example
    none
    Reference Documents
    "Oracle 8i Enterprise Edition Release Notes",
    Release 8.1.5 for Windows NT and Windows 95/98, March,1999 (A68803-01)

    I am not sure of the problem you have but I think you can help
    me out with my problem.
    I am trying to connect to ORacle 8i Lite through embedded visual
    basic but couldn't succeed. I think the problem is with Oracle
    lite ADO componentents for WinCE. Do you have any work around
    for this? How are you able to connect to ORacle lite though VB?
    Is it VB 6.0 or eVB?
    Thanks
    Naufal
    I am trying to put some records from Excel sheet into Oracle 8i lite database through an application in Visual Basic. There are
    around 25 - 30 sheets like these. Each sheet cotains few hundres
    records.>When i am running this application on Windows NT
    machine, it dosen't hang in beteen. However it takes a long time
    in inserting those records. >When i try the same application on
    Win 98 m/c , the m/c hangs in between and it has to be
    restarted.>What can be the possible reason for the same?>null

  • Oracle ODBC Driver for Rdb on WinME

    The Oracle Universal Installer is not working properly when I try installing the new ODBC driver for Rdb (version 3.0.1.2). The Installer starts, but does not present the NAME field as it has for both Win95 and Win2K. In the destination PATH field is the pathname to the temporary folder I've unzipped the Installer/Driver to and when I change this to an existing folder, i.e., C:\ORAHOME, the Installer informs me that it cannot access the staging area and asks that I check the staging area and destination pathnames.
    I have successfully installed the older version 2 driver on ME, but it uses the older installer software. Despite Oracle's claims to the contrary, this new Java-based Installer just doesn't work on ME.
    If anyone can help with I would greatly appreciate it. Thanks.
    Terry

    Hello,
    Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
    Regards,
    Ant

  • Forte & ODBC Access Database

    We are looking to deploy Forte to Win 3.11 and Win95 users. We are
    using Access database tables to hold data cache locally, rather than
    pull it across the wire.
    We have ODBC drivers for Win95 but are going to get 16bit 3.11 drivers
    from VB v4.
    Has anyone else tried this and if so, are there any pitfalls or helpfull
    hints.
    Thanks in advance.
    Michae Strauss
    Mazda Australia Pty Limited

    Duncan,
    Just put the column in double quotes.
    Example:
    sql SELECT
    ,ipool.id
    ,asgn."Assignment Date"
    ,asgn.router
    ,asgn."Order Number"
    FROM assigned_ips addr
    ,assignments asgn
    WHERE
    addr.id = asgn.Assigned_IP
    AND asgn.master_ip = mpool.id
    AND mpool.ip_pool = ipool.id
    AND ipool.ncc = ncc.id
    ORDER BY addr.id
    on session accessDbSession
    At 09:31 AM 6/17/99 +1200, you wrote:
    Hi folks!
    Does anyone know if there is some way to reference Micosoft Access
    database columns that contain spaces using Forte and ODBC?
    I know it's like trying to use a jet plane to go down to the high street,but
    we want to extend a (large) in-house system with a good Forte front-end.
    I am aware that there are utilities available to rename entities within
    Access databases, but if there is an easy way to do this in Forte we'd
    prefer to go that way.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • Informix ODBC driver error while creating a view in Designer

    I nedd to ceate a view in a universe (Business Objects XI R2) that is connected to an Informix database. I use the 3.34 ODBC Informix driver.
    When I write the select statement (select column from table) and check the syntax I have the following error:
    "Exception: DBD, [Informix][Informix ODBC Driver][Informix]A syntax error has occurred.State: 42000"
    Is there anybody who has solved this problem??
    Thanks in advance to anyone who can give me hints on how to solve problem.
    Fabrizio

    Hi Fabrizio,
    The error state 42000 indicates that there is a syntax error or access violation. If you are using an Informix native client connection then add the following parameter <Parameter Name>"Force SQLExecute">Always</Parameter> in the informix.sbo file. Restart Designer and then try to create a derived table with a simple select statement.
    If you are using an ODBC connection, then add the above mentioned parameter in the Generic section of odbc.sbo file.
    Regards
    Arun Sasi

  • Windows Vista ODBC install failure error 126

    I'm attempting to set up ODBC connections using Client 10.2.0.3 in Windows Vista 32-bit as administrator, following instructions in MetaLink Note 415166.1. I'm not successful and get error code 126. I've found similar complaints on web searches, but cannot resolve this. Can someone help?
    A pop-up box reads:
    "Errors found:
    Could not load the setup or translator library."
    In DNS data source list, "Oracle in Oracle10g_Home" shows SQORA32.dll dated 11/16/2006.
    In regedit, HKLM\software\ODBC\ODBCINST.INI\Oracle in Oracle10g_Home lists the driver as C:\oracle\10g\SQORA32.dll. I checked, and it's there. Setup is C:\oracle\10g\SQORA32s.dll. It's also there.
    The service names exist in net manager, and connection tests work fine. Thanks in advance for any offers of help.

    Try to copy in the instantclient's directory mfc71.dll and msvcr71.dll.
    I'm not sure if both are required, but it worked for me.I tried your suggestion but got the same result. This time I can provide more details on the message. The dialog box is titled SQORAS32.DLL and the message is "An unsupported operation was attempted."
    I had to click the dialog 3 times, then the Oracle ODBC Driver Configuration dialog opened on the workarounds tab. The drop-down box for the TNS service name works. Clicking the tabs for Application, Oracle, or SQL Server Migration all pop up the same SQORA32.DLL error dialog with the vague message.
    Thanks, anyway.

  • Query update on each iteration problem (MS SQL Sever / ODBC / Native Driver

    Hello,
    I�ve been working to learn some Java and now JDBC over the past 10 or so months.
    I think I have a general understanding of how to perform queries and work with data using JDBC. However, I�ve run into a problem. I�m trying to do a query of a set of data in a database based on the value of a status column. I want to loop over the messages and perform various functions with the data then update their status in the database. It�s preferable to do these 250 to 1000 rows at a time, but no more and no less.
    I�m connecting to MS SQL Server 2000, currently with ODBC. I�ve also tried it with the Java SQL Server 2000 drivers provided by Microsoft with the same results.
    I�ve found that I can do a one table query and loop though it with a while (rs.next()) {�} and run an Update statement with executeUpdate on each iteration without any problems, no matter the number of rows returned in query.
    I have not been able to use the updateString and updateRow inside the while loop. I keep getting errors like this at the line with the updateRow():
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Row update failed.
    This occurs no mater how many rows I select, 1 or more.
    The real problem I�ve been having is that the query I need to loop though joins across several tables and returns some rows from some of those tables. This only seems to work when I query for 38 or less selected rows and I use an Update statement with executeUpdate on each iteration. The updateString and updateRow methods never work. Any number of rows selected greater than 38 causes a deadlock where the Update is waiting for the select to compete on the server and the Update can�t proceed until the Select is complete.
    As I stated above I�ve tried both ODBC and the native SQL Server driver with the same results. I have not tried any other databases, but that�s moot as my data is already in MS SQL.
    Questions:
    How can I avoid or get around this 38 row limit without selecting each row, one at a time?
    What am I doing wrong with the updateString and updateRow?
    Is there a better approach that anyone can suggest?
    Here�s some sample code with the problem:
    import java.sql.*;
    public class db1{
         public static void main(String[] args) throws Exception{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String url = "jdbc:odbc:eBrochure_live";
              Connection con = DriverManager.getConnection(url, "sa", "d3v3l0p");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://dcm613u2\\dcm613u2_dev:1433", "sa", "d3v3l0p");
              Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              Statement stmt2 = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              stmt.executeUpdate("USE [myDatabase]");
              stmt2.executeUpdate("USE [myDatabase]");
              String qGetMessages = "SELECT TOP 250 t1.messageUUID, t1.subjectHeader, t2.emailAddress as toAddress " +
              "FROM APP_Messages as t1 JOIN APP_addressBook_contacts as t2 " +
              "     On t1.toContactID = t2.contactID " +
              "WHERE t1.statusID = 'queued'";
              ResultSet rs = stmt.executeQuery(qGetMessages);
              while (rs.next()) {
                   String messageUUID = rs.getString("messageUUID");
                   String subjectHeader = rs.getString("subjectHeader");
                   System.out.println(messageUUID + " " + subjectHeader);
                   String updateString = "UPDATE APP_Messages " +
                        "SET statusID = 'sent' " +
                        "WHERE messageUUID = '" + messageUUID + "' ";
                   stmt2.executeUpdate(updateString);
              con.close();
    Thanks for the help,
    Doug Hughes

    // sorry, ps.close() should be outside of if condition
    String sql = "UPDATE APP_Messages SET statusID = 'sent' WHERE messageUUID = ?";
    Statement statement = con.createStatement();
    PreparedStatement ps = con.prepareStatement(sql);
    ResultSet rs = statement.executeQuery("your select SQL");
    if ( rs.next() )
    ps.clearParameters();
    ps.setString(1, rs.getString("your column name"));
    ps.executeUpdate();
    ps.close();
    rs.close();
    statement.close();

  • Cannot perform a clean install of CF 10 - ODBC Agent and ODBC Server are not in Services - Win2k8 R2

    I've tried to perform a clean install on a Win2k8 R2 x64 server several times and I can't seem to get it to install.
    I was upgrading from CF 9, which took several attempts. I eventually got CF 10 working and running with the latest updates. But the server would only run for about 15 minutes and everything would come to a screaching hault. ColdFusion pages would fail to load with no error. The pages would hang and wait for the server to respond, which it never did. Restarting IIS would fix the problem.
    I have about 20 CF sites on the machine. I came accross an article that talked about pool sizes, etc. I ended up trying a few things with the Web Server Configuration Tool, and as I was adding/deleting servers, I got an error that some application unexpectedly quit, but it wasn't the wsconfig tool. This happened about 3 times as I was deleting servers that I had previously added. Then I tried loading the CF Admin and I got a 500.0 internal server error.
    So I bit the bullet and figured I would start all over again. I uninstalled CF 10... now there's nothing on the machine. Re-installed CF 10, and I get the same 500.0 Internal Server Error. I uninstalled, restarted, installed... same thing. Then I found an error in the event viewer that reads:
    The description for Event ID 0 from source ColdFusion 10 ODBC Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    ColdFusion 10 ODBC Server error: 0
    StartServiceCtrlDispatcher Error!
    Then I found out that neither the ColdFusion 10 ODBC Agent or the ColdFusion 10 ODBC Server have been installed... at least they're not showing up in the list of services. msconfig also shows that they don't exist at all. I tried reinstalling several times and I can't get them to show up.
    PS: It's 6:15 AM and I've been working on this since 10 PM last night. I NEED HELP! Thanks!

    Hello,
    Once you move your application from any prior version of ColdFusion to ColdFusion 10, you will have to tune your application, as the architecture changed from JRun to Tomcat.
    You can refer to the article http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration for parameters, that needs to be tuned appropriately to make CF connector works flawlessly.
    Hope this helps
    Regards,
    Anit Kumar

Maybe you are looking for