| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
|  |  | |||
Home -> Community -> Usenet -> c.d.o.tools -> Re: HELP ORACLE,Please!!
Developer 2000 uses sqlnet 2.
The configuration files for sqlnet2 are by default in
%ORACLE_HOME%\network\admin instead of
%ORACLE_HOME%\net80\admin.
Copy your sqlnet.ora and tnsnames.ora to afore-mentioned sqlnet2 directory, or set up a string value TNS_ADMIN in the registry under hklm\software\oracle pointing to the net80\admin directory (use the full path name here).
BTW this is an Oracle *newsgroup* only
Hth,
Sybrand Bakker, Oracle DBA
"rafa" <rafael.abril_at_wanadoo.es> wrote in message
news:fA3x5.279231$Z05.2605680_at_telenews.teleline.es...
>
>
>   Hi everybody
>
>   I have installed Oracle8 DB in Windows95 and it is working
>   good because I can access it with sql plus.
>
>   I have created a service with 'Net easy config' using 'Beq' protocol
>   and the test is correct.
>
>   Later, using de ODBC Admin of MS I created a SYSTEM DSN associated
>   with the service created before. and the test with the ' ORACLE ODBC
>   TEST' is Ok.
>
>   Later on, I installed the Developer 2000 in the same machine.
>   The problem is that when I execute some developer aplication
>   such as the query builder and I try to connect to the local DB
>   I get this ERROR
>
>
>     REP-0501: Unable to connect to the specified database
>     ORA-12154: TNS could not resolve service name.
>
>  and I can't connect
>
>   What is the problem????
>
>   The TNSNAMES.ora file I have IS
>
>
>
> # TNSNAMES.ORA Configuration file: C:\ORAWIN95\NET80\ADMIN\tnsnames.ora
> # Generated by Oracle Net8 Assistant
>
> Tcp-loopback.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = TCP)
>           (Host = 127.0.0.1)
>           (Port = 1521)
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>   )
> TcpExample.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = TCP)
>           (Host = Production1)
>           (Port = 1521)
>     )
>     (CONNECT_DATA = (SID = SID1)
>     )
>   )
> SpxExample.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = SPX)
>           (Service = Server_lsnr)
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>   )
> NmpExample.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = NMP)
>           (Server = FinanceServer1)
>           (Pipe = ORAPIPE)
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>   )
> CMExample.world =
>   (DESCRIPTION =
>     (ADDRESS_LIST =
>         (ADDRESS =
>           (PROTOCOL = tcp)
>           (PORT = 1610)
>           (HOST = CM_SERVER)
>         )
>         (ADDRESS =
>           (PROTOCOL = tcp)
>           (PORT = 1521)
>           (HOST = LSNR_SERVER)
>         )
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>     (SOURCE_ROUTE = yes)
>   )
> extproc_connection_data.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = IPC)
>           (KEY = ORCL)
>     )
>     (CONNECT_DATA = (SID = extproc)
>     )
>   )
> Beq-local.world =
>   (DESCRIPTION =
>     (ADDRESS =
>           (PROTOCOL = BEQ)
>           (PROGRAM = oracle80)
>           (ARGV0 = oracle80ORCL)
>           (ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>   )
>
>   -----
>   And the sqlnet.ora
>
> TRACE_LEVEL_CLIENT = OFF
> sqlnet.authentication_services = (NTS)
> names.directory_path = (TNSNAMES, HOSTNAME)
> names.default_domain = world
> name.default_zone = world
> automatic_ipc = off
>
>
>  Both in the same directory  WINORA95\net80\ADMIN
>
>  and the directory is in the PATH
>
>  Please I need your help...
>
>  Thanks
>
>  Rafael Abril
>  rafael.abril_at_wanadoo.es
>  Spain
>
>
Received on Sun Sep 17 2000 - 09:07:51 CDT
|  |  |