Odac + Vista Connection Issue

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
paulzip
Posts: 37
Joined: Mon 02 Oct 2006 13:13

Odac + Vista Connection Issue

Post by paulzip » Mon 25 Feb 2008 11:42

OS : Windows Vista Enterprise
Oracle : v 10.2.0.3.0
ODAC : 5.80.0.42

We cannot get ODAC to connect to Oracle on Vista. When we try to do so, we continually get "ORA-12154: TNS:could not resolve service name ..." errors.

The following things have been observed :
1. We can happily connect via SQL* Plus using the same login credentials.
2. We can tnsping the connection.
3. With a simple test app, TOraSession + ConnectionDialog, no entries are appearing in the Server drop down box.
4. There are no problems connecting on XP / 2003.
5. "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
6. TNSNAMES.ORA file exists and is in %ORACLE_HOME\Network\Admin directory.

This is causing us a major headache, as one of our new customers is using Vista and are urgently waiting to use our ODAC based software.

Please can you offer suggestions on how we can resolve this?

Paul

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 26 Feb 2008 08:48

Oracle can return this error if the path where your application is installed, contains brackets. Please check that there are no bracket characters in the path.

Post Reply