dbTalk Databases Forums  

Oracle Designer: Connect string

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Oracle Designer: Connect string in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Robbert van der Hoorn
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-14-2006 , 06:06 PM







"Jens Lenge" <spampot (AT) gmx (DOT) net> wrote

Quote:
Hello world,

when I try to make Oracle Designer connect to a database, it will ask
for username, password, and some strange "connect string".

While I do know the host IP, port number, and SID of the database, I
have no idea what the "connect string" must look like.

Who can help?

Jens

Find your TNSNAMES.ORA filie in [oracle_designer_home]\network\admin
Somewhere there should be an entry like
ABC = ....... pointing to your designer database.
Just use this entry ABC (whatever is there..) as connect string.
This should work.

TIA

Robbert





Reply With Quote
  #12  
Old   
Jens Lenge
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-17-2006 , 05:18 PM






"Frank van Bortel" <frank.van.bortel (AT) gmail (DOT) com> wrote:

Quote:
Did you try hostort:sid?
Yes, that was actually my first guess.
But it did not work with Designer.

I then checked the availability of the DB with Oracle SQL Developer, which
could successfully connect to the DB using the same host, port, and IP.

Therefore I believed that I was just using the wrong syntax for the "connect
string".

From the replies I got until now, I now believe that Designer just CANNOT
connect using a single connect string that contains host, port, and IP.
Instead, I need to edit the "tnsnames.ora" file before. Did I understand
that right?

Jens



Reply With Quote
  #13  
Old   
Jens Lenge
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-17-2006 , 05:24 PM



<akkha1234 (AT) gmail (DOT) com> wrote:

Quote:
How do you connect to the
database via your other tools?
With Oracle SQL Developer, I just enter the host IP, port number, and SID
(and username/password, of course). It can then connect successfully.

But I guess SQL Developer does not refer to tnsnames.ora, while Designer
probably does.

Quote:
Then stick the ABC or the database field as the connect string. Then
you are good.
If you get an error, this means your tnsnames.ora is not correct. This
would be a different issue.
I suspect you are right and my tnsnames.ora is not properly configured. I
was only using Oracle SQL Developer before I installed Designer (as part of
the suite). I will check this next week when I'm back at work again.

Jens



Reply With Quote
  #14  
Old   
Jens Lenge
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-17-2006 , 05:25 PM



"Robbert van der Hoorn" <removetheXinR.Xvanderhoorn (AT) osait (DOT) nl> wrote:

Quote:
Find your TNSNAMES.ORA filie in [oracle_designer_home]\network\admin
Somewhere there should be an entry like
ABC = ....... pointing to your designer database.
Just use this entry ABC (whatever is there..) as connect string.
This should work.
Thanks for the hint, I will try. It may well be that the tnsnames.ora itself
it not properly configured; I'll need to check.

Jens



Reply With Quote
  #15  
Old   
Jens Lenge
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-17-2006 , 06:11 PM



"Maxim Demenko" <mdemenko (AT) arcor (DOT) de> wrote:

Quote:
IMHO, you could safely ignore Sybrand's remark about German people.
Sorry if I over-reacted. I just don't like ignorance, and I even like it
worse when combined with racism.

Quote:
It would be wise, however, if you not ignore his remarks about searching
( and , much more important, reading) the docs.
You're definitely right. (I am a newbie to Oracle, but I'm not new to
usenet. I know that before posting a question, one should first see the docs
then search Google or something.)
In this case, I have first looked into the manual that came with Designer,
where they explain the username and password fields, but only refer to the
connect string field saying "enter the connect string here". I then used
Google for the Oracle Designer connect string, but only found some articles
about how to avoid having to enter a connect string, but no explanation of
the string itself. Then I posted my question here.

Quote:
You should not be surprised however, that people here will feel annoyed,
if you try to compel somebody to do *your* job for free. (And reading
documentation is definitely *everybody*'s own job).
Again you're perfectly right. However, if one single person starts offending
others without any helpful contents and still ignores the facts after they
have been named, he should not be surprised be get an appropriate answer.
That's usenet. ;o)

I had replied to Sybrand's first post that I DID look into the manual
before, but he just insisted to place some unsubstancial offenses.

Quote:
If i start at the high level entry for documentation -
http://tahiti.oracle.com/
Thank you very much for this link! I admit I did not know it and therefore
did not search it before. I referred to the helpfiles and manual that came
with Designer.

Quote:
If you still don't understand some things, you can always post here the
quote from manuals ( trying to be as precise as possible ), most likely
you'll get polite and comprehensive explanations.
Once again you're right. Just as I got a couple of truly helpful replies to
this thread, like yours.

BTW: IMO even saying "RTFM" is perfectly okay and still helpful when put
together with some explaning words and an appropriate link or something.

I hope I could clarify a bit.
Thanks again for your explanations and the tahiti link!

Jens




Reply With Quote
  #16  
Old   
Robbert van der Hoorn
 
Posts: n/a

Default Re: Oracle Designer: Connect string - 07-18-2006 , 03:55 AM




"Jens Lenge" <Spampot (AT) gmx (DOT) net> wrote

Quote:
akkha1234 (AT) gmail (DOT) com> wrote:

How do you connect to the
database via your other tools?

With Oracle SQL Developer, I just enter the host IP, port number, and SID
(and username/password, of course). It can then connect successfully.

But I guess SQL Developer does not refer to tnsnames.ora, while Designer
probably does.

Then stick the ABC or the database field as the connect string. Then
you are good.
If you get an error, this means your tnsnames.ora is not correct. This
would be a different issue.

I suspect you are right and my tnsnames.ora is not properly configured. I
was only using Oracle SQL Developer before I installed Designer (as part
of
the suite). I will check this next week when I'm back at work again.

Jens

If you're using more than one Oracle product, they may be installed in
different Oracle home directories.
You have two ways of solving tnsnames problems:

1) Find a working product, and copy the tnsnames.ora from its home directory
to the other home,or
2) set an (system) environment variable TNS_ADMIN pointing to the directory
of the working product, hence all other products will use this directory
too; usally it's something like c:\[oracle_home_name]\network\admin


Robbert




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.