Original: http://blog.csdn.net/killer000777/archive/2008/12/03/3438519.aspx
When Oracle 9.2 runs on NTFS partitions, the ORACLE_HOME directory is invisible to some non-Administrator groups, in Windows Server 2003, the account used by the Asp.net application is netword service. Therefore, you cannot create an oracle connection. You only need to reset the permission of the ORACLE_HOME directory. The procedure is as follows:
1. Log on as an administrator;
2. Find the ORACLE_HOME folder (my name is c: \ oracle \ ora92), right-click it, select attribute-security, and select "Authenticated Users" in the group or user bar ", in the following permission list, remove the "read and run" permission, and then press the application. Re-select the "read and run" permission and click the application; select the "advanced" button under the permission box, confirm that the application following "Authenticated Users" is "this folder, subfolders, and files", and apply the permission changes to this folder according to OK;
3. restart the computer to make the permission settings take effect (this step is important );
4. log on and run the Asp.net application to obtain data from the Oracle database.
Http://www.cnblogs.com/jeet/archive/2005/09/28/115150.html
In step 3, my system is Windows XP SP2, and the computer is not restarted. The task manager only needs to end the process called "aspnet_wp.exe.exe" (w3wp.exe in iis6) and reconnect (open an IE window because the cache exists.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/killer000777/archive/2008/12/03/3438519.aspx