Problem
When using a version of Oracle 9.2.0 in ASP.NET, attempting to access a site which uses System.Data.OracleClient may give an error with the following exception:
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
This is a common error when using ASP.NET with Oracle -- it is in fact a bug in the default Oracle 9.2.0 installation permissions. To fix the error, follow the following solution steps (taken from cited source):
- Log on to Windows as a user with Administrator privileges.
- Launch Windows Explorer from the Start Menu and and navigate to theORACLE_HOME folder. This is typically the "Ora92" folder under the"Oracle" folder (i.e. D:\Oracle\Ora92).
- Right-click on the ORACLE_HOME folder and choose the "Properties" optionfrom the drop down list. A "Properties" window should appear.
- Click on the "Security" tab of the "Properties" window.
- Click on "Authenticated Users" item in the "Name" list (on Windows XPthe "Name" list is called "Group or user names").
- Uncheck the "Read and Execute" box in the "Permissions" list under the"Allow" column (on Windows XP the "Permissions" list is called"Permissions for Authenticated Users").
- Re-check the "Read and Execute" box under the "Allow" column (this isthe box you just unchecked).
- Click the "Advanced" button and in the "Permission Entries" list makesure you see the "Authenticated Users" listed there with:
- Permission = Read & ExecuteApply To = This folder, subfolders and files
- If this is NOT the case, edit that line and make sure the "Apply onto"drop-down box is set to "This folder, subfolders and files". Thisshould already be set properly but it is important that you verify this.
- Click the "Ok" button until you close out all of the security propertieswindows. The cursor may present the hour glass for a few seconds as itapplies the permissions you just changed to all subfolders and files.
- Reboot your computer to assure that these changes have taken effect.
On many data servers, it will be necessary to reboot. If you are running on a local machine (for instance, using an IIS install), a reboot may not be necessary.




