I want to use Oracle XE DB in my ASP.NET MVC project. I installed Oracle 11g XE on the same machine where VS is running. Installation completed successfully in C: \ oraclexe. Everything, as expected, I was able to connect to the database through Server Explorer using the default oracle data access provider. But I want to use ODP.NET, so I installed ODP.NET + ODT in C: \ app. Here is the first confusing thing. The directory structure C: \ oraclexe .. \ server and C: \ app .. \ client_1 is similar. Both have the NETWORK \ ADMIN folder, where Tnsnames.ora is located. I understand that the client is used to connect to the database, but:
- What Tnsname.ora will be used to connect to the database?
- Oraclexe also contains the odp.net folder where Oracle.DataAccess.dll is located. If the server is installed with odp.net, why do I need to install ODAC? Server Explorer in VS offered me ODP.NET drivers to connect only after installing ODAC.
- ODAC ships with Oracle Instant Client. When to use Oracle Client and Oracle Instant Client? If I decide for Oracle Client, and then I install ODAC for the connection, will it also install Instant Client, which is part of ODAC?
- Finally, after installing the server and client, VS 2010 still does not offer me Oracle Providers in the ASP.NET configuration.
source share