Unix Technical Forum

OLEDB w Oracle 10g Express Edition?

This is a discussion on OLEDB w Oracle 10g Express Edition? within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi, I'm a newbie when it comes to Oracle, but I was asked to check if an application could ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 10:29 AM
Ove
 
Posts: n/a
Default OLEDB w Oracle 10g Express Edition?

Hi,

I'm a newbie when it comes to Oracle, but I was asked to check if an
application could run with Oracle, so I installed Oracle 10g Express
Edition.
The application is an older VB6 app.

I installed Oracle 10g Express Edition and Oracle Client 10g Express Edition
on the same XP machine as my application
and checked that the database engine is running.

I fail to point out the database with the PromptNew dialog in
MSDASC.DataLinks. VB code:
Dim dataLink As New MSDASC.DataLinks
sDBConnection = dataLink.PromptNew 'Prompt for connection string

The only Oracle related providers in the list are
Microsoft OLE DB Provider for Oracle
and
Oracle Provider for OLE DB

The first one requires a Server Name in the next tab. I enter XE as it is
the name of my database, user system and it's password and test the
connection.
It says ORA-12154: TNS could not resolve the connect identifier.

The second one asks for Datasource. I enter XE again (perhaps wrong?)
Again ORA-12154.

I don't want to require that the user sets up a DSN.
Please help me - What is wrong here?

Regards,
Ove


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 10:29 AM
sybrandb@yahoo.com
 
Posts: n/a
Default Re: OLEDB w Oracle 10g Express Edition?

Four things
1 Not reading the error manual
2 Not reading the sqlnet manual
3 Not searching Google, but posting this same boring question again
4 Assuming you don't need a DSN.

In summary: a basic laziness on your behalf to do your own work.

Please search the archives for ora-12154. You will be shocked how many
fellow lazy Oracle developers you have!!

--
Sybrand Bakker
Senior Oracle DBA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 10:31 AM
Ove
 
Posts: n/a
Default Re: OLEDB w Oracle 10g Express Edition?

oh - oracle dba senior dude - that piece of information from your dirty
fingertips didn't help.

THE LAW OF RECIPROCATION
If you help others, it "will" come back to you. Try it and see!
Do something very special for someone in your life. This could be anything
from helping
to teach a lower income child how to play the drums (for free). Or maybe
start a child
sponsorship with an established, reputable charity. There is a great feeling
of self-worth and dignity that comes from these noble gestures and God
mysteriously has a way of
repaying you for each and every one.

<sybrandb@yahoo.com> skrev i meddelandet
news:1147872978.476586.47240@i39g2000cwa.googlegro ups.com...
> Four things
> 1 Not reading the error manual
> 2 Not reading the sqlnet manual
> 3 Not searching Google, but posting this same boring question again
> 4 Assuming you don't need a DSN.
>
> In summary: a basic laziness on your behalf to do your own work.
>
> Please search the archives for ora-12154. You will be shocked how many
> fellow lazy Oracle developers you have!!
>
> --
> Sybrand Bakker
> Senior Oracle DBA
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 10:31 AM
Carlos
 
Posts: n/a
Default Re: OLEDB w Oracle 10g Express Edition?

>>God mysteriously has a way of repaying you for each and every one.

Then, go pray God (whatever) and you'll have the answer to your
ORA-12154 but...

I'd better:

1 Not reading the error manual -> Read the error manual.
2 Not reading the sqlnet manual -> Read the sqlnet manual.
3 Not searching Google, but posting this same boring question again ->
Search Google.

Sybrand doesn't give you fish: he is teaching you how to fish.

Cheers.

Carlos.

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 12:34 AM.


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