Unix Technical Forum

Invalid attribute in connection string. Nuby needs HELP!

This is a discussion on Invalid attribute in connection string. Nuby needs HELP! within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hello all, I am trying to test an ODBC connection to an Oracle dbf using the ODBC Data Source ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 10:00 PM
GitarJake
 
Posts: n/a
Default Invalid attribute in connection string. Nuby needs HELP!

Hello all,

I am trying to test an ODBC connection to an Oracle dbf using the ODBC Data
Source Administrator. It's not working and I suspect I haven't configured
Oracle correctly. Below is the error message I am getting:

[DataDirect][ODBC Oracle Driver]Invalid attribute in connection string:
Description.[DataDirect][ODBC Oracle Driver][Oracle]ORA-12514: TNS:listener
could not resolve SERVICE_NAME given in connect descriptor

I am very new to Oracle and I don't know where to go to fix this. Any
help?

Thanks,

Jake


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 10:00 PM
Chris Leonard
 
Posts: n/a
Default Re: Invalid attribute in connection string. Nuby needs HELP!

You need to start by telling us what your connection string is! It would
also help to see the output of "lsnrctl status" on the Oracle server.

--
Cheers,
Chris

___________________________________

Chris Leonard, The Database Guy
http://www.databaseguy.com

Brainbench MVP for Oracle Admin
http://www.brainbench.com

MCSE, MCDBA, OCP, CIW
___________________________________

"GitarJake" <gitarjake@spammersuntied.com> wrote in message
news:HYsOc.2599$FW1.2307@lakeread06...
> Hello all,
>
> I am trying to test an ODBC connection to an Oracle dbf using the ODBC

Data
> Source Administrator. It's not working and I suspect I haven't

configured
> Oracle correctly. Below is the error message I am getting:
>
> [DataDirect][ODBC Oracle Driver]Invalid attribute in connection string:
> Description.[DataDirect][ODBC Oracle Driver][Oracle]ORA-12514:

TNS:listener
> could not resolve SERVICE_NAME given in connect descriptor
>
> I am very new to Oracle and I don't know where to go to fix this. Any
> help?
>
> Thanks,
>
> Jake
>
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 10:00 PM
GitarJake
 
Posts: n/a
Default Re: Invalid attribute in connection string. Nuby needs HELP!

Hi Chris,

CONNECTIONSTRING = "Driver={Microsoft ODBC for
Oracle};Server=db.world;Uid=sa;Pwd=;"

I can't find "lsnrctl status" on my server. This is 9i, does that count?

Thanks for your time,

Jake


"Chris Leonard" <s_p_a_m_chris@hotmail.com> wrote in message
news:zIvOc.189$Qc.3715@news.uswest.net...
> You need to start by telling us what your connection string is! It would
> also help to see the output of "lsnrctl status" on the Oracle server.
>
> --
> Cheers,
> Chris
>
> ___________________________________
>
> Chris Leonard, The Database Guy
> http://www.databaseguy.com
>
> Brainbench MVP for Oracle Admin
> http://www.brainbench.com
>
> MCSE, MCDBA, OCP, CIW
> ___________________________________
>
> "GitarJake" <gitarjake@spammersuntied.com> wrote in message
> news:HYsOc.2599$FW1.2307@lakeread06...
> > Hello all,
> >
> > I am trying to test an ODBC connection to an Oracle dbf using the ODBC

> Data
> > Source Administrator. It's not working and I suspect I haven't

> configured
> > Oracle correctly. Below is the error message I am getting:
> >
> > [DataDirect][ODBC Oracle Driver]Invalid attribute in connection string:
> > Description.[DataDirect][ODBC Oracle Driver][Oracle]ORA-12514:

> TNS:listener
> > could not resolve SERVICE_NAME given in connect descriptor
> >
> > I am very new to Oracle and I don't know where to go to fix this. Any
> > help?
> >
> > Thanks,
> >
> > Jake
> >
> >
> >

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 10:02 PM
Teresa Redmond
 
Posts: n/a
Default Re: Invalid attribute in connection string. Nuby needs HELP!

"GitarJake" <gitarjake@spammersuntied.com> wrote in
news:xCwOc.2697$FW1.45@lakeread06:

> Hi Chris,
>
> CONNECTIONSTRING = "Driver={Microsoft ODBC for
> Oracle};Server=db.world;Uid=sa;Pwd=;"


What you have to do here is open TNSNAMES.ORA, which is located in your
OracleHome directory (C:\ORA_MGMT\network\admin\TNSNAMES.ORA for instance),
and see what the Service_Name is for db.world. Like this:

db.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
)
(CONNECT_DATA =
(SID = SomeName)
(SERVER = DEDICATED)
)
)

In the above case, SomeName is the Service_Name for db.world (called SID
above). So your string would have Server=SomeName; instead of what you
have above.

> I can't find "lsnrctl status" on my server. This is 9i, does that
> count?
>


That's a command line operation to find out the status of the listener.
I'm afraid I'm too much of a newbie to say more than that without looking
it up, myself... I'm trying to look it up now but OTN just isn't
responding.

--
Teresa Redmond
Programmer Analyst III
Anteon Corporation
delete X to email
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com