ODAC VCL : 6.00.0.4 for Delphi 2007
Delphi 2007
Windows XP SP2
When trying to open the connection in TOraSession at run-time, I get the error 'ORA-12532: TNS:Invalid argument'.
However, at design-time, I can connect without a problem (ie. changing connected to true in the object inspector).
Anyone seen this before ?
Thanks for any help.
Oracle error ORA-12532: TNS:Invalid argument at run-time
RE: Solved
Seemed to have solved the problem, will describe what I did just incase someone else has the problem.
I am using Oracle 10.1.0.
In the TNSNAMES.ORA, my local database definition was using HOST = where is the network name of my PC.
I changed it to use LOCALHOST and that solved the problem, not sure wh this would happen though, strange that it works fine at design-time, the problem only occurs at run-time.....
I am using Oracle 10.1.0.
In the TNSNAMES.ORA, my local database definition was using HOST = where is the network name of my PC.
I changed it to use LOCALHOST and that solved the problem, not sure wh this would happen though, strange that it works fine at design-time, the problem only occurs at run-time.....