Library tutorials & articles
Oracle8 and Oracle8i
Client Components
In this section we will be installing the Oracle client components on an IIS-based web server to enable our ASP scripts to communicate with an Oracle database server. Once the client programs have been installed we will be using Oracle's configuration utilities to configure our web server to connect to Oracle.
With the exception of cosmetics, there are very few differences between the Oracle8 and Oracle8i installation programs, so we will be showing screen shots from the Oracle8i installation .
In order to access an Oracle database, a number of software components need to be installed on a client computer. Oracle8 uses its networking component Net8 to provide client-server and server-server connectivity for many common protocols and platforms.
In versions prior to Oracle8, the forerunner to Net8 was SQL*Net version 2 – you'll find lots of documentation that still refers to SQL*Net. Net8 is backwardly compatible with SQL*Net version 2, allowing Net8 to access both Oracle7 and Oracle8 databases. It is possible, however, to connect to an Oracle8 database using SQL*Net but some of the new network features will not be available.
Once you've installed the Oracle client components, the Net8 Easy Config and Net8 Assistant applications can be used to configure your Net8 settings . Both applications use a number of .ora configuration files that you can, if you know what you're doing, edit yourself in Notepad. We'll go through the installation of the client components before we go into the details of the applications.
The Oracle client components are supported on all 32-bit Windows platforms: Windows 95, Windows 98, Windows NT 3.5 and NT 4 Server and Workstation, and Windows 2000.
By running the familiar setup.exe file you will be presented with a screen welcoming you to the Oracle Universal Installer, or Oracle Installer as Oracle8 calls it . After clicking Next your first choice is to tell the Installer where to put the physical files that it installs. This location is known as the Oracle Home setting:
|
|
This allows you to install multiple versions of the Oracle products onto the same machine without an installation conflicting with any other installation. Oracle Home essentially defines the location of a folder into which the software is installed. If you only plan to have one set of Oracle products installed on the machine, which is very often the case, then choose DEFAULT_HOME for the Name. In my case, I have a number of Oracle products installed, so I have given it a name of oracle8i_dev with the files being located in the d:\oracle8i_dev folder.
Clicking the Next button takes you to the Available Products screen:
|
|
Here you must choose the actual product
to install: the database server, client software, or
management infrastructure software. In many cases you will be connecting to
an Oracle database running on a different server to that of your web server,
so you should select the second option,
Oracle8i Client. If your web server also happens to
be your database server then you will need to select the first option to install
the actual database sever and, optionally, a starter database accessed via the
scott
account. The Management
Infrastructure option installs the client components
along with directory services components.
In my case, I am installing the Oracle client on a web server that will connect to Oracle on a remote server, so I selected Oracle8i Client.
Once you've clicked Next, you will be asked about the Installation Type (the Oracle8 installation calls this the Primary Function). The list of options shown is dependent upon the item selected from the previous screen. If you had chosen to install the Oracle server then you will see a list of options, such as whether to include the pre-configured starter scott database.
|
In the case of the Oracle Client installation you can specify the type of installation required for the client components depending upon the features that the client machine needs: |
|
If you need to perform DBA tasks such as creating and backing-up databases, and stopping the server then choose the Administrator option. This will install all of the utilities required to administer an Oracle server.
If the machine is used as your development server then it's a good idea to choose the Programmer option to install a subset of the Administrator tools. However, you won't get utilities such as the Enterprise Manager Console used to administer an Oracle server.
The Application User option should be selected if the machine is used as your web server. This will only install the basic networking and client components and none of the admin or programming tools.
The last option, Custom, allows you to specify exactly which components should be installed.
You can decide which items should be installed on your machine, but some organizations do not allow developers to perform traditional DBA functions such as stopping servers - for very good reasons. You can always add or remove components using the Installer at a later date. Personally I'd want everything that's available so I'd choose Administrator anytime!
|
After you've clicked Next
(for the last |
|
Now it's just a case of pressing the Install button to install all of the required programs. Once the installation has been completed you can move onto configuring Net8, the client software, to connect to your Oracle server.
Related articles
Related discussion
-
Read eMails from Outlook express using ASP
by kumaravelu (1 replies)
-
Run-time error '91'
by converter2009 (1 replies)
-
VB6 Runtime error 381 subsript out of range Error
by Uncle (2 replies)
-
passing and reading parameters from using Shell
by jigartoliya (0 replies)
-
Convert C++ code to VB6
by mawcot (4 replies)
Related podcasts
-
Java Posse #213 - Newscast for Oct 23rd 2008
Newscast for Oct 23rd 2008 Fully formatted shownotes can always be found at http://javaposse.com The Android project has been released as open source, beating the rumored launch date for the source code by several months http://source.android.com/ And, Gizmodo and ZDNet both offer in-depth ...
hi i am awaneesh from new delhi. actually i have a problem in sql group by function. i have one table with 120 columns or variable. i want group by all. so for this work i have to select all the columns in select stmt and again write all columns in group by stmt. So plese tell me the way, how can i select all the cols & how can group by all cols in short method. like: select * from emp group by (120 columns) but i don't to write all the cols in select stmt and again all the cols in group by stmt. please tell me the way. & send the solution back to my e-mail id- awan_tiwari2005@yahoo.co.in i will be really grateful to you.
With best wishes, Awaneesh Tiwari
!--removed tag-->fuck all programmers!
!--removed tag-->How can I create a master detail web form using ASP, ADO, vbscript, and HTML?jarvis@anteon.com">email me
I've been trying to use the OLE DB connection from ASP to Oracle. Used the code from the examples. Working fine but it did not release the session connection and when the sessions reach the maximum defined, it will fail to work. Pls Help. Thank you.
KK
I using .NET to access Oracle DB (with OLEDB Provider for Oracle) but I have a trouble that I couldn't use Unicode datatype (such as: NCHAR, NVARCHAR2).
Anyone knows how to do this or any Provider that allows us access Oracle DB with Unicode datatype?
Thanks for you kindness.
TCAN.
im trying to get this to work:
when the form loads, a csv file is opened and whose contents are displayed in the Current list view control. if the user selects an item from the Current listview control and presses the "delete" key (i've been using the Keypress event), a message box will pop up asking them to confirm their decision. If they say yes, the entire row is cleared and that row's information is passed to another listview control (the Archives listview control, which is saved onto its own file)
the main things i need to know are the ASCII code for the delete key (127 doesn't work...), and how to delete an entire row in a listview control (and the other records below it should be moved up as a result.) If you could tell me how to then pass it onto the second listview control as well, that would be greatly appreciated.
thanks in advance
i am currently do a project on oracle and microsoft. The question is compare and contrast the latest database offerings from Oracle and Microsoft under the following headings: History and evolution of the products, Target Market, Functionality, Customers, Future Directions, and any other areas. Any inforamton would be appreciated
Hi ,
I'm using resultset in oracle and vbscript as it was mentioned here as follow:
create a package that return a ref cursor,execute the package in vbscript and get the resultset into the
recordset .
Sometime it works and othertime I get that error in the line when I call the execute to the procedure:
OraOLEDB error '80004005'
Unspecified error .
I used the example you gave in page :http://www.developerfusion.com/show/671/12/
Please help me
This thread is for discussions of Oracle8 and Oracle8i.