Frage

I was following this guide:

http://download.oracle.com/oll/obe/EntityFrameworkOBE/EntityFrameworkOBE.htm

I have visual studio 2012, external oracle database, Oracle Data Access Components (ODAC).

Now I am trying to add my database, and it asks me first to make a connection, but do not have a spot where to enter my external address.

enter image description here

There is dropdown to select Data source name, but it is empty. So basically, where can I enter my external ip to oracle DB, for example : 62.44.121.211

War es hilfreich?

Lösung 2

Change Connection Type to EZ Connect and then you can add database connection info.

Andere Tipps

You are not using the right Data Source. Did you install only ODAC, or also ODT? ODT (Oracle Developer Tools) is the package that adds the plugins to VS, and not ODAC - which is just an ADO implementation, in the case of .net.

After you'll install the right package - the Data source will be "Oracle Database (Oracle ODP.NET)".

When you'll use the right driver the "data source name" field would be the first, and it would be editable.

Any way - for your driver (which I recommend you to update to Oracle's one!) try to check the advance tab (not sure if you could edit it from there).


Another thing - in older versions of ODP - you had to add the database you wanted to connect to the TNSNAMES.ORA file - of the client that the ODP is being hosted in,

Please try adding a record to the TNSNAMES.ORA of the ODP.NET Oracle Home with the database you want to connect to.

this is how a record should look in the TNSNAMES: https://dba.stackexchange.com/questions/28326/how-do-i-generate-a-tnsnames-ora-file-to-connect-to-an-oracle-database

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top