Guest_imported
New member
- Jan 1, 1970
- 0
Hi all,
We have this weird problem regarding tnsnames.ora that I cant quite figure
out. OK, here's the background:
Networked PCs with shared drive H:
Application installed on C: drive
tnsnames.ora within C: drive in application directory.
When running application, everything works fine within until ONE specific
procedure is done by ONE of the tools within the app.
Now, this procedure does NOTHING abnormal, all it does is write data from
DB to a file, NOTHING ELSE...
Once this particular procedure is run, when trying to access the other tools
within the app causes a "TNS cannot resolve... " blah blah error !!
Looking at the code, it IS in fact at each point in code that tries to open
and ADO connection to the database.
Why IN THE WORLD would the thing work UNTIL that procedure runs, and then
NOT ??
What we found was that the H: shared drive had a "tns_admin" default oracle
directory, and when we removed ALL existing tnsnames.ora files from C: and
moved to the H: drive, everything worked FINE...!
So, the problem is fixed, BUT, i'd love to know why it acted in this way....
any ideas ???
We have this weird problem regarding tnsnames.ora that I cant quite figure
out. OK, here's the background:
Networked PCs with shared drive H:
Application installed on C: drive
tnsnames.ora within C: drive in application directory.
When running application, everything works fine within until ONE specific
procedure is done by ONE of the tools within the app.
Now, this procedure does NOTHING abnormal, all it does is write data from
DB to a file, NOTHING ELSE...
Once this particular procedure is run, when trying to access the other tools
within the app causes a "TNS cannot resolve... " blah blah error !!
Looking at the code, it IS in fact at each point in code that tries to open
and ADO connection to the database.
Why IN THE WORLD would the thing work UNTIL that procedure runs, and then
NOT ??
What we found was that the H: shared drive had a "tns_admin" default oracle
directory, and when we removed ALL existing tnsnames.ora files from C: and
moved to the H: drive, everything worked FINE...!
So, the problem is fixed, BUT, i'd love to know why it acted in this way....
any ideas ???