[Excerpt] solution: system. Data. oracleclient requires Oracle client software version 8.1.7 or greater

Source: Internet
Author: User
Tags driver manager oracleconnection
Problem description
-------------------

When running an application using the Oracle9i Release 2 (9.2.0.1.0) install
Of client software and that attempts to connect to an Oracle database with
Authenticated User Privilege (such as when you use Microsoft's Internet
Information Server (IIS) through any of the following programmatic interfaces

1. Oracle provider for OLE DB
2. Microsoft ole db provider for Oracle
3. Oracle ODBC driver
4. Microsoft ODBC for Oracle
5. Oracle Objects for OLE (oo4o)
6. Microsoft. NET Framework data provider for Oracle

You may receive one of the following errors:

(1) Oracle provider for OLE DB

(A) Error Type: Microsoft ole db service components (0x80070005)

Access is denied.

(B) oraoledb. Oracle provider is not registered on the local machine

(2) Microsoft ole db provider for Oracle

(A) Error Type: Microsoft ole db provider for Oracle (0x80004005)

Oracle client and networking components were not found. These
Components are supplied by Oracle Corporation and are part of
Oracle version 7.3.3 or later client software installation. Provider
Is unable to function until these components are installed.

(B) Error Type: Microsoft OLE DB provider for Oracle (0x80004005)

Oracle error occurred, but error message cocould not be retrieved
From Oracle.

(3) Oracle ODBC driver

(A) Error Type: Microsoft ole db provider for ODBC drivers (0x80004005)

Specified driver cocould not be loaded due to system error 5 (Oracle
In orahome92 ).

(4) Microsoft ODBC for Oracle

(A) The Oracle (TM) client and networking components were not found.
These components are supplied by Oracle Corporation and are part
Of the Oracle version 7.3 (or greater) client software installation.

You will be unable to use this driver until these components have
Been installed.

(B) error no.:-2147467259

Error Description: [Microsoft] [ODBC driver manager] driver's
Sqlallochandle on SQL _handle_env failed

(5) Oracle Objects for Ole

(A) while using a global. Asa File

Error Type: Active Server Pages (0x0)

An error occurred while creating object 'orasession '.

(B) not using a global. Asa File

Error Type: Microsoft VBScript Runtime (0x800a0046)

Permission denied: 'createobject'

(6) Microsoft. NET Framework data provider for Oracle

(A) system. dllnotfoundexception: Unable to load DLL (OCI. dll ).
At system. Data. oracleclient. dbobjectpool. GetObject (BO Olean &
Isintransaction)
At system. Data. oracleclient. oracleconnectionpoolmanag er.
Getpooledconnection (string encryptedconnectionstring,
Oracleconnectionstring options, Boolean & isintransaction)
At system. Data. oracleclient. oracleconnection. openinte rnal
(Oracleconnectionstring parsedconnectionstring, object TRANSACT)
At system. Data. oracleclient. oracleconnection. open ()
At wcwsitemavailability. etaavailability. singleavailab ility (string
Itemnumber, string businessunit, int32 orderqty, int32 &
Availableqty, int32 & onhandqty, string & etadate, int32 & error)
At wcwsitemavailability. etaavailability. xmlavailabili ty (string
Xmlinput)

(7) Other miscellaneous errors

(A) the specified module cocould not be found

ORA-00604: Error occurred at recursive SQL Level 1
ORA-12705: Invalid or unknown NLS parameter value specified

(C) unable to load DLL (oraops9.dll ):
...
[Dllnotfoundexception: Unable to load DLL (oraops9.dll).]

(D) System Error 998 trying to run ASP page

Solution description
--------------------

Oracle 9.2 client software requires that you give the authenticated user
Privilege to the Oracle Home by following these steps:

1. log on to Windows as a user with administrator privileges.

2. Launch Windows Explorer from the Start menu and navigate to
ORACLE_HOME folder. This is typically the "ora92" folder under
"Oracle" folder (I. e. D: \ oracle \ ora92 ).

3. Right-click on the ORACLE_HOME folder and choose the "properties" option
From the drop down list. A "properties" window shoshould appear.

4. Click on the "Security" tab of the "properties" window.

5. Click on "Authenticated Users" item in the "name" list (on Windows XP
The "name" list is called "group or user names ").

6. Uncheck the "read and execute" box in the "Permissions" list under
"Allow" Column (on Windows XP the "Permissions" list is called
"Permissions for authenticated users ").

7. Re-check the "read and execute" box under the "allow" Column (this is
The box you just unchecked ).

8. Click the "advanced" button and in the "permission entries" list make
Sure you see the "Authenticated Users" listed there:

Permission = read & Execute
Apply to = this folder, subfolders and files

If this is not the case, edit that line and make sure the "Apply"
Drop-down box is set to "this folder, subfolders and files". This
Shocould already be set properly but it is important that you verify this.

9. Click the "OK" button until you close out all of the security properties
Windows. The cursor may present the hour glass for a few seconds as it
Applies the permissions you just changed to all subfolders and files.

10. Reboot your computer to assure that these changes have taken effect.

Re-execute the application and it shoshould now work.

Explanation
-----------

If you install Oracle9i Release 2 (9.2.0.1.0) on a computer running Windows
With an NTFS partition, the contents of ORACLE_HOME directory will not be
Visible to users who are authenticated on that machine. These Permissions
Were not set properly when the software was installed.

Applications that were working fine with previous versions of Oracle software
Will stop working when they upgrade to Oracle 9.2.

Note: The application will continue to work if the user has logged onto
Machine as an administrator.

Any application that is using the authenticated user privilege will not work.
A notable example wocould be IIS which might service some of the requests based
On the authenticated user privileges.

To demonstrate the problem in further detail, you can log on to the operating
System as an authenticated machine user. You won't be able browse the contents
Of the ORACLE_HOME directory demonstrating your inability to load any Oracle DLLs
Or make a connection.

Additional information
----------------------

the above error messages may not only be encountered when using Oracle 9.2
client software but may also exists when running into general permissions
issues using third party products on windows platform.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.