Oracle.DataAccess.dll for .NET 4.0 in 32 bit Oracle Client install? -


below 2 paths , files present in installation of oracle client 32 bit (win32_11gr2_client.zip) .net 2.x , 4.x. when installed oracle client, chose not take default in 2 of windows during install wizard. chose install "runtime" , changed install path c:\apps{user}\ c:\oracle because our oracle dba @ organization gave me instructions.

c:\oracle\product\11.2.0\client_1\odp.net\bin\2.x\ c:\oracle\product\11.2.0\client_1\odp.net\bin\2.x\oracle.dataaccess.dll c:\oracle\product\11.2.0\client_1\odp.net\bin\2.x\oraprovcfg.exe

c:\oracle\product\11.2.0\client_1\odp.net\bin\4\ c:\oracle\product\11.2.0\client_1\odp.net\bin\4\oraprovcfg.exe

i'm interested in referencing oracle.dataaccess.dll assembly in .net 4.x application. found these instructions add dll file gac 64 bit installation.

http://devblog.rayonnant.net/2011/04/oracle-11g-r2-x64-client-with-odac.html

four questions.

1.) if run command (which modified path have), 32 bit installation, happen?

cd c:\oracle\product\11.2.0\client_1\odp.net\bin\4  oraprovcfg.exe /action:gac /providerpath:c:\oracle\product\11.2.0\client_1\odp.net\bin\4\oracle.dataaccess.dll 

2.) how can list of contents in gac before run #1?

3.) correct command undo #1?

cd c:\oracle\product\11.2.0\client_1\odp.net\bin\4  oraprovcfg.exe /action:ungac /providerpath:c:\oracle\product\11.2.0\client_1\odp.net\bin\4\oracle.dataaccess.dll 

4.) rather adding gac, how can generate dll file instead? correct "action" argument that? reason i'd because not able see dll in "4" folder. saw dll in "2.x" folder.

here contents of file if interested.

c:\oracle\product\11.2.0\client_1\odp.net\bin\4>oraprovcfg.exe

oracle providers .net configuration utility .net framework 4 : release 4 .112.3.0 production on thu jul 23 12:09:37 2015 copyright (c) 2010, oracle and/or affiliates. rights reserved.

usage: oraprovcfg /action: [/force] [/product:] [/component:] [/productversion:] [/frameworkversion:<.net framework version>] [/providerpath:] [/verbose:] [/log:]

example: installing assembly in gac: oraprovcfg /action:gac /providerpath:

example: uninstalling assembly gac: oraprovcfg /action:ungac /providerpath:

assembly name can specified "oracle.dataaccess, version=2.111.5.10" uninstall specific version of assembly. 

example: configuring machine.config odp.net: oraprovcfg /action:config /product:odp /frameworkversion:v2.0.50727 /providerpath:

oraprovcfg  /action:config  /force /product:odp             /frameworkversion:v2.0.50727             /providerpath:<oracle.dataaccess.dll full path> 

example: unconfiguring machine.config odp.net: oraprovcfg /action:unconfig /product:odp /frameworkversion:v2.0.50727

example: registering odp.net performance counters: oraprovcfg /action:register /product:odp /component:perfcounter /providerpath:

example: unregistering odp.net performance counters: oraprovcfg /action:unregister /product:odp /component:perfcounter /providerpath:

example: configuring odp.net oraclepermission web applications: oraprovcfg /action:config /product:odp /component:oraclepermission /frameworkversion:v2.0.50727 /providerpath:

oraprovcfg  /action:config  /product:odp /component:oraclepermission             /frameworkversion:v2.0.50727             /productversion:<oracle.dataaccess.dll product version> 

example: unconfiguring odp.net oraclepermission web applications: oraprovcfg /action:unconfig /product:odp /component:oraclepermission /frameworkversion:v2.0.50727 /providerpath:

oraprovcfg  /action:unconfig  /product:odp  /component:oraclepermission             /frameworkversion:v2.0.50727             /productversion:<oracle.dataaccess.dll product version> 

example: configuring machine.config asp.net: oraprovcfg /action:config /product:aspnet /component: /frameworkversion:v2.0.50727 /providerpath:

oraprovcfg  /action:config  /force /product:aspnet             /component:<provider name>             /frameworkversion:v2.0.50727             /providerpath:<oracle.web.dll full path>  <provider name> valid values: all, membership, profile, rolemanager, personalization, webevent, sitemap or combination thereof ("membership | profile", example). default value all. 

example: unconfiguring machine.config asp.net: oraprovcfg /action:unconfig /product:aspnet /component: /frameworkversion:v2.0.50727

<provider name> valid values: all, membership, profile, rolemanager, personalization, webevent, sitemap or combination thereof ("membership | profile", example). default value all. 

c:\oracle\product\11.2.0\client_1\odp.net\bin\4>

that "gac" action depends on file existing in file (providerpath input file command). didn't run.

i had download odp.net package separately oracle site.

odac112040xcopy_32bit.zip (53mb)

and referenced dll here, since wasn't included in oracle client 32 bit install (win32_11gr2_client.zip).

c:\users\{user}\downloads\odac112040xcopy_32bit\odp.net4\odp.net\bin\4\ 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -