
************************************* 
Basic Oracle Instant Client installed 
************************************* 

****************************************** 
Installing Oracle Data Provider for .NET 4 
****************************************** 
******************************************* 
Configuring Oracle Data Provider for .NET 4 
******************************************* 
INFO: d:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\publisherpolicy\4\policy.4.112.oracle.dataaccess.dll is registered successfully in GAC.
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!

INFO: The following section has been added.
<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />


INFO: The following element added under DbProviderFactories.
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />

Error: 文件“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\machine.config”正由另一进程使用，因此该进程无法访问此文件。

Oracle Providers for .NET Configuration Utility for .NET Framework 4 : Release 4.112.4.0 Production on 周一 6月 24 07:26:26 2024
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Usage:

OraProvCfg  /action:<action>
            [/force]
            [/product:<product>]
            [/component:<component name>]
            [/productversion:<prod ver>]
            [/frameworkversion:<.NET version>]
            [/providerpath:<provider path>]
            [/verbose:<verbose>]
            [/log:<log file path>]

            <action>          = gac | ungac | register | unregister |
                                config | unconfig

            <product>         = odp | odpm | aspnet

            <component name>  = oraclepermission | perfcounter
                                (for odp or odpm only)

                              = all (default) | membership | profile | sitemap
                                | rolemanager | personalization | webevent |
                                a combination (i.e. "membership | profile")
                                (for aspnet only)

            <product version> = 4 digit assembly version number of the product
                                (i.e. 4.112.2.0)

            <.NET version>    = .NET Framework version
                                (i.e. v2.0.50727 or v4.0.30319)

            <provider path>   = full path location of the .NET assembly, 
                                including the the assembly file name
                                (i.e. c:\OH\odp.net\bin\4\Oracle.DataAccess.dll)

            <verbose>         = true (default) | false

            <log file name>   = full path of the log file to log output

            NOTE: /force option is applicable only when configuring the 
                  machine.config for odp, odpm or aspnet.

                  /force option disabled by default, which only updates
                  the machine.config if the version being configured is
                  newer than the version specified in the machine.config.

                  If /force option is used, machine.config is always
                  updated with the version of odp, odpm or aspnet
                  that is specified in the /providerpath option.

1. GAC

Example: Installing an assembly into the GAC:

    OraProvCfg /action:gac /providerpath:<provider path>

Example: Uninstalling an assembly from the GAC:

    OraProvCfg /action:ungac /providerpath:<assembly name>

    NOTE: For /action:ungac, provider path can be set to the assembly
          name and version as in "Oracle.DataAccess, Version=4.112.2.0" 
          to uninstall a specific version of an assembly.

2. Machine.config

Example: Configuring ODP.NET with .NET Framewework 4.0 machine.config

    OraProvCfg /action:config /force /product:odp
               /frameworkversion:v4.0.30319
               /providerpath:<provider path>

Example: Unconfiguring ODP.NET from .NET Framework 4.0 machine.config

    OraProvCfg /action:unconfig /product:odp /frameworkversion:4.0.30319

Example: Configuring machine.config for ASP.NET providers:

    OraProvCfg /action:config /force /product:aspnet
               /component:<component name>
               /frameworkversion:v4.0.30319
               /providerpath:<provider path>

Example: Unconfiguring ASP.NET providers from machine.config

    OraProvCfg /action:unconfig /product:aspnet /component:<component name>
               /frameworkversion:v4.0.30319

3. OraclePermission

Example: Configuring ODP.NET OraclePermission for Web Applications:

    OraProvCfg /action:config /product:odp /component:oraclepermission
               /frameworkversion:v4.0.30319
               /providerpath:<Oracle.Web.dll full path>

    NOTE : This operation is applicable for odp and odpm only.

    NOTE : /productversion:<product version> can also be used in place
           of /providerpath:<providerpath>.

    NOTE : To unconfigure, use /action:unconfig.

4. Performance Counters

Example: Registering ODP.NET Performance Counters:

    OraProvCfg /action:register /product:odp /component:perfcounter
               /providerpath:<provider path>

    NOTE : This operation is applicable for odp and odpm only.

    NOTE : To unregister, use /action:unregister.

INFO: Counters registered successfully in the system.
INFO: d:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\resources\zh-chs\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: d:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\resources\zh-cht\oracle.dataaccess.resources.dll is registered successfully in GAC.
Create a registry entry to add managed assembly in the Add Reference Dialog box in VS.NET 
操作成功完成。

****************************************** 
Oracle Data Provider for .NET 4 configured 
****************************************** 

*********************************** 
Configuring Oracle Services for MTS 
*********************************** 
[SC] CreateService 成功

********************************** 
Oracle Services for MTS configured 
********************************** 


************************************* 
Basic Oracle Instant Client installed 
************************************* 

****************************************** 
Installing Oracle Data Provider for .NET 4 
****************************************** 
******************************************* 
Configuring Oracle Data Provider for .NET 4 
******************************************* 
INFO: c:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\oracle.dataaccess.dll is registered successfully in GAC.
INFO: c:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\publisherpolicy\4\policy.4.112.oracle.dataaccess.dll is registered successfully in GAC.

INFO: The following section has been added.
<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />


INFO: The following element added under DbProviderFactories.
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />

INFO: Counters registered successfully in the system.
INFO: c:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\resources\zh-chs\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: c:\program files (x86)\kingdee\k3cloud\odp_net\odp.net\bin\4\resources\zh-cht\oracle.dataaccess.resources.dll is registered successfully in GAC.
Create a registry entry to add managed assembly in the Add Reference Dialog box in VS.NET 
操作成功完成。

****************************************** 
Oracle Data Provider for .NET 4 configured 
****************************************** 

*********************************** 
Configuring Oracle Services for MTS 
*********************************** 
[SC] CreateService 成功

********************************** 
Oracle Services for MTS configured 
********************************** 

