Re: Connecting to an Oracle database
- From: "Michael Jacobs" <iq193@xxxxxxxxxxxxx>
- Date: Tue, 4 Oct 2005 07:32:15 -0400
Hi Bengt,
To connect to Oracle, you need to provide the Server Name, the 'service'
name, the username and the password.
The Server name is the name of the computer hosting Oracle. You may use
the IP address instead of name.
The Service Name is the name of the database on the system as defined in
the 'Listener.ora' file on the host computer and the 'tnsnames.ora' file on
the local computer.
If you are passing a null string as the service name, Oracle will not be
able to find a matching entry for that 'service name' and the will result in
hte ORA-12154 error.
HTH,
Michael
"Bengt Håkansson" <Bengt.Hakansson@xxxxxxxxx> wrote in message
news:43413b94@xxxxxxxxxxxxxxxxxxxxxxxxx
> According to the help text, Servere name should be the name of the
> computer where the database is. If I enter that name together with the
> username I password I used when running the database application (Written
> in Wisual Basic) and press Test connection, I get the message Test
> connection failed because of an error in initializing provider. ORA-12154:
> TNS: could not resolve service name.
>
> /Bengt Håkansson
>
.
- Follow-Ups:
- Re: Connecting to an Oracle database
- From: Bengt Håkansson
- Re: Connecting to an Oracle database
- References:
- Connecting to an Oracle database
- From: Bengt Håkansson
- Re: Connecting to an Oracle database
- From: Bengt Håkansson
- Connecting to an Oracle database
- Prev by Date: Problem having 'WITH' in Oracle 10g
- Next by Date: Re: Open an access.mdb ReadWrite and ReadOnly at the same time
- Previous by thread: Re: Connecting to an Oracle database
- Next by thread: Re: Connecting to an Oracle database
- Index(es):
Relevant Pages
|