It would be nice if TOraServerEnumerator.GetServerList() could be improved to be smart enough to check for commented entries when looking for the ifile. It would also be nice if there was also some logic that checked for infinite loops in the ifile lookup logic.
I realize that this can be worked around by removing the ifile declaration or replacing ifile with i#file or something like that however, the symptom for me to realize that this was occurring was that our application was locking up without any indication as to why it was locked up.
This is the the tnsnames.ora file located at "C:\Work\SQLOracle\tnsnames.ora"
Code: Select all
# The following i file declaration is commented out
# ifile=C:\Work\SQLOracle\tnsnames.ora
DESIGNOPS_WORKSTUD = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = designops )(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = WORKSTUD ) ) )
Thanks
Rick