How to Deploy a .Net Application That Uses Odac Without Installing the Whole Component to the User

How can I deploy a .NET application that uses ODAC without installing the whole component to the user?

I'm not sure whether your concern is about having to install the Oracle client in addition to the ~50 MB ODAC install or just the standalone ODAC.

If the concern is about having to install the Oracle client and the ODAC, you can use the Oracle Instant Client? That's the smallest footprint method for installing the Oracle client. You'll also need the ODAC xcopy supplement.

If your concern is just the ODAC install, I don't think there is a smaller footprint available.

How to deploy Entity Framework with Oracle ODAC 12 on WS2012 just copying DLLs

I'm not sure about the installation options for ODAC in a server environment. I know you need the Transaction module only if you're using TransactionScope in your code.

The problem you're seeing from not being able to find the provider is because Oracle changed the provider name from Oracle.DataAccess.Client to Oracle.ManagedDataAccess.Client with the 12c bits.

You need to change this in both the connection strings and in the SSDL section of the EDMX file: you will go from

<edmx:StorageModels>
<Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.DataAccess.Client" (...)

to

<edmx:StorageModels>
<Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.ManagedDataAccess.Client" (...)

Deploy ROR application to a machine without internet access

You can do bundle package to package the gems (in a machine with internet) and copy over.

You can then install local gems using bundler:

bundle install --local

Not that you could get bundle gem itself by doing:

gem install --local bundle.gem

where bundle.gem is obtained using gem fetch bundler.



Related Topics



Leave a reply



Submit