OLEDB and Oracle 10g Express?



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 a 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



.



Relevant Pages

  • Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O
    ... Unicode into a UTF8 database, when you insert Unicode data it inserts ... True Unicode providers like odp.net and the oracle managed ... provider will instead return the "garbage". ... >> It is really strange that both ODP.NET and the Oracle Client managed ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Data Provider for Oracle: MS version vs. Oracle?
    ... Microsoft provider will work also for Oracle (even if the native ... Again this DAL works for SQLServer, Oracle, PostgreSQL, all DB2 (AS ... 400 and Universal), and other database are in preparation, I’m ... but that doesn't mean my int customerID ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Oracle Data Provider for .NET (ODP.NET)
    ... A 12154 is most often caused by a configuration error, ... > Provider for .NET 9.2.0.4.0 to access the database? ... > well known error when attempting to connect to the Oracle 8i database. ...
    (microsoft.public.dotnet.framework.adonet)
  • Accessing Blob Data Using ADO recordset
    ... For oracle we are using MSDAORA provider. ... if the application is using the same database. ...
    (microsoft.public.data.ado)
  • Accessing Blob Data Using ADO recordset
    ... For oracle we are using MSDAORA provider. ... if the application is using the same database. ...
    (microsoft.public.data.ado)