Asp.netProgramAfter compilation, it is published to IIS. One common problem is that it cannot connect to the Oracle database, as shown in the successful configuration of the local Oracle Net service; you can use PL/SQL or other tools to connect to the database. However, if you run a program in a browser, an error is reported that the database cannot be connected. In this case, try the following solution:
1. Right-click the Oracle Installation Directory (D: "oracle" ora92) and choose Properties> Security. Select authenticated users to remove the permission reading and running items, and then click, click "application", click "advanced", select "Use the project that can be applied to the sub-object to replace the sub-object permission Project", and click "OK, restart the machine (restart IIS ). In this case, the problem can be solved. If the problem cannot be solved, try steps 2nd and 3rd.
2. Add User ASPnet and Internet Guest user iusr_computername to the security permission of ora92.
3. Select "application pool" in ISS, select the application pool to which your application belongs, right-click Properties, and click the "ID" tab, select "local system" for the predefined account item and restart ISS.