When Designer Fails to Generate a form for second time
Symptoms
The first generation in the Design Editor runs fine, yet all subsequent generations fail until the Design Editor is closed and re-opened again:
CDR-21605: Failed while processing Module PAY006Q in function cfgen_validate_connect_string() :1694 BOF
Occurs on all form generations including simple tabular form for a code table.
Cause:
It looks like the connection could be dropped down at some point. May be there are some concerns with your TNSNAMES.ORA and SQLNET.ORA files.
In the Generation message window, we can read :
Last function recorded: cfgen_validate_connect_string() : 1694
Solution
To implement the solution, please execute the following steps:
1. Review the TNSNAMES.ora and SQLNET.ora files.
2. Check to see if the NAMES.DIRECTORY_PATH in the SQLNET.ora file is using LDAP.ora , and so does TNSNAMES.ora.
3. Add TNSNAMES to the NAMES.DIRECTORY_PATH in the SQLNET.ora file:
ex: NAMES.DIRECTORY_PATH = (TNSNAMES,LDAP,ONAMES)
/**************My SQLORA.NET****************/
Looks like this :
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP, EZCONNECT, ONAMES, HOSTNAME)
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
SQLNET.ALLOWED_LOGON_VERSION_CLIENT = 8
DISABLE_OOB=ON
BREAK_POLL_SKIP=10000
sqlnet.expire_time = 5
use_dedicated_server = on
names.directory_path = (TNSNAMES)
Comments