'Close the database
Sub closeDatabase ()
'Set oradatabase = nothing
Set orasession = nothing
Function displayerror ()
If err. number <> 0 then
Response. Write "<br> <p align = center fontsize = 20> database connection failed. Contact the system administrator! </P>"
1. When IIS accesses the ORACLE database, it assigns a permission (oracle bug) to OLEDB)
Add/edit the "Authenticated Users" user in the attributes of the ORA92 directory under the ORACLE_HOME Directory. Click "Read and run" first, and then click "select, then "application ".
2. There is a "sqlnet. ora" file in the ORA92etworkADMIN directory under the ORACLE_HOME directory,
The content is as follows:
# SQLNET. ORA Network Configuration File: E: oracleora92etworkadminsqlnet. ora
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
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:
and provide relevant evidence. A staff member will contact you within 5 working days.