Database connection failed, please contact the system administrator!
" Response.End end if end function %> Solution: 1. When IIS wants to access the ORACLE database, grant a permission in OLEDB (it is a BUG of ORACLE). Add / to the security properties of the ORA92 directory under the ORACLE_HOME directory. Edit the "Authenticated Users" user, first uncheck its "Read and Run" permission, then click "Apply". 2. There is a "sqlnet.ora" in the ORA92networkADMIN directory under the ORACLE_HOME directory. " file, the content is as follows: # SQLNET.ORA Network Configuration File: E:oracleora92networkadminsqlnet.ora # Generated by Oracle configuration tools. NAMES.DEFAULT_DOMAIN = jgc-new.local SQLNET.AUTHENTICATION_SERVICES= (NTS ) NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME) Change it to: # SQLNET.ORA Network Configuration File: E:oracleora92networkadminsqlnet.ora # Generated by Oracle configuration tools. NAMES.DEFAULT_DOMAIN = jgc-new.local # SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)