When I access the Oracle database locally using ASP. NET programs, I can access the database on my machine, but when I put it on the server
The following error cannot occur:
"Oracle client and networking components were not found. these components are supplied by Oracle Corporation and are part of the Oracle version 7.3.3 or later client software installation. provider is unable to function until these components are installed."
I have searched csdn and found that no more than 20 people have asked this question, but no one has actually provided a solution, but the project is about to be handed over and the problem has not been solved yet, finally, ask our company's Technical Director-"Oracle expert" to solve this problem:
According to my understanding: 1. it is a problem in Oracle 9.02i, 2. the partition format of your ORACLE_HOME path is NTFS. Solution: Go to oracleora92 and open ora92-> properties-> Security, select Authenticated Users and check the following attributes to remove the read and execute hooks. Then, check and restart the machine. OK. This is so easy,
To avoid this problem, do not install oracle9.02 or partition in NTFS format.
Attached
Original Oracle documents:
Problem description ------------------- when running an application that connects to Oracle and uses the Authenticated User Privilege (such as Microsoft's Internet Information Server (IIS )) via oracle's 9.2 client software and any of these 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) You will receive one of the following errors: (1) Oracle provider for ole db Error Type: Microsoft ole db service components (0x80070005) access is denied. (2) Microsoft ole db provider for Oracle 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 the Oracle version 7.3.3 or later client software installation. provider is unable to function until these components are installed. or 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 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 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. (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 (0
X800a0046) Permission denied: 'createobject' (6) Other miscellaneous errors () the specified module cocould not be found solution description ------------------ you need to 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 the ORACLE_HOME directory. 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 on 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 (on Windows XP the "Permissions" list is called "permissions for authenticated users "). this box will be under the "allow" column. 7. check the "read and execute" box. this is the box you just unchecked. 8. click the "Apply" button. 9. click the "OK" button. 10. you may need to reboot your computer after these changes have been made. re-execute the application and it shoshould now work. explanation ----------- if you install Oracle9i Release 2 (9.2.0.1) 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 the 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 Demon
Strate 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. references ---------- BUG: 2498880-Oracle 9i Release 2 installation issue on Windows 2000 NTFS file system additional search words ----------------------- oledb